DEV Community

curatedmcp for CuratedMCP

Posted on Originally published at curatedmcp.com

Cloudflare MCP: Manage Your Edge Infrastructure Through AI

Install guide and config at curatedmcp.com

Cloudflare MCP: Manage Your Edge Infrastructure Through AI

Cloudflare MCP is the official integration that lets Claude, Cursor, and other AI agents control your entire Cloudflare ecosystem via natural language. No manual dashboard clicks. No copy-pasting API calls. Just tell your AI what you need, and it deploys Workers, manages databases, updates DNS records, and monitors analytics in real time.

What It Does

This server bridges AI agents directly to Cloudflare's infrastructure layer. You get full programmatic access to:

  • Cloudflare Workers — deploy, update, and manage serverless functions
  • KV & D1 — read/write configuration data and query SQLite databases
  • R2 Object Storage — upload, list, and manage files at edge scale
  • DNS & Pages — configure zones, records, and static site deployments
  • Analytics & WAF — monitor traffic patterns and security rules

The key unlock: instead of context-switching between your IDE, the Cloudflare dashboard, and API docs, you describe what you want in plain English. "Deploy a new Worker that handles CORS preflight requests" or "Show me my zone's request volume for the last 24 hours"—and it just works.

Authentication uses OAuth, so your credentials stay secure and no API keys are stored locally.

How to Install

npx -y @cloudflare/mcp-server-cloudflare
Enter fullscreen mode Exit fullscreen mode

Add to your Claude Desktop config:

{
  "mcpServers": {
    "cloudflare-mcp": {
      "command": "npx -y @cloudflare/mcp-server-cloudflare"
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

Then restart Claude and authenticate via the OAuth flow when prompted.

Real-World Use Cases

  • Deploy a CORS-handling Worker on demand — "Create a new Worker that proxies requests to my API and adds the correct CORS headers for my domain"
  • Automate configuration storage — "Store this feature flag configuration in KV namespace my-config with a 24-hour TTL"
  • Debug infrastructure at scale — "Show me analytics for the last 7 days, broken down by country, and identify any traffic spikes"

Full install guides for Claude Desktop, Cursor, Windsurf, and more at CuratedMCP.

Top comments (0)