Cloudflare
CloudflareThird party
The whole Cloudflare API and its docs, from one MCP server.
What it does
Cloudflare’s API MCP server gives one door to the entire Cloudflare API — over 2,500 endpoints across DNS, Workers, R2, Zero Trust and every other product — and to the Cloudflare developer documentation. It uses a search-and-execute pattern, so it costs about 1,000 tokens of context however large the API is.
Connecting sends you to Cloudflare to sign in with OAuth and choose the permissions to grant. For CI or automation you can instead pass a Cloudflare API token as a bearer token. Cloudflare also runs managed servers for single products; its page lists them.
- Search and call any Cloudflare API endpoint
- Search the Cloudflare developer documentation
- See which user or account is connected
The facts
- Address
https://mcp.cloudflare.com/mcp- Kind
- Remote: a server on the internet
- Transport
- Streamable HTTP
- Sign-in
- OAuth sign-in
- Account
- Needs a Cloudflare account — sign up
How to connect
Connect from Claude Code
Run this in a terminal, then start Claude Code, run /mcp and sign in (or run claude mcp login cloudflare).
claude mcp add --transport http cloudflare https://mcp.cloudflare.com/mcpConnect from Claude.ai
Claude.ai connects from Anthropic’s cloud, so it needs a public address. Follow these steps in the app.
- Open Customize > Connectors, click "+ Add", then "Add custom connector".
- Name: cloudflare
- Remote MCP server URL: https://mcp.cloudflare.com/mcp
- Click "Continue".
- Under Authentication choose "Sign in now", then click "Continue".
- Click "Add", then "Connect" if it asks.
- On a Team or Enterprise plan an Owner adds the connector under Organization settings > Connectors, and each member then clicks Connect.
Connect from Cursor
Add this to ~/.cursor/mcp.json for every project, or to .cursor/mcp.json for one. Cursor opens a sign-in the first time the server is used.
{
"mcpServers": {
"cloudflare": {
"url": "https://mcp.cloudflare.com/mcp"
}
}
}Connect from Codex
Add this to ~/.codex/config.toml, or to .codex/config.toml in a trusted project.
[mcp_servers.cloudflare]
url = "https://mcp.cloudflare.com/mcp"
# then sign in: codex mcp login cloudflareCloudflare docsChecked on