interactive-api-playground
Cloudflare Workers MCP server: interactive-api-playground
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"interactive-api-playground": {
"url": "https://api.lazy-mac.com/interactive-api-playground/mcp"
}
}
}Puntos de conexión remotos
https://api.lazy-mac.com/interactive-api-playground/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (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).
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Tool name, e.g. schema-parser, api-executor, code-generator"
}
},
"required": [
"id"
]
}Comunidad
Evidencia