
Cloudflare MCP Server
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.
- tools
- 2
- transport
- STDIO
- env vars
- 2
- last updated
- Apr 10, 2026
Tools
2 toolsPublic 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 params
Search 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 params
Execute 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_idstringcodestringSponsors
Configuration
CLOUDFLARE_API_TOKENCloudflare API Token with appropriate permissions
CLOUDFLARE_ACCOUNT_IDCloudflare Account ID (required for account-level operations)
Readme
Details
- Repository
- github.com/itunified-io/mcp-cloudflare
- Category
- Cloud & Infrastructure
- Package
@itunified.io/mcp-cloudflare- Transport
- STDIO
- Registry
- MCP registry, active