MCP Server Cloudflare
MCP server by cloudflare Verified · npm:@cloudflare
Connects MCP clients such as Cursor and Claude to Cloudflare services. It lets users manage their Cloudflare account and work with Cloudflare APIs using natural language, through a set of domain-specific servers and a recommended API server.
Install MCP Server Cloudflare
Built from the published package, never by AI.
claude mcp add mcp-server-cloudflare -- npx -y @cloudflare/mcp-server-cloudflareRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-server-cloudflare": {
"args": [
"-y",
"@cloudflare/mcp-server-cloudflare"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install MCP Server Cloudflare in Claude Desktop
{
"mcpServers": {
"mcp-server-cloudflare": {
"args": [
"-y",
"@cloudflare/mcp-server-cloudflare"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-server-cloudflare": {
"args": [
"-y",
"@cloudflare/mcp-server-cloudflare"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-server-cloudflare -- npx -y @cloudflare/mcp-server-cloudflare{
"mcpServers": {
"mcp-server-cloudflare": {
"args": [
"-y",
"@cloudflare/mcp-server-cloudflare"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install MCP Server Cloudflare in Antigravity CLI
gemini mcp add mcp-server-cloudflare npx -y @cloudflare/mcp-server-cloudflareGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-server-cloudflare block.
About
This repository hosts several MCP servers that connect an MCP client, such as Cursor or Claude, to Cloudflare services. Users can use natural language to read configurations from their Cloudflare account, process information, make suggestions based on that data, and make suggested changes. These actions can cover application development, security and performance across many Cloudflare products.
Each server exposes a stateless Streamable HTTP handler at /mcp. The recommended Cloudflare API MCP Server is maintained in cloudflare/mcp, while domain-specific servers, such as the Documentation, Browser Run and Container servers, are included in this repository. The broad API server suits wide access through code execution, and the domain servers suit curated, typed tools for one product area. Some features may require a paid Cloudflare Workers plan.
Written from the project's README and checked against it.
Tools it gives your assistant
Documentation serverGets up-to-date reference information on Cloudflare.Browser Run serverFetches web pages, converts them to markdown and takes screenshots.Container serverSpins up a sandbox development environment.Cloudflare Blog serverSearches and reads posts from the Cloudflare Blog.Digital Experience Monitoring serverGives quick insight on critical applications for your organization.
What you need
- A Cloudflare account
- An MCP client with remote-server support
- An API token with the scopes required for the chosen server, when used with OpenAI's Responses API
- A paid Cloudflare Workers plan for some features
Try asking
- Fetch this web page and convert it to markdown
- Take a screenshot of this URL using the Browser Run server
- Find Cloudflare docs on configuring Workers routes
Good to know
- Several servers are deprecated, and users are asked to migrate to the Cloudflare API MCP Server.
- Some features may require a paid Cloudflare Workers plan.
- Chained tool calls can hit the client's context-length limit, which interrupts replies.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to MCP Server Cloudflare
All alternatives →Azure MCP Server bundles all Azure MCP tools into one local MCP server. It connects AI agents to Azure services and can be used alone or with the GitHub Copilot for Azure extension in VS Code.
Manages monitors, status pages, incidents and maintenances in an openstatus workspace from Claude, ChatGPT, or Cursor. It suits teams that run uptime monitoring and status pages and want their AI assistant to update them.
SmartBear MCP gives AI assistants access to SmartBear's testing and monitoring tools, including BugSnag, Reflect, Swagger, PactFlow and QTM4J. It is aimed at teams that already use these products. Products are reached through remote servers or a local npm package.
Lets AI assistants manage Fettle uptime monitoring, including monitors, incidents, heartbeats, maintenance windows and status page incidents. Built for developers and operations teams who use Fettle and want to work from Claude, Cursor or Codex.
Superlog is an open-source agentic telemetry system that ingests traces, logs and metrics and groups noisy signals into incidents. It is aimed at teams debugging production systems with OpenTelemetry data.
Microsoft Learn MCP gives AI assistants direct access to official Microsoft documentation and code samples through a remote MCP endpoint. It is for developers who use MCP-compatible clients and want answers based on current Microsoft docs.
Compare with Azure MCP Server, openstatus or SmartBear MCP
MCP Server Cloudflare: common questions
Which Cloudflare MCP server should I use?
The source says the Cloudflare API MCP Server suits broad access across Cloudflare's APIs through code execution. Domain-specific servers suit curated, typed tools for one product area.
Do I need a paid plan to use these servers?
Some features may require a paid Cloudflare Workers plan. The source advises checking that your account has the subscription level for the features you plan to use.
Are any of the servers deprecated?
Yes. The AI Gateway, Audit Logs, AutoRAG, DNS Analytics, GraphQL, Logpush, Observability, Radar, Workers Bindings and Workers Builds servers are listed as deprecated.
How do I install MCP Server Cloudflare?
In Claude Code run claude mcp add mcp-server-cloudflare -- npx -y @cloudflare/mcp-server-cloudflare. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is MCP Server Cloudflare the official server?
MCP Server Cloudflare is published by npm:@cloudflare from its verified domain in the official MCP Registry.
Is MCP Server Cloudflare free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is MCP Server Cloudflare safe to use?
It scores 86 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to MCP Server Cloudflare?
Similar MCP servers: Azure MCP Server, openstatus, SmartBear MCP, Fettle.
Does MCP Server Cloudflare work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
