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.jsonConfiguration 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
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.jsonEnvironment Variables
CLOUDFLARE_API_TOKENReplace your_cloudflare_api_token with your actual cloudflare api token
Endpoints
GET
/zonesList zones
GET
/zones/{zone_id}/dns_recordsList DNS records
POST
/zones/{zone_id}/dns_recordsCreate DNS record