interactive-api-playground

Cloudflare Workers MCP server: interactive-api-playground

我該用這個嗎

品質與安全性

A
說明品質
96%
結構描述完整度
91%
命名品質
84%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~483Token(工具定義)
~736 B典型回應大小
極小的注意力影響(128k 上下文的 0.38%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "interactive-api-playground": {
      "url": "https://api.lazy-mac.com/interactive-api-playground/mcp"
    }
  }
}

遠端端點

https://api.lazy-mac.com/interactive-api-playground/mcpstreamable-http

它能做什麼

工具清單

工具(5)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢schema_parser(schema, graphql_sdl)

Parse an OpenAPI 3.x schema object or GraphQL SDL string. Returns a structured list of endpoints (and GraphQL types).

輸入結構描述

{
  "type": "object",
  "properties": {
    "schema": {
      "type": "object",
      "description": "OpenAPI 3.x schema object"
    },
    "graphql_sdl": {
      "type": "string",
      "description": "GraphQL SDL string (alternative to schema)"
    }
  }
}
🟢playground_renderer(endpoints, title, base_url)

Render an interactive HTML API playground for a list of endpoints. Returns self-contained HTML with try-it-out forms.

輸入結構描述

{
  "type": "object",
  "properties": {
    "endpoints": {
      "type": "array",
      "description": "Array of {method, path, summary, parameters?, requestBody?}"
    },
    "title": {
      "type": "string",
      "description": "Playground title"
    },
    "base_url": {
      "type": "string",
      "description": "Base URL for requests"
    }
  },
  "required": [
    "endpoints"
  ]
}
⚪api_executor(method, url, headers, body, timeout_ms)

Execute a live HTTP request to an external URL. Returns real status, headers, and response body. Private IPs are blocked.

輸入結構描述

{
  "type": "object",
  "properties": {
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "POST",
        "PUT",
        "PATCH",
        "DELETE",
        "HEAD"
      ]
    },
    "url": {
      "type": "string",
      "description": "Full URL (https required)"
    },
    "headers": {
      "type": "object"
    },
    "body": {
      "type": "object"
    },
    "timeout_ms": {
      "type": "integer",
      "default": 8000
    }
  },
  "required": [
    "method",
    "url"
  ]
}
⚪code_generator(method, url, headers, body, language)

Generate a ready-to-run code snippet for an HTTP request in javascript, typescript, python, curl, go, ruby, php, or java.

輸入結構描述

{
  "type": "object",
  "properties": {
    "method": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "headers": {
      "type": "object"
    },
    "body": {
      "type": "object"
    },
    "language": {
      "type": "string",
      "enum": [
        "javascript",
        "typescript",
        "python",
        "curl",
        "go",
        "ruby",
        "php",
        "java"
      ],
      "default": "javascript"
    }
  },
  "required": [
    "method",
    "url"
  ]
}
🟢history_tracker(id)

Get invocation history for a tool within the current Worker instance. Resets on cold start.

輸入結構描述

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Tool name, e.g. schema-parser, api-executor, code-generator"
    }
  },
  "required": [
    "id"
  ]
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本5 個工具
已驗證未記錄版本5 個工具