Cloudflare MCP Server
Official Cloudflare MCP server enabling AI agents to manage Cloudflare resources: Workers, KV, R2 storage, D1 databases, DNS, and more — full programmatic control of the Cloudflare edge platform.
Score Breakdown
⚙ Agent Friendliness
🔒 Security
Fine-grained API Tokens are excellent for least-privilege agent access. Legacy API Keys (global access) should never be used with agents. Zero Trust integration available for enterprise.
⚡ Reliability
Best When
An agent needs to manage Cloudflare infrastructure — deploying Workers, accessing edge storage, or managing DNS — as part of a DevOps or site management workflow.
Avoid When
You're not using Cloudflare or need real-time DNS propagation confirmation.
Use Cases
- • Deploying and managing Cloudflare Workers scripts from agents
- • Reading and writing Cloudflare KV (key-value) data stores
- • Managing R2 object storage buckets and objects
- • DNS record management and zone configuration
- • Querying and updating D1 SQLite-compatible databases
Not For
- • Non-Cloudflare infrastructure management
- • High-frequency automated DNS changes (TTL propagation delay)
- • Complex IAM or multi-account enterprise scenarios (limited account scoping)
Interface
Authentication
Cloudflare API Tokens support fine-grained permissions per resource type and zone — excellent scope granularity. Legacy API Keys grant global account access (avoid for agents). Use zone-scoped or account-level tokens with minimal permissions.
Pricing
Very generous free tier. MCP server is open source. Cloudflare products billed separately by usage.
Agent Metadata
Known Gotchas
- ⚠ DNS changes propagate globally but status endpoint doesn't confirm full propagation — add delays in workflows
- ⚠ Workers deployment is not atomic — brief window where old and new code both serve traffic
- ⚠ KV is eventually consistent — reads after writes may return stale data across regions
- ⚠ API Token permissions must be set at creation; cannot be modified later — plan permissions carefully
- ⚠ R2 and D1 are separate products from KV — different namespacing and authentication context
Alternatives
Full Evaluation Report
Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for Cloudflare MCP Server.
Scores are editorial opinions as of 2026-03-06.