Cloudflare
Access the Cloudflare API through a token-efficient MCP server for Workers, KV, R2, D1, DNS, and more.
Add Cloudflare to your agent
OAuth is recommended: connect to the URL and authorize in the browser. For CI/CD, add Authorization: Bearer YOUR_CF_API_TOKEN instead of using OAuth.
1Config location
Global: ~/.cursor/mcp.json or project: .cursor/mcp.json
2Copy this snippet
{
"mcpServers": {
"cloudflare-api": {
"type": "http",
"url": "https://mcp.cloudflare.com/mcp"
}
}
}
Add this block under mcpServers, then restart Cursor.