api-mock-server

Cloudflare Workers MCP server: api-mock-server

Should I use this

Quality & Safety

B
Description quality
56%
Schema completeness
88%
Naming quality
100%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Findings (5)

  • LOWTool 'list_mocks' description lacks action verbin list_mocks
  • LOWTool 'get_mock_endpoint' description lacks action verbin get_mock_endpoint
  • LOWTool 'delete_mock' description lacks action verbin delete_mock
  • LOWTool 'update_mock_response' description lacks action verbin update_mock_response
  • LOWTool 'get_mock_logs' description lacks action verbin get_mock_logs

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~614Tokens (tool definitions)
~588 BTypical response size
Minimal attention impact (0.48% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "api-mock-server": {
      "url": "https://api.lazy-mac.com/api-mock-server/mcp"
    }
  }
}

Remote endpoints

https://api.lazy-mac.com/api-mock-server/mcpstreamable-http

What it can do

Tool inventory

Tools (6)

🟒 Read-only🟑 WriteπŸ”΄ Deleteβšͺ Unknown
🟑create_mock(name, spec, description)

OpenAPI/Swagger μŠ€νŽ™(JSON)으둜 λͺ©μ—… API μ„œλ²„λ₯Ό μƒμ„±ν•©λ‹ˆλ‹€. μ¦‰μ‹œ μ‚¬μš© κ°€λŠ₯ν•œ μ—”λ“œν¬μΈνŠΈ URL을 λ°˜ν™˜ν•©λ‹ˆλ‹€.

Input Schema

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "λͺ©μ—… μ„œλ²„ 이름"
    },
    "spec": {
      "type": "object",
      "description": "OpenAPI 3.0 λ˜λŠ” Swagger 2.0 μŠ€νŽ™ JSON 객체"
    },
    "description": {
      "type": "string",
      "description": "λͺ©μ—… μ„œλ²„ μ„€λͺ… (선택)"
    }
  },
  "required": [
    "name",
    "spec"
  ]
}
🟒list_mocks

μƒμ„±λœ λͺ¨λ“  λͺ©μ—… μ„œλ²„ λͺ©λ‘μ„ λ°˜ν™˜ν•©λ‹ˆλ‹€.

Input Schema

{
  "type": "object",
  "properties": {}
}
🟒get_mock_endpoint(mock_id)

νŠΉμ • λͺ©μ—… μ„œλ²„μ˜ 상세 정보와 μ—”λ“œν¬μΈνŠΈ λͺ©λ‘μ„ λ°˜ν™˜ν•©λ‹ˆλ‹€.

Input Schema

{
  "type": "object",
  "properties": {
    "mock_id": {
      "type": "string",
      "description": "λͺ©μ—… μ„œλ²„ ID"
    }
  },
  "required": [
    "mock_id"
  ]
}
πŸ”΄delete_mock(mock_id)

λͺ©μ—… μ„œλ²„λ₯Ό μ‚­μ œν•©λ‹ˆλ‹€.

Input Schema

{
  "type": "object",
  "properties": {
    "mock_id": {
      "type": "string",
      "description": "μ‚­μ œν•  λͺ©μ—… μ„œλ²„ ID"
    }
  },
  "required": [
    "mock_id"
  ]
}
🟑update_mock_response(mock_id, method, path, status, response, ...)

νŠΉμ • μ—”λ“œν¬μΈνŠΈμ˜ 응닡을 μˆ˜μ •ν•˜κ±°λ‚˜ μƒˆ μ—”λ“œν¬μΈνŠΈλ₯Ό μΆ”κ°€ν•©λ‹ˆλ‹€.

Input Schema

{
  "type": "object",
  "properties": {
    "mock_id": {
      "type": "string",
      "description": "λͺ©μ—… μ„œλ²„ ID"
    },
    "method": {
      "type": "string",
      "description": "HTTP λ©”μ„œλ“œ",
      "enum": [
        "GET",
        "POST",
        "PUT",
        "PATCH",
        "DELETE"
      ]
    },
    "path": {
      "type": "string",
      "description": "API 경둜 (예: /users/{id})"
    },
    "status": {
      "type": "integer",
      "description": "HTTP μƒνƒœ μ½”λ“œ (κΈ°λ³Έ: 200)",
      "default": 200
    },
    "response": {
      "type": "object",
      "description": "λ°˜ν™˜ν•  응닡 JSON 객체"
    },
    "headers": {
      "type": "object",
      "description": "μΆ”κ°€ 응닡 헀더 (선택)"
    }
  },
  "required": [
    "mock_id",
    "method",
    "path"
  ]
}
🟒get_mock_logs(mock_id, limit)

λͺ©μ—… μ„œλ²„μ— λ“€μ–΄μ˜¨ μš”μ²­ 둜그λ₯Ό μ‘°νšŒν•©λ‹ˆλ‹€.

Input Schema

{
  "type": "object",
  "properties": {
    "mock_id": {
      "type": "string",
      "description": "λͺ©μ—… μ„œλ²„ ID"
    },
    "limit": {
      "type": "integer",
      "description": "μ΅œλŒ€ 둜그 수 (κΈ°λ³Έ: 50, μ΅œλŒ€: 100)",
      "default": 50
    }
  },
  "required": [
    "mock_id"
  ]
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded6 tools
verifiedversion not recorded6 tools