Ad space · Your tool here
PluginStack
MCP Servers · by Cloudflare

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.

bash
npm create cloudflare@latest -- remote-mcp-server-authless --template=cloudflare/ai/demos/remote-mcp-authless
cd remote-mcp-server-authless
npx wrangler@latest deploy

Who 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

  1. 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"
        }
      }
    }
  2. Claude Code: add it from your terminal, then run /mcp inside a session to finish the OAuth sign-in:

    bash
    claude mcp add --transport http cloudflare-api https://mcp.cloudflare.com/mcp
  3. For 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.

  4. Only need Cloudflare docs? Point your client at https://docs.mcp.cloudflare.com/mcp instead (same JSON, different URL).

  5. 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.

  6. 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

bash
claude mcp add --transport http cloudflare-api https://mcp.cloudflare.com/mcp

Run /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

json
{
  "mcpServers": {
    "cloudflare-api": {
      "url": "https://mcp.cloudflare.com/mcp"
    }
  }
}
VS Code

.vscode/mcp.json (note the top-level "servers" key)

json
{
  "servers": {
    "cloudflare-api": {
      "type": "http",
      "url": "https://mcp.cloudflare.com/mcp"
    }
  }
}
Codex

Run in a terminal, or edit ~/.codex/config.toml

CLI

bash
codex mcp add cloudflare-api --url https://mcp.cloudflare.com/mcp

Or in ~/.codex/config.toml

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

prompt
List my Cloudflare zones and show the DNS records for my main domain.
prompt
Using the Cloudflare docs server, explain how to add a KV binding to a Worker.
prompt
Create a KV namespace called cache in my account and show me its ID.

Demo

Official demo by Cloudflare Developers on YouTube: “The Cloudflare API MCP in Under 3 Minutes”

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.

Hand-checked on PluginStack
Get the Markdown or HTML

Markdown (for a GitHub README)

markdown
[![Hand-checked on PluginStack](https://www.pluginstackai.com/badge/hand-checked.svg)](https://www.pluginstackai.com/plugins/cloudflare-mcp/)

HTML (for a website)

html
<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>

About the badge

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.

Markdown download + occasional PluginStack updates. No spam. Privacy policy.

See all MCP Servers on PluginStack