▌BestMCPTools.org
Cloudflare MCP logo

Cloudflare MCP

Cloudflare's official remote MCP servers, led by a Code Mode API server

DevOpsOpen SourceClients with remote MCP (Streamable HTTP) supportEasy✓ Verified

Last verified: November 10, 2026

Own Cloudflare MCP? Boost it to the top.✦ Upgrade to Featured

Maintenance status

Active
Last code update: September 25, 2026License: Apache-2.0Checked November 10, 2026

cloudflare/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 client

Compatible 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/mcp

Add 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
MakerCloudflare
Main serverCloudflare API MCP server, https://mcp.cloudflare.com/mcp
TypeRemote servers, Streamable HTTP at /mcp
AuthOAuth (you pick permissions at Cloudflare), or a Cloudflare API token as a bearer token
Tools (API server)3: docs, search, execute
Repositoriescloudflare/mcp-server-cloudflare (server catalog), cloudflare/mcp (Code Mode API server)
LicenseApache-2.0 (both repositories, per the GitHub pages)
PriceThe 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:

ServerURLWhat the docs say it does
Cloudflare APIhttps://mcp.cloudflare.com/mcpAccess to the Cloudflare API and developer docs
Documentationhttps://docs.mcp.cloudflare.com/mcpUp to date reference information on Cloudflare
Containerhttps://containers.mcp.cloudflare.com/mcpSpin up a sandbox development environment
Browser Runhttps://browser.mcp.cloudflare.com/mcpFetch web pages, convert them to markdown, take screenshots
Digital Experience Monitoringhttps://dex.mcp.cloudflare.com/mcpQuick insight on critical applications
Cloudflare One CASBhttps://casb.mcp.cloudflare.com/mcpIdentify security misconfigurations in SaaS applications
Agents SDK Documentationhttps://agents.cloudflare.com/mcpToken-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 queries spec.paths to find API endpoints.
  • execute: run JavaScript that calls cloudflare.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 execute tool 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 /sse request returns 410 Gone; use the /mcp URL.
  • 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=false as 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-remote command 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

Vercel MCPDeveloper Tools

Manage Vercel deployments and projects through AI agents

View Vercel MCP →
Netlify MCPDeveloper Tools

Deploy, configure and debug Netlify sites through an AI agent

View Netlify MCP →
GitHub MCPDeveloper Tools

GitHub's official MCP server: repos, issues, pull requests and Actions, hosted or local

View GitHub MCP →

Frequently Asked Questions

Tags