interactive-api-playground
Cloudflare Workers MCP server: interactive-api-playground
使うべきか
品質と安全性
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `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"
]
}コミュニティ
エビデンス