Cloudflare Workers MCP server: interactive-api-playground
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Execute a live HTTP request to an external URL. Returns real status, headers, and response body. Private IPs are blocked.
Full URL (https required)
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Execute a live HTTP request to an external URL. Returns real status, headers, and response body. Private IPs are blocked.
| Argument | Type | Description |
|---|---|---|
| url* | string | Full URL (https required) |
| body | object | |
| method* | string | |
| headers | object | |
| timeout_ms | integer |
{
"type": "object",
"required": [
"method",
"url"
],
"properties": {
"url": {
"type": "string",
"description": "Full URL (https required)"
},
"body": {
"type": "object"
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"HEAD"
],
"type": "string"
},
"headers": {
"type": "object"
},
"timeout_ms": {
"type": "integer",
"default": 8000
}
}
}Generate a ready-to-run code snippet for an HTTP request in javascript, typescript, python, curl, go, ruby, php, or java.
| Argument | Type | Description |
|---|---|---|
| url* | string | |
| body | object | |
| method* | string | |
| headers | object | |
| language | string |
{
"type": "object",
"required": [
"method",
"url"
],
"properties": {
"url": {
"type": "string"
},
"body": {
"type": "object"
},
"method": {
"type": "string"
},
"headers": {
"type": "object"
},
"language": {
"enum": [
"javascript",
"typescript",
"python",
"curl",
"go",
"ruby",
"php",
"java"
],
"type": "string",
"default": "javascript"
}
}
}Get invocation history for a tool within the current Worker instance. Resets on cold start.
| Argument | Type | Description |
|---|---|---|
| id* | string | Tool name, e.g. schema-parser, api-executor, code-generator |
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Tool name, e.g. schema-parser, api-executor, code-generator"
}
}
}Render an interactive HTML API playground for a list of endpoints. Returns self-contained HTML with try-it-out forms.
| Argument | Type | Description |
|---|---|---|
| title | string | Playground title |
| base_url | string | Base URL for requests |
| endpoints* | array | Array of {method, path, summary, parameters?, requestBody?} |
{
"type": "object",
"required": [
"endpoints"
],
"properties": {
"title": {
"type": "string",
"description": "Playground title"
},
"base_url": {
"type": "string",
"description": "Base URL for requests"
},
"endpoints": {
"type": "array",
"description": "Array of {method, path, summary, parameters?, requestBody?}"
}
}
}Parse an OpenAPI 3.x schema object or GraphQL SDL string. Returns a structured list of endpoints (and GraphQL types).
| Argument | Type | Description |
|---|---|---|
| schema | object | OpenAPI 3.x schema object |
| graphql_sdl | string | GraphQL SDL string (alternative to schema) |
{
"type": "object",
"properties": {
"schema": {
"type": "object",
"description": "OpenAPI 3.x schema object"
},
"graphql_sdl": {
"type": "string",
"description": "GraphQL SDL string (alternative to schema)"
}
}
}