Cloudflare MCP
Cloudflare's official remote MCP servers, led by a Code Mode API server
BestMCPTools
Cloudflare MCP
bestmcptools.org
Last verified: November 10, 2026
Maintenance status
Activecloudflare/mcp-server-cloudflare README shows no archive notice and acts as the catalog of remote servers; the Cloudflare API MCP server is maintained in cloudflare/mcp. READMEs read November 10, 2026.
How to Install Cloudflare MCP
$Add https://mcp.cloudflare.com/mcp as a remote MCP server in your clientCompatible with: Clients with remote MCP (Streamable HTTP) support.
Setup by client
This is a remote server. If it requires sign-in, your client opens a browser sign-in window (OAuth) the first time it connects. Clients without OAuth support cannot use servers that require it.
Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"cloudflare-mcp": {
"url": "https://mcp.cloudflare.com/mcp"
}
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"cloudflare-mcp": {
"type": "http",
"url": "https://mcp.cloudflare.com/mcp"
}
}
}Claude Code (terminal)
claude mcp add --transport http cloudflare-mcp https://mcp.cloudflare.com/mcpAdd any API keys or environment variables the server's README lists.
About Cloudflare MCP
Cloudflare MCP is Cloudflare's own set of remote MCP servers for working with a Cloudflare account from an AI client. Cloudflare's docs recommend a single server, the Cloudflare API MCP server at https://mcp.cloudflare.com/mcp, which the docs say provides access to the entire Cloudflare API and "is the only MCP server you need to work with Cloudflare". Older per-product servers (Workers Bindings, Observability, Radar and others) are marked deprecated in the repository. The current docs describe connecting to a URL rather than installing a package.
Quick facts (as of November 10, 2026)
| Cloudflare MCP | |
|---|---|
| Maker | Cloudflare |
| Main server | Cloudflare API MCP server, https://mcp.cloudflare.com/mcp |
| Type | Remote servers, Streamable HTTP at /mcp |
| Auth | OAuth (you pick permissions at Cloudflare), or a Cloudflare API token as a bearer token |
| Tools (API server) | 3: docs, search, execute |
| Repositories | cloudflare/mcp-server-cloudflare (server catalog), cloudflare/mcp (Code Mode API server) |
| License | Apache-2.0 (both repositories, per the GitHub pages) |
| Price | The MCP servers have no price stated in the docs we read; see the pricing note below |
Which repository is current
The cloudflare/mcp-server-cloudflare README shows no archive notice on November 10, 2026. It works as a catalog of Cloudflare's remote servers and says the Cloudflare API MCP server is maintained in a separate repository, cloudflare/mcp. If you want the code behind the recommended server, that is the second repository.
Servers documented
The Cloudflare developer docs list these servers, all on Streamable HTTP at /mcp:
| Server | URL | What the docs say it does |
|---|---|---|
| Cloudflare API | https://mcp.cloudflare.com/mcp | Access to the Cloudflare API and developer docs |
| Documentation | https://docs.mcp.cloudflare.com/mcp | Up to date reference information on Cloudflare |
| Container | https://containers.mcp.cloudflare.com/mcp | Spin up a sandbox development environment |
| Browser Run | https://browser.mcp.cloudflare.com/mcp | Fetch web pages, convert them to markdown, take screenshots |
| Digital Experience Monitoring | https://dex.mcp.cloudflare.com/mcp | Quick insight on critical applications |
| Cloudflare One CASB | https://casb.mcp.cloudflare.com/mcp | Identify security misconfigurations in SaaS applications |
| Agents SDK Documentation | https://agents.cloudflare.com/mcp | Token-efficient search of the Agents SDK docs |
The repository README also lists a Cloudflare Blog server and a Demo Day example server. It lists these as deprecated, asking users to move to the API server: AI Gateway, Audit Logs, AutoRAG, DNS Analytics, GraphQL, Logpush, Observability, Radar, Workers Bindings and Workers Builds.
Tools
The cloudflare/mcp README describes a Code Mode design with three tools:
docs: search Cloudflare developer documentation.search: run JavaScript that queriesspec.pathsto find API endpoints.execute: run JavaScript that callscloudflare.request()with the endpoints found.
The idea, per the Cloudflare MCP overview, is that the model writes code against a large API instead of loading one tool definition per endpoint. The README says adding ?codemode=false to the URL registers a separate tool for each of about 2,500 endpoints instead, and warns that this greatly increases token cost. Its comparison table lists about 1,100 tokens for code mode, against 244,047 (minimal schemas) and 1,170,523 (full schemas) for native MCP with 2,594 tools. The pages we read do not list tool names for the other servers (for example Browser Run or CASB), so we do not list them either.
Setup
OAuth (recommended). Add the server URL to a client that supports remote MCP servers. The docs say you will be redirected to Cloudflare to authorize via OAuth and select the permissions to grant. The cloudflare/mcp README shows this config for the API server:
{
"mcpServers": {
"cloudflare-api": {
"type": "http",
"url": "https://mcp.cloudflare.com/mcp"
}
}
}
API token. For CI/CD or automation, send a Cloudflare API token as a bearer token in the Authorization header. The docs say both user tokens and account tokens are supported. The README says account tokens need the Account Resources: Read permission so the server can detect your account ID.
Limitations and things to watch
- Token restrictions. API tokens with Client IP Address Filtering enabled are not currently supported by the API server.
- Permissions are yours to scope. OAuth lets you choose permissions, and tokens carry the permissions you give them. Grant only what the task needs, because the
executetool can call account APIs. - Context limits. The README says servers that chain many tool calls, such as the observability server, can hit Claude's context limit. It advises specific queries and smaller multi-tool requests.
- Deprecations. Several older servers are deprecated, so older guides that mention them may be out of date.
- Legacy SSE. The README says a legacy SSE
GET /sserequest returns410 Gone; use the/mcpURL. - Paid features. The README says: "Some features may require a paid Cloudflare Workers plan."
Pricing
None of the three pages we read for this (the cloudflare/mcp README, the cloudflare/mcp-server-cloudflare README and the Cloudflare servers docs page) states a price for the MCP servers themselves. The only pricing-related statement is that some features may require a paid Workers plan. Costs for the underlying Cloudflare products you act on are set by Cloudflare's own product pricing, which this page does not cover. Status is as of November 2026.
Pros and cons
Pros
- First-party servers from Cloudflare with a documented OAuth flow.
- One recommended server instead of many, with a Code Mode design that keeps tool definitions small.
- Apache-2.0 repositories.
- Token option for automation.
Cons
- Broad API access means permission scoping matters.
- Some older servers are deprecated and some guides are stale.
- The documented client config covers a plain URL, not every client.
Who it is for
A good fit if:
- You manage Workers, DNS, security or other Cloudflare resources and want an assistant to query or change them.
- You deploy apps and also use Vercel MCP or GitHub MCP alongside.
Not the right tool if:
- You want a local, offline server. These are remote servers.
- You want no code execution at all. The README describes
?codemode=falseas an alternative that registers per-endpoint tools, at a much higher token cost.
What we could not verify
- mcp-remote. None of the official pages we read show an
mcp-remotecommand or config, so we do not give one. Check your client's docs if it cannot connect to remote servers directly. - Tool names of the other servers. Not listed in the pages we read.
- Exact OAuth scope list and any rate limits.
- Behavior in practice. This page compares documentation only.
How this page was put together
We read the cloudflare/mcp-server-cloudflare and cloudflare/mcp READMEs and the Cloudflare developer docs pages for MCP and Cloudflare's MCP servers on November 10, 2026, and compared the documented servers, auth and limits.
Sources
Pricing
Open Source: from No MCP server price stated in docs (as of November 2026); some features may require a paid Workers plan
Our Take on Cloudflare MCP
A first-party set of remote servers; the single API server covers the Cloudflare API through code execution, so scope your OAuth permissions or token carefully.
Alternatives to Cloudflare MCP
Deploy, configure and debug Netlify sites through an AI agent
View Netlify MCP →GitHub's official MCP server: repos, issues, pull requests and Actions, hosted or local
View GitHub MCP →