mcp-cloudflare-api__search
Search the Cloudflare OpenAPI spec. All $refs are pre-resolved inline. Response schemas describe the body as the API sends it, usually Cloudflare's envelope: { success, errors, messages, result }, plus result_info on paginated lists.
Products: cloudforce-one, access, workers, magic, dlp, email-security, realtime, devices, ai-gateway, data-security, email, intel, gateway, settings, stream, brand-protection, builds, ai-search, browser-rendering, security-center, dex, addressing, images, logpush, api_gateway, cws, load_balancers, firewall, rulesets, vectorize... (172 total)
Types:
interface OperationInfo { summary?: string; "x-api-token-group"?: string[]; // API token permissions the endpoint accepts (any one); OAuth scopes have the same names description?: string; tags?: string[]; parameters?: Array<{ name: string; in: string; required?: boolean; schema?: unknown; description?: string }>; requestBody?: { required?: boolean; content?: Record<string, { schema?: unknown }> }; // Each schema d… Through Royally: its server marks it read-only, so it runs straight away.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"code": "<code>"
},
"name": "mcp-cloudflare-api__search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | JavaScript async arrow function to search the OpenAPI spec | |
| site_id | No | Site to run this tool on: bb028350-9e3e-46c0-bea7-cd6c2dedf060 (https://mcp.cloudflare.com/mcp) | |
| truncate | No | Cap the result at ~6,000 tokens. Set to false only when the result goes straight to a file or pipe, not into the conversation: without the cap, a broad query can return megabytes. |