Skip to content
MCP-Bridge
Cloud Infrastructure

Cloudflare API MCP Config

Manage Cloudflare DNS, CDN, Workers, and security settings through your AI agent.

Config URL

Use this URL in any MCP-compatible client to fetch the config automatically.

https://mcp-bridge.pages.dev/config/cloudflare.json

Configuration JSON

Use curl https://mcp-bridge.pages.dev/config/cloudflare.json to fetch programmatically.

{
  "mcpServers": {
    "cloudflare": {
      "command": "npx",
      "args": ["-y","@cloudflare/mcp-server"],
      "env": {
      "CLOUDFLARE_API_TOKEN": "your_cloudflare_api_token"
}
    }
  }
}

How to Use

Claude Desktop

Paste the config JSON into your claude_desktop_config.json.

Full instructions →

Cursor

Go to Cursor Settings → MCP Servers → Add with the JSON above.

CLI / curl

Fetch the config programmatically:

curl https://mcp-bridge.pages.dev/config/cloudflare.json

Environment Variables

CLOUDFLARE_API_TOKEN

Replace your_cloudflare_api_token with your actual cloudflare api token

Endpoints

GET/zones

List zones

GET/zones/{zone_id}/dns_records

List DNS records

POST/zones/{zone_id}/dns_records

Create DNS record