Is the Cloudflare MCP server official?
Yes. It is built and hosted by Cloudflare, with source in the `cloudflare/mcp` GitHub repository under the Apache-2.0 license.
@Cloudflare
Basic information
Transport
Streamable HTTP
Authentication
OAuth
Last updated
Category
Cloud & Infrastructure
Author
Cloudflare
Cloudflare is an application, security, and developer platform spanning Workers, storage, networking, DNS, and account APIs. Its official MCP server gives assistants structured Cloudflare context for inspecting resources, planning infrastructure changes, and working across Cloudflare services.
https://mcp.cloudflare.com/mcpclaude mcp add cloudflare --transport http https://mcp.cloudflare.com/mcpTool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
This server requires authentication. Tool discovery may require signing in or credentials from the provider.
Fetch the live tool list directly from this server's endpoint using the button above.
Cloudflare MCP Server (Official) is Cloudflare's hosted cloudflare mcp endpoint at https://mcp.cloudflare.com/mcp, giving AI agents access to the entire Cloudflare API (about 2,500 endpoints) and developer docs through a few Code Mode tools.
Instead of registering one tool per API endpoint, the server keeps the Cloudflare OpenAPI spec on its side and lets the agent write small JavaScript snippets that search the spec and call the API. Per the cloudflare/mcp README, this keeps the tool definitions at roughly 1,100 tokens instead of hundreds of thousands. The project is open source under Apache-2.0, and Cloudflare's docs call it the only Cloudflare MCP server most users need.
Prerequisites: a Cloudflare account and an MCP client that supports remote (Streamable HTTP) servers. Nothing is installed locally.
There are two ways to authenticate:
Authorization header. User tokens and account tokens both work; for account tokens add the Account Resources : Read permission so the server can detect your account ID. Tokens with Client IP Address Filtering are not supported.The generic config from Cloudflare's docs:
{
"mcpServers": {
"cloudflare-api": {
"url": "https://mcp.cloudflare.com/mcp"
}
}
}
claude mcp add --transport http cloudflare https://mcp.cloudflare.com/mcp
Then run /mcp in a session to complete the OAuth sign-in. Cloudflare also publishes a Claude Code plugin that bundles its MCP servers with skills: /plugin marketplace add cloudflare/skills.
Add the JSON config above to your Cursor MCP settings (mcp.json). The Cloudflare Skills plugin is also available from the Cursor Marketplace.
Open the Command Palette, run "MCP: Add Server", choose HTTP and enter https://mcp.cloudflare.com/mcp.
Add https://mcp.cloudflare.com/mcp as a custom connector, or use any client that accepts a remote MCP URL. The Cloudflare AI Playground also accepts server URLs.
?codemode=false registers one tool per API endpoint (for example get_workers_scripts) instead of the Code Mode tools. Use it only if your client already does code mode, since it raises the cost to about 244k tokens.?truncateToolResult=false turns off the default ~6,000-token cap on each tool result. Use it only when your client limits what reaches the model.cloudflare/mcpexecute tool/mcp; old /sse URLs are aliases of the same handlerThe server exposes a small, fixed set of tools:
search runs JavaScript against spec.paths to find the right endpoints, and execute runs JavaScript that calls cloudflare.request() with what was found. With a user token you pass account_id; with an account token it is detected automatically.docs searches Cloudflare's developer documentation.whoami returns the user or account the connection is authenticated as, which helps clients tell multiple connected accounts apart.With ?codemode=false, docs and whoami stay, and each API endpoint becomes its own tool.
Cloudflare runs two kinds of MCP servers. This API server is the recommended one for broad coverage. The domain-specific Cloudflare MCP servers (repo cloudflare/mcp-server-cloudflare) offer curated, typed tools for one product area each, such as Documentation (docs.mcp.cloudflare.com/mcp), Browser Run (browser.mcp.cloudflare.com/mcp) and Containers (containers.mcp.cloudflare.com/mcp). Several older ones, including Observability, Workers Bindings and Radar, are now marked deprecated with a request to move to mcp.cloudflare.com.
If you want to build and host your own MCP server on Workers instead, see Cloudflare's guide Build a remote MCP server; community templates such as this Cloudflare Workers MCP template do the same.
account_id explicitly./sse path is not the old HTTP+SSE transport. Switch the client to Streamable HTTP or automatic transport detection.--- TRUNCATED ---: each result is capped at about 6,000 tokens. Narrow the query, or use ?truncateToolResult=false if your client bounds output.Yes. It is built and hosted by Cloudflare, with source in the `cloudflare/mcp` GitHub repository under the Apache-2.0 license.
`https://mcp.cloudflare.com/mcp`. It uses the Streamable HTTP transport.
No for interactive use: OAuth sends you to Cloudflare to approve access and pick permissions. For automation you can use a Cloudflare API token as a bearer token instead.
Cloudflare does not list a separate price for the MCP server. You only need a Cloudflare account, though some Cloudflare features you manage through it may require a paid plan.
Yes. Any client that supports remote MCP servers can connect. In Claude Code run `claude mcp add --transport http cloudflare https://mcp.cloudflare.com/mcp`.
That is Code Mode. The agent writes code to `search` the API spec and `execute` calls, so the full spec never fills the model's context.
Yes, if you grant it write permissions. You choose permissions during OAuth or when you create the API token, so grant only what the task needs.
Use `mcp.cloudflare.com` for broad API access. Use a domain-specific server, such as Documentation or Browser Run, when you want typed tools for a single product area.
The Cloudflare remote MCP server is a hosted Model Context Protocol endpoint at https://mcp.cloudflare.com/mcp, so AI assistants can connect to it without installing or running anything locally.
Add the endpoint https://mcp.cloudflare.com/mcp to any MCP-compatible client such as Claude Code, Cursor, or VS Code. The setup snippets on this page configure each client in one step.
Yes. Cloudflare uses OAuth: the first time you connect, your MCP client opens a browser window to sign in and authorize access, then reuses the credentials for future sessions.
Cloudflare exposes a Streamable HTTP endpoint, the transport used by remote MCP servers and supported by all major MCP clients.
Write, schedule and publish LinkedIn posts in your own voice, reply to comments and read your analytics, all from your AI assistant. Remote MCP server with OAuth sign-in.
Aard connects Macroeconomic and other official data from 170+ publishers including World Bank, IMF, BIS, ECB, Eurostat, and National Statistical Offices. Aard is powered by a large graph of the metadata universe and an
Checks whether an EVM address has an EIP-7702 delegation (the trick behind wallet sweepers) on Ethereum, Base, BNB Chain, Arbitrum, OP, Polygon, Gnosis and Unichain
APIR is the evidence record for AI agents
AMap's official MCP server: geocoding, POI search, route planning, weather and AMap app hand-off (custom trip maps, navigation, ride-hailing) for AI agents.
Comments