Cloudflare MCP Servers
Cloudflare MCP Servers official site ↗Last checked against the official docs:
What it does
Cloudflare's official remote MCP servers. The recommended Cloudflare API MCP server (https://mcp.cloudflare.com/mcp, maintained in the cloudflare/mcp repo) reaches the whole Cloudflare API through a few code-mode tools, and the repo also lists product servers for docs, containers, Browser Run and more. All are hosted by Cloudflare, so there is nothing to install. Apache-2.0.
What the Cloudflare MCP servers are
These are remote MCP servers run by Cloudflare. Your MCP client connects to a URL over Streamable HTTP, so you don't run any code on your machine. Per the cloudflare/mcp-server-cloudflare README, each one answers at a Streamable HTTP URL ending in mcp, and the old SSE URL now returns 410 Gone.
Cloudflare splits them into two kinds: one general API server for broad access, and domain-specific servers for a single product area.
Which Cloudflare MCP server to use
- Cloudflare API MCP server (recommended): https://mcp.cloudflare.com/mcp. It exposes the whole Cloudflare API through code execution (Code Mode): the README says about 2,500 endpoints fit in roughly 1,000 tokens of tool definitions. Its main tools are search and execute, plus docs and whoami.
- Documentation server: https://docs.mcp.cloudflare.com/mcp for up-to-date Cloudflare reference answers.
- Container server: https://containers.mcp.cloudflare.com/mcp for a sandbox development environment.
- Browser Run server: https://browser.mcp.cloudflare.com/mcp to fetch pages, convert them to markdown and take screenshots.
- Also listed in the repo: Digital Experience Monitoring (dex), Cloudflare One CASB (casb), Cloudflare Blog (blog) and a minimal Demo Day server, each at its own *.mcp.cloudflare.com/mcp address.
- Deprecated: the older observability, Workers Bindings, Workers Builds, Radar, GraphQL, DNS Analytics, Logpush, Audit Logs, AI Gateway and AutoRAG servers. Cloudflare's README says to move to the API server, so older tutorials that point at them are out of date.
Build your own remote MCP server on Cloudflare Workers
Cloudflare's Agents docs (Build a Remote MCP server) show how to deploy your own server to Workers. The templates use createMcpHandler from the Agents SDK, so the server is stateless and needs no Durable Object. Without authentication it is public. With authentication, users sign in before their agent can call tools.
After deploying, the server lives at your workers.dev subdomain under /mcp. The docs test it with the MCP Inspector and add it to Claude Code with claude mcp add --transport http.
npm create cloudflare@latest -- remote-mcp-server-authless --template=cloudflare/ai/demos/remote-mcp-authless
cd remote-mcp-server-authless
npx wrangler@latest deployWho it's for
Developers who run sites, Workers or DNS on Cloudflare and want the agent to read or change their setup, look up Cloudflare docs, or publish a remote MCP server of their own. Some features need a paid Workers plan.
How to set it up
Easiest: add the Cloudflare API MCP server to any client that supports remote servers, then sign in with Cloudflare OAuth when prompted. Choose the permissions to grant on the consent screen:
json{ "mcpServers": { "cloudflare-api": { "type": "http", "url": "https://mcp.cloudflare.com/mcp" } } }Claude Code: add it from your terminal, then run /mcp inside a session to finish the OAuth sign-in:
bashclaude mcp add --transport http cloudflare-api https://mcp.cloudflare.com/mcpFor CI or automation, skip OAuth: use the same URL and send a Cloudflare API token as a Bearer token. Create the token in the dashboard with only the permissions you need. Tokens with Client IP Address Filtering aren't supported.
Only need Cloudflare docs? Point your client at https://docs.mcp.cloudflare.com/mcp instead (same JSON, different URL).
Client that only supports local stdio servers? The third-party mcp-remote npm package (not made by Cloudflare) bridges to a remote URL. Check its README for your client, then use a command like npx -y mcp-remote https://mcp.cloudflare.com/mcp.
The agent can change real settings in your account, so review its actions before approving them.
Check the official Cloudflare MCP Servers docs for the latest steps.
Install Cloudflare MCP Servers in your client
Hosted by the maker, so there is nothing to install locally. Needs: None (hosted). Sign-in or keys: Cloudflare OAuth sign-in.
One-click install
These buttons open the app on your computer (it needs to be installed already). The app asks you to confirm before it adds the server: review the command or URL it shows and check it matches the snippet below before you approve.
Claude Code
Run in a terminal
claude mcp add --transport http cloudflare-api https://mcp.cloudflare.com/mcpRun /mcp inside Claude Code to check it connected and to sign in if the server asks.
Cursor
.cursor/mcp.json in a project, or ~/.cursor/mcp.json for all projects
{
"mcpServers": {
"cloudflare-api": {
"url": "https://mcp.cloudflare.com/mcp"
}
}
}VS Code
.vscode/mcp.json (note the top-level "servers" key)
{
"servers": {
"cloudflare-api": {
"type": "http",
"url": "https://mcp.cloudflare.com/mcp"
}
}
}Codex
Run in a terminal, or edit ~/.codex/config.toml
CLI
codex mcp add cloudflare-api --url https://mcp.cloudflare.com/mcpOr in ~/.codex/config.toml
[mcp_servers.cloudflare-api]
url = "https://mcp.cloudflare.com/mcp"If the server uses OAuth, run codex mcp login cloudflare-api to sign in.
- The agent can change real settings in your Cloudflare account, so review its actions before approving them.
- Claude Desktop is not shown: we have not verified a config-file entry for this hosted server. Check the maker's docs for how to add it there.
- Compare every server's runtime and sign-in needs in the MCP server requirements table.
Checked against the official docs. Snippets use placeholders; keep real keys out of files you commit. Windsurf is not listed because we have not verified its format.
Set it up / Fixes
Step-by-step guides for getting Cloudflare MCP Servers running and fixing common errors.
Frequently asked questions
What is the Cloudflare MCP server?
It is a set of official, hosted MCP servers from Cloudflare. They let an MCP client such as Claude Code or Cursor read your Cloudflare configuration, search Cloudflare docs and make changes through natural language. The recommended one is the Cloudflare API MCP server at https://mcp.cloudflare.com/mcp.
What is the Cloudflare MCP server URL?
For the whole Cloudflare API: https://mcp.cloudflare.com/mcp. For docs only: https://docs.mcp.cloudflare.com/mcp. Product servers follow the same pattern, such as https://browser.mcp.cloudflare.com/mcp.
Do I need to install anything?
No. The servers are hosted by Cloudflare. You only add the URL to your MCP client. A client that supports only local servers can use the third-party mcp-remote adapter.
Does it use OAuth or an API token?
Both work on the API server. OAuth is the recommended default: you sign in to Cloudflare and pick permissions. An API token sent as a Bearer token suits CI and automation.
Are the Workers observability and bindings servers still available?
They are listed as deprecated in Cloudflare's README, which says to migrate to the Cloudflare API MCP server.
Can I build my own remote MCP server on Cloudflare?
Yes. Cloudflare's Build a Remote MCP server guide deploys a template to Workers with Wrangler and serves it at /mcp on your workers.dev subdomain. You can run it without authentication or add sign-in.
Does it cost anything?
The README doesn't mention a separate charge for the MCP servers, but it says some features may require a paid Workers plan. Changes your agent makes run against your real account.
Example prompts
List my Cloudflare zones and show the DNS records for my main domain.Using the Cloudflare docs server, explain how to add a KV binding to a Worker.Create a KV namespace called cache in my account and show me its ID.Demo
Made Cloudflare MCP Servers? Add the badge
If you like, show that Cloudflare MCP Servers is listed and hand-checked here. It's optional: listings are free and we never ask for a link back.
Get the Markdown or HTML
Markdown (for a GitHub README)
[](https://www.pluginstackai.com/plugins/cloudflare-mcp/)HTML (for a website)
<a href="https://www.pluginstackai.com/plugins/cloudflare-mcp/"><img src="https://www.pluginstackai.com/badge/hand-checked.svg" alt="Hand-checked on PluginStack" width="226" height="28"></a>Free: MCP Starter Checklist
After you set this tool up, use the one-page checklist so your next MCP server doesn't fail on first connect.
More MCP Servers
- Vercel Labs
agent-browser
A browser automation CLI from Vercel Labs, built for AI agents. The agent drives a real browser one short shell command at a time: snapshot returns the page as compact text with a ref such as @e1 for each element, the agent clicks or fills a ref, then takes a new snapshot to check the result. The browser stays open between commands. It uses Chrome for Testing by default and can also attach to a Chrome you already have running. It ships version-matched skills for agents, and agent-browser mcp runs it as an MCP server over stdio. Native binaries for macOS, Linux and Windows. Apache-2.0 licensed.
- Vercel Labs
agent-desktop
Computer use for AI agents from Vercel Labs: it lets an agent see and operate desktop apps on macOS, Windows and Linux through the operating system's accessibility tree instead of screenshots and pixel matching. snapshot returns an app's UI as JSON with a ref for each element, the agent clicks or types on a ref, then takes a new snapshot to check the result. There is no model inside; the loop runs in your agent. It ships as a CLI and a C library, and agent-desktop mcp serves every command as an MCP tool over stdio. Apache-2.0 licensed.
- Apify
Apify MCP Server
Apify's official MCP server. It lets an agent search Apify Store and run its ready-made scrapers and automation tools (called Actors) for websites, search engines, maps, social media and e-commerce, then read the results from your Apify datasets. By default it loads Actor search and run tools, Apify docs search, and the Web Search and Web Fetch Actors. The hosted server at mcp.apify.com signs you in with OAuth. MIT licensed; running Actors uses your Apify plan (a free plan includes $5 of monthly usage; most Store Actors charge per event).
- Brave
Brave Search MCP Server
Brave's official MCP server for the Brave Search API. It adds web, local, place, image, video and news search tools, plus LLM context and AI summarization. Version 2.x uses stdio by default, with HTTP as an option. MIT licensed.
- Google (Chrome DevTools)
Chrome DevTools MCP
Lets a coding agent control and inspect a live Chrome browser through Chrome DevTools (Google now calls it "Chrome DevTools for agents"; the package is chrome-devtools-mcp). It can record performance traces, read network requests and console messages (with source-mapped stack traces) and automate pages with Puppeteer. A CLI is included for use without MCP. Apache-2.0.
- Upstash
Context7
Pulls up-to-date, version-specific library documentation and code examples into your prompt, so the AI stops relying on outdated training data or made-up APIs.
