Cloudflare MCP
com.cloudflare.mcp · Updated
Cloudflare MCP servers
At a glance
Cloudflare MCP is an MCP server in the Cloud & DevOps category. It is hosted remotely and connects over HTTP, and needs Authentication. It exposes 2 tools, including search_cloudflare_documentation and migrate_pages_to_workers_guide. It scores A (93/100) on the MCP Skills Hub health score as of Oct 28, 2026.
One-click install
Opens your editor and pre-fills the config. Your editor will ask before adding it.
How to install Cloudflare MCP in your AI client
Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.
How to install Cloudflare MCP in Claude CodeAnthropic's agentic CLI
Add the server
bashclaude mcp add --transport http cloudflare https://docs.mcp.cloudflare.com/mcpVerify it's connected
bashclaude mcp listSharing it with your team?
Add `--scope project` to write it to .mcp.json in the repository root, which you can commit (with the secrets left as environment variables).
Use it in a session
Ask Claude to use the tools this server exposes (e.g. search_cloudflare_documentation, migrate_pages_to_workers_guide). It discovers them automatically.
How to install Cloudflare MCP in Claude DesktopDesktop app (MCP config)
Open your MCP config
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json · Windows: %APPDATA%\Claude\claude_desktop_config.json
Add this server
json{ "mcpServers": { "cloudflare": { "command": "npx", "args": [ "-y", "mcp-remote", "https://docs.mcp.cloudflare.com/mcp" ] } } }Why the wrapper?
This is a remote (HTTP) server and Claude Desktop only launches local processes, so mcp-remote proxies the connection. It will open a browser window if the server needs OAuth.
Restart Claude Desktop
The tools appear under the 🔌 menu once the app reloads.
How to install Cloudflare MCP in CursorAI-first code editor
Create / edit .cursor/mcp.json in your project
json{ "mcpServers": { "cloudflare": { "url": "https://docs.mcp.cloudflare.com/mcp" } } }Enable it
Cursor Settings → MCP → toggle the server on. Tools become available to the Composer/Agent.
How to install Cloudflare MCP in Codex CLIOpenAI coding agent
Add to ~/.codex/config.toml
toml[mcp_servers.cloudflare] command = "npx" args = ["-y", "mcp-remote", "https://docs.mcp.cloudflare.com/mcp"]Why the wrapper?
Codex runs MCP servers as local processes, so mcp-remote bridges this HTTP endpoint to stdio.
Run Codex
Codex loads MCP servers from config.toml on startup and exposes their tools to the agent.
How to install Cloudflare MCP in WindsurfCodeium's agentic IDE
Edit ~/.codeium/windsurf/mcp_config.json
json{ "mcpServers": { "cloudflare": { "serverUrl": "https://docs.mcp.cloudflare.com/mcp" } } }Reload
Windsurf → Cascade → refresh MCP servers. Cascade can now call the tools.
How to install Cloudflare MCP in ClineVS Code autonomous agent
Open Cline → MCP Servers → Configure
Adds to cline_mcp_settings.json.
Add the server
json{ "mcpServers": { "cloudflare": { "type": "streamableHttp", "url": "https://docs.mcp.cloudflare.com/mcp" } } }
How to install Cloudflare MCP in VS CodeCopilot / MCP support
Create .vscode/mcp.json
json{ "servers": { "cloudflare": { "type": "http", "url": "https://docs.mcp.cloudflare.com/mcp" } } }Start it
VS Code shows a ▶ Start action above the server entry. Agent mode (Copilot Chat) can then use the tools.
What does Cloudflare MCP need from you?
API key — Optional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
AuthenticationoptionalsecretHTTP headerOptional Cloudflare API key for authentication if not using OAuth. Can use User or Account owned tokens as a Bearer token.
What tools does Cloudflare MCP expose? (2)
Read from the live server. Click any tool for its input schema.
- search_cloudflare_documentationSearch the Cloudflare documentation. This tool should be used to answer any question about Cloudflare products or features, including: - Workers, Pages, R2, Images, Stream, D1, Durable Objects, KV, Workflows, Hyperdrive, Queues - AI Search, Workers AI, Vectorize, AI Gateway, Browser Run - Zero Trust, Access, Tunnel, Gateway, Browser Isolation, WARP, DDOS, Magic Transit, Magic WAN - CDN, Cache, DNS
- migrate_pages_to_workers_guideALWAYS read this guide before migrating Pages projects to Workers.
What the code can do
This is a remote server — nothing is installed or run on your machine, so there is no local code to analyze. What it can reach is described above: your requests go to the provider's host.
Before you install
Signals gathered from the source repo and package registry — not a safety verdict.
What it can reach
- Third-party hosted service — Your requests and any data in them are sent to docs.mcp.cloudflare.com.
- No local execution — Nothing is installed or run on your machine.
- Last commit 6 days ago — Actively maintained.
- 4.4k GitHub stars — Community adoption signal.
Client compatibility
Health score
A · 93Maintenance, adoption, transparency and packaging — not a safety audit. How this is calculated
- Maintenance30%100%
Last commit 6 days ago.
- Adoption20%100%
4430 stars.
- Transparency20%100%
4/4: ✓ public source repo, ✓ declared license, ✓ documentation, ✓ discoverable tool list.
- Provenance15%75%
Links to its own repository; package linkage unverified.
- Packaging15%75%
Remote endpoint; authentication requirements not declared.
Documentation
Full READMECloudflare MCP Server
Model Context Protocol (MCP) is a new, standardized protocol for managing context between large language models (LLMs) and external systems. In this repository, you can find several MCP servers allowing you to connect to Cloudflare's service from an MCP client (e.g. Cursor, Claude) and use natural language to accomplish tasks through your Cloudflare account.
These MCP servers allow your MCP Client to read configurations from your account, process information, make suggestions based on data, and even make those suggested changes for you. All of these actions can happen across Cloudflare's many services including application development, security and performance.
Every server in this repository exposes a stateless Streamable HTTP handler at /mcp through a fresh SDK v2 server factory. The retired /sse URL answers every request with a 410 Gone Problem Details response that names the /mcp URL; MCP clients show its message in their connection error. Modern 2026 requests and stateless 2025 requests share the same request-scoped implementation without an MCP protocol session. OAuth, credentials, account selection, application caches, and product Durable Objects remain application/security state where required.
Cloudflare offers the following MCP servers. The domain-specific servers are included in this repository, while the recommended Cloudflare API MCP Server is maintained in `cloudflare/mcp`:
| Server Name | Description | Server URL | | -------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ------------------------------------------- | | **Cloudflare API MCP Server (recommended)** | Best when you want broad access across Cloudflare's APIs through code execution | https://mcp.cloudflare.com/mcp | | **Documentation server** | Get up-to-date reference information on Cloudflare | https://docs.mcp.cloudflare.com/mcp | | **Container server** | Spin up a sandbox development environment | https://containers.mcp.cloudflare.com/mcp | | **Browser Run server** | Fetch web pages, convert them to markdown and take screenshots | https://browser.mcp.cloudflare.com/mcp | | **Digital Experience Monitoring server** | Get quick insight on critical applications for your organization | https://dex.mcp.cloudflare.com/mcp | | **Cloudflare One CASB server** | Quickly identify any security misconfigurations for SaaS applications to safeguard users & data | https://casb.mcp.cloudflare.com/mcp | | **Cloudflare Blog server** | Search and read posts from the Cloudflare Blog | https://blog.mcp.cloudflare.com/mcp | | **Demo Day server** | Demonstrate a minimal Cloudflare MCP server | https://demo-day.mcp.cloudflare.com/mcp |
<details> <summary><strong>Deprecated servers</strong></summary>
Please migrate to the Cloudflare API MCP Server at your earliest convenience.
| Server Name | Description | Server URL | | ------------------------------------------------------- | ------------------------------------------------------------------- | ---------------------------------------------- | | **AI Gateway server** | Search your logs, get details about the prompts and responses | https://ai-gateway.mcp.cloudflare.com/mcp | | **Audit Logs server** | Query audit logs and generate reports for review | https://auditlogs.mcp.cloudflare.com/mcp | | **AutoRAG server** | Search and query account AutoRAG instances | https://autorag.mcp.cloudflare.com/mcp | | **DNS Analytics server** | Optimize DNS performance and debug issues based on current setup | https://dns-analytics.mcp.cloudflare.com/mcp | | **GraphQL server** | Get analytics data using Cloudflare's GraphQL API | https://graphql.mcp.cloudflare.com/mcp | | **Logpush server** | Get quick summaries for Logpush job health | https://logs.mcp.cloudflare.com/mcp | | **Observability server** | Debug and get insight into your application's logs and analytics | https://observability.mcp.cloudflare.com/mcp | | **Radar server** | Explore Cloudflare Radar internet insights | https://radar.mcp.cloudflare.com/mcp | | **Workers Bindings server** | Build Workers applications with storage, AI, and compute primitives | `https://bindings.mcp.cloudflare.c
…
Excerpt — the full document is on GitHub.
Alternatives to Cloudflare MCP
- cloudflare-solverD · 33Cloudflare Solver: Scraping API designed to bypass Cloudflare protection.
- bypass-cloudflare-apiD · 33Bypass Cloudflare API: A powerful scraping API designed to bypass Cloudflare protection.
- x402-cloudflare-starterC · 57USDC micropayments on Base + Solana via x402. BYO wallets. Cloudflare Workers. No Coinbase.
- MCP Cloudflare DNSB · 71Cloudflare DNS MCP server: manage zones, records, cache purge, and page rules.
Maintain Cloudflare MCP? Add a badge to your README
Shows its health grade, and links readers to install steps for every client.
[](https://mcp-skills-hub.vercel.app/mcps/com-cloudflare-mcp-mcp)Catalog data refreshed . Something wrong? Report it.