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"
]
}커뮤니티
증거