Skip to content
MCP-BridgeMCP-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://mcpbridge.org/config/cloudflare.json

One-Click Install

Copy the snippet for your MCP client and paste it in — zero editing required.

Claude Desktop

Add to claude_desktop_config.json

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

Cursor

Settings → MCP Servers → Add

{
  "mcpServers": {
    "cloudflare": {
      "url": "https://mcpbridge.org/config/cloudflare.json"
    }
  }
}

VS Code

Use with MCP extension

{
  "mcpServers": {
    "cloudflare": {
      "url": "https://mcpbridge.org/config/cloudflare.json"
    }
  }
}

Configuration JSON

Use curl https://mcpbridge.org/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://mcpbridge.org/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