What are the Cloudflare MCP servers?
Cloudflare publishes remote MCP servers that let an AI agent read and change things in your Cloudflare account through natural language. The recommended one is the Cloudflare API MCP server at mcp.cloudflare.com, and the repo also lists product servers for docs, containers, Browser Run and more.
The repo describes several MCP servers that connect an MCP client to your Cloudflare account. They let the agent read configuration, process information, make suggestions from data and, where you allow it, make the changes for you across Cloudflare services.
Every server exposes a stateless Streamable HTTP handler at /mcp. The old /sse URL now answers with a 410 Gone message that points to /mcp, so older client configs need updating.
Which Cloudflare server to pick
| Server | Use it for | URL |
|---|---|---|
| Cloudflare API (recommended) | Broad access across Cloudflare's APIs through code execution | mcp.cloudflare.com/mcp |
| Documentation | Current Cloudflare reference information | docs.mcp.cloudflare.com/mcp |
| Browser Run | Fetch pages, convert them to markdown, take screenshots | browser.mcp.cloudflare.com/mcp |
| Container | Spin up a sandbox development environment | containers.mcp.cloudflare.com/mcp |
| DNS Analytics (deprecated) | Optimize DNS performance and debug issues | dns-analytics.mcp.cloudflare.com/mcp |
The API server lives in its own repo, cloudflare/mcp, and the README says to migrate to it from the deprecated servers. Choose the domain servers when you want curated, typed tools for one product area.
What it changes in your workflow
- The agent can read your account setup and suggest changes, then apply them, which suits hosting, security and performance chores.
- The docs server gives it current Cloudflare reference material, so answers do not rely on old training data.
- Browser Run lets it fetch a page as markdown or screenshot it, a useful check after you deploy.
- The deprecated DNS Analytics server was built to help debug DNS issues, and the API server is the recommended path now.
Who it is for
Best for
- Sites already on Cloudflare for DNS, Workers or security who want an agent to inspect the setup.
- Developers who want an agent to look up Cloudflare documentation while writing config.
- Teams that want hosted endpoints with no local install.
Not for
- Sites that are not on Cloudflare. These servers talk to Cloudflare accounts only.
- Anyone who needs a local stdio server, since the repo's servers are remote endpoints.
- Free-only setups for every feature. The README warns some features may need a paid Workers plan.
Use it with UiChemy
If your WordPress site sits behind Cloudflare, the agent can help with DNS and caching questions while UiChemy handles the build: Composer writes HTML, CSS and JS in Elementor or Gutenberg. Click Get Started on uichemy.com. For a deploy skill, see the web design skill.
Connect Cloudflare MCP Servers: Connect an AI Agent to Cloudflare to your AI client
Add the remote server URL https://mcp.cloudflare.com/mcp to your MCP clientPick a server
Use the API server for broad access, or a product server from the table for one area such as docs or Browser Run.
Add the URL to your client
Connect any MCP client with remote-server support directly to the URL. The README also says Cloudflare AI Playground accepts server URLs.
Sign in and choose an account
The servers act on your Cloudflare account, so expect an authorization step and account selection in the client.
Use a token for API based clients
For OpenAI's Responses API, create a Cloudflare API token with the scopes the chosen server needs, as the README describes for Browser Run.
Keep prompts small
The README says long chained tool calls can hit a client's context limit, so keep queries specific and split large requests.
Endpoints and ports
https://mcp.cloudflare.com/mcpRecommended. Source in cloudflare/mcp.https://docs.mcp.cloudflare.com/mcpReference information on Cloudflare.https://browser.mcp.cloudflare.com/mcpPages to markdown and screenshots.https://containers.mcp.cloudflare.com/mcpSandbox development environment.https://dns-analytics.mcp.cloudflare.com/mcpDeprecated. Migrate to the API server.What you can do with it
- Remote and hostedServers are Streamable HTTP endpoints, so there is nothing to install locally.
- Two server typesOne broad API server using code execution, plus typed servers for single product areas.
- Docs lookupA documentation server gives the agent current Cloudflare reference information.
- Browser renderingThe Browser Run server fetches pages, converts them to markdown and takes screenshots.
- Account awareServers read your account's configuration and can suggest or make changes across services.
- Clear deprecationsThe README lists deprecated servers, including DNS Analytics, with a pointer to the API server.
- Retired SSEThe old /sse URL returns 410 Gone with a message that names the /mcp URL.
Tools it exposes
Cloudflare API MCP Server
Broad access across Cloudflare's APIs through code execution. Recommended by the repo.
Documentation server
Gets up-to-date reference information on Cloudflare.
Container server
Spins up a sandbox development environment.
Browser Run server
Fetches web pages, converts them to markdown and takes screenshots.
Digital Experience Monitoring server
Quick insight on critical applications for your organization.
Cloudflare One CASB server
Identifies security misconfigurations in SaaS applications.
Cloudflare Blog server
Searches and reads posts from the Cloudflare Blog.
DNS Analytics server (deprecated)
Optimizes DNS performance and debugs issues based on your current setup.
Frequently asked questions
What is the Cloudflare MCP server?
It is a set of remote MCP servers from Cloudflare that let an AI agent work with your Cloudflare account in natural language. The recommended one is the Cloudflare API MCP server, with product servers for docs, containers, Browser Run and more in the repo.
How do I connect to the Cloudflare MCP server?
Add a server URL such as mcp.cloudflare.com/mcp (HTTPS) to an MCP client that supports remote servers, then sign in and pick your account. The README says any client with remote-server support works, and Cloudflare AI Playground accepts server URLs too.
Which Cloudflare MCP server should I use?
The README recommends the Cloudflare API MCP server for broad access across APIs through code execution. Use the domain servers when you want curated, typed tools for one area, such as Browser Run or containers.
Is there a Cloudflare DNS MCP server?
A DNS Analytics server exists at dns-analytics.mcp.cloudflare.com, described as optimizing DNS performance and debugging issues. The README marks it deprecated and asks you to migrate to the Cloudflare API MCP server.
Does the Cloudflare MCP server cost money?
The README says some features may require a paid Cloudflare Workers plan. Check that your account has the subscription level for the features you plan to use before you connect a server.
Why does my Cloudflare MCP connection fail on /sse?
The retired /sse URL answers every request with a 410 Gone message that names the /mcp URL. Update your client config to the /mcp endpoint of the server you want, and the connection error message will show the same hint.
Can Cloudflare MCP take screenshots of pages?
Yes. The Browser Run server at browser.mcp.cloudflare.com fetches web pages, converts them to markdown and takes screenshots. For local browser tooling, see Chrome DevTools MCP or agnt MCP, which run on your own machine instead.
What if the agent stops mid-answer?
The README says the client likely hit its context limit, most often with chained calls such as the observability server. Keep queries specific and break multi-tool requests into smaller steps to shorten responses.


