Cloudflare MCP Servers
Lets your AI agent read and manage your Cloudflare account, docs, browser rendering and containers through hosted MCP servers.
4.4k stars on GitHubby CloudflareLicense Apache-2.0Updated last month
How to install
This MCP is remote: it runs in the cloud.
Nothing to install. Copy the address and paste it into your AI app:
Server address
https://docs.mcp.cloudflare.com/mcp
- βΊClaude (site or app): Settings β Connectors β Add custom connector.
- βΊChatGPT: Settings β Apps β Create app (developer mode), and paste the address.
- βΊClaude Code, Cursor, VS Code and Windsurf: pick your app below.
Paste in the terminal:
claude mcp add --transport http cloudflare-mcp https://docs.mcp.cloudflare.com/mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Look up how Workers KV pricing works in the Cloudflare docs.
Spin up a sandbox container so I can test this code.
What it is
Cloudflare offers several hosted MCP servers that let your agent read configuration, make suggestions and apply changes across Cloudflare services. The recommended one, at mcp.cloudflare.com, gives broad API access through code execution. Smaller servers cover documentation, containers, Browser Run, device monitoring, the blog and more.
What it can do
- Cloudflare API server: broad access across Cloudflare APIs through code execution
- Documentation server: up-to-date Cloudflare reference
- Container server: spin up a sandbox development environment
- Browser Run server: fetch pages, convert to markdown and take screenshots
- Digital Experience Monitoring server: insight on critical applications
- Cloudflare One CASB server: find SaaS security misconfigurations
When to use
- βΊWhen you want to look up current Cloudflare documentation from your chat.
- βΊWhen you want to manage Cloudflare settings by describing the change.
- βΊWhen you need a page fetched as markdown or screenshotted.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
cloudflare-browserHelps your agent control a headless Chrome browser through Cloudflare Browser Rendering to take screenshots, browse pages and record videos.CloudflareHelps your agent deploy and manage Cloudflare Workers, Pages, storage, DNS and queues, using Cloudflare's own command-line tool.cloudflare-browser-rendering-automationMakes your agent automate browser rendering in Cloudflare. It can process dynamic web content efficiently.Frequently asked questions
Is it official?
Yes. These are Cloudflare's own MCP servers.
Is it free?
The servers are free to connect to, but the readme says some features may need a paid Cloudflare Workers plan.
Which server should I use?
The readme recommends the Cloudflare API server for broad access. Use the product-specific servers for curated tools in one area.
What about the older servers?
Servers such as AI Gateway, Audit Logs, DNS Analytics and Radar are deprecated, and the readme asks you to move to the API server.
What URL format is used?
Each server has a stateless Streamable HTTP endpoint at /mcp. The old /sse URL returns a 410 Gone error.
Can I use it with the OpenAI Responses API?
Yes, with a Cloudflare API token that has the scopes that server needs.
If it does not work
- βΊIf you use an old /sse URL, switch to the /mcp URL of the same server. The old one returns 410 Gone.
- βΊIf Claude's response is interrupted, it likely hit its context limit. Keep queries specific and split big requests.
- βΊCheck your Cloudflare account has the plan level needed for the feature you are using.
5 new skills a week. 1 minute to read.