
A comprehensive interface to Cloudflare's API v4 with 84 tools spanning DNS records, Cloudflare Tunnels, WAF rulesets, Zero Trust access policies, R2 object storage, Workers KV namespaces, and Worker script deployment. Handles batch DNS operations, custom firewall rules, security event analytics via GraphQL, and Worker invocation metrics. Includes optional HashiCorp Vault integration for credential management through AppRole authentication. Strictly API-only with no shell execution, making it suitable for production automation workflows. Useful when you're managing Cloudflare infrastructure programmatically and want declarative control over zones, security policies, and edge compute resources without clicking through dashboards.
Public tool metadata for what this MCP can expose to an agent.
searchSearch the Cloudflare OpenAPI spec. All $refs are pre-resolved inline. Products: ai, cloudforce-one, access, magic, workers, realtime, devices, dlp, email-security, stream, ai-search, brand-protection, gateway, email, intel, api_gateway, addressing, browser-rendering, dex, bui...1 paramsSearch the Cloudflare OpenAPI spec. All $refs are pre-resolved inline. Products: ai, cloudforce-one, access, magic, workers, realtime, devices, dlp, email-security, stream, ai-search, brand-protection, gateway, email, intel, api_gateway, addressing, browser-rendering, dex, bui...
codestringexecuteExecute JavaScript code against the Cloudflare API. First use the 'search' tool to find the right endpoints, then write code using the cloudflare.request() function. Available in your code: interface CloudflareRequestOptions { method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE...2 paramsExecute JavaScript code against the Cloudflare API. First use the 'search' tool to find the right endpoints, then write code using the cloudflare.request() function. Available in your code: interface CloudflareRequestOptions { method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE...
account_idstringcodestringCLOUDFLARE_API_TOKENCloudflare API Token with appropriate permissions
CLOUDFLARE_ACCOUNT_IDCloudflare Account ID (required for account-level operations)