interactive-api-playground
Cloudflare Workers MCP server: interactive-api-playground
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"interactive-api-playground": {
"url": "https://api.lazy-mac.com/interactive-api-playground/mcp"
}
}
}Remote-Endpunkte
https://api.lazy-mac.com/interactive-api-playground/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (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).
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Tool name, e.g. schema-parser, api-executor, code-generator"
}
},
"required": [
"id"
]
}Community
Nachweis