Purpose: cloudflare-mcp-pro is an MCP server for the Cloudflare REST API v4, bundling common Cloudflare operations into a single local stdio service, authenticated with a single API Token, suited to Claude Code, CI, and scripted automation. Unlike the official 13 remote OAuth servers, it runs locally and its tools are named uniformly as verb_object.
Main capabilities: DNS record create/read/update/delete, DNSSEC, BIND zone file export; Zones list/create/delete, settings (SSL mode, HTTPS, minimum TLS), cache purge, GraphQL analytics; Workers deployment (ES module), routes, secrets, cron triggers; KV/R2/D1 namespaces and key-value CRUD, bucket management, databases and SQL queries; Pages, Queues, Tunnels queries; WAF rulesets, IP/ASN/country access rules, page rules, SSL certificate packs, custom hostnames, Turnstile; Email Routing rules and destination addresses; Logpush jobs; Workers AI model catalog and inference.
Usage: copy .env.example to .env and fill in the Token, granting permissions such as Zone:Read, DNS:Edit, Workers Scripts:Edit, Workers KV Storage:Edit, Workers R2 Storage:Edit, D1:Edit, Pages:Edit, Account Analytics:Read as needed, and verify with verify_token. It can be added to mcpServers in Claude Code's .claude/settings.json, or to the Claude Desktop configuration file. List tools support fetch_all: true for automatic pagination.
Human approval gate: all write operations (create_, update_, delete_, deploy_, put_, edit_, purge_cache, query_d1, run_ai, etc.) require passing confirm: true; otherwise a preview is returned without executing and with sensitive data redactedkeys. Read-only tools are unrestricted. Each tool carries readOnly/destructive/idempotent annotations.
Limitations: you must provide your own Cloudflare API Token and configure permissions; specific installation commands and release status information are not fully provided; the test suite uses a mock network.