Cloudflare

Cloud and DevOps

Cloudflare MCP servers.

Your AI app calls the Cloudflare MCP server, which does the cloud and DevOps work and sends the result back to the chat.

About Cloudflare

Cloudflare is the official MCP server from cloudflare, filed in our directory under cloud and devops. Cloudflare MCP servers.

Cloudflare runs as a remote server at https://docs.mcp.cloudflare.com/mcp, so there is nothing to install: your AI app connects over streamable HTTP, and most remote servers ask you to sign in with OAuth the first time.

Cloudflare is listed in the official MCP registry as com.cloudflare.mcp/mcp, version 1.0.0.

At a glance

Publisher
cloudflare, the company behind the product
Runs
As a hosted remote server
Written in
TypeScript
License
Apache-2.0
GitHub stars
4,508
Official MCP registry
com.cloudflare.mcp/mcp

How to set up Cloudflare

  1. Nothing to install: Cloudflare is a remote server, so all you need is an AI app that accepts a remote MCP URL.
  2. Check the Cloudflare README for keys or settings; the registry lists none that Cloudflare requires.
  3. Add Cloudflare to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Cloudflare tools to confirm the connection.
  5. Run one read-only task with Cloudflare first, and keep your app asking before each tool call until the results look right.

Cloudflare compared with similar servers

  • Radar Kubernetes by skyhook-io has fewer GitHub stars than Cloudflare (4.3k against 4.5k); Cloudflare is official while Radar Kubernetes is a community server, and Radar Kubernetes runs on your own machine and Cloudflare runs as a remote server.
  • Context Forge by IBM has more GitHub stars than Cloudflare (4.9k against 4.5k); both are official servers, and Context Forge runs on your own machine and Cloudflare runs as a remote server.
  • Microfeed by microfeed has fewer GitHub stars than Cloudflare (4.1k against 4.5k); Cloudflare is official while Microfeed is a community server, and Microfeed runs on your own machine and Cloudflare runs as a remote server.

Before you connect Cloudflare

  • Give Cloudflare its own sign-in or token with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Cloudflare tool call until you trust what it does with them.
  • Treat text that Cloudflare fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Cloudflare on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Cloudflare

How marketing and sales teams put Cloudflare to work, by company size. Pick the size closest to yours and start Cloudflare on one use case.

Small business

  • A small business can ask Cloudflare why the site is slow or down and get the likely cause in plain words.
  • Owners can use Cloudflare to check hosting costs and spot services they pay for but no longer use.
  • Cloudflare runs as a remote server, so a small team can connect it in a few minutes with no install to maintain.

Mid-market

  • Web teams can connect Cloudflare to watch deploys during a launch and roll back fast if a campaign page breaks.
  • Marketing engineering can use Cloudflare to spin up preview environments for every landing page review.
  • Start Cloudflare on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should give Cloudflare read access first, with changes gated by the same approvals as any infrastructure change.
  • Large orgs can use Cloudflare to answer cost and reliability questions across accounts, so marketing launches are planned with real capacity.
  • Because Cloudflare comes from cloudflare, the company behind the product, it follows that product's own auth and permissions, which security teams usually prefer.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Cloudflare README

From cloudflare/mcp-server-cloudflare on GitHub, shared under its Apache-2.0 license. Images are left out; the original has them.

README.md

Cloudflare 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
Deprecated servers

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.com/mcp
Workers Builds server Get insights and manage your Cloudflare Workers Builds https://builds.mcp.cloudflare.com/mcp

Which Cloudflare MCP server should you use?

Cloudflare provides two categories of MCP servers:

  • Cloudflare API MCP Server (mcp.cloudflare.com) in cloudflare/mcp: best when you want broad access across Cloudflare's APIs through code execution.
  • Domain-specific servers (*.mcp.cloudflare.com) in this repository: best when you want curated, typed tools for a specific Cloudflare product area.
When should you use each?

Use the Cloudflare API MCP Server when:

  • you need broad API coverage across many Cloudflare products
  • you prefer a smaller set of general-purpose tools
  • your workflow is better served by code execution

Use the domain-specific servers in this repository when:

  • you want purpose-built tools for a specific product area
  • you want more guided, typed interactions
  • you are working primarily within one Cloudflare domain such as Browser Run or containers

Learn more about the Cloudflare API MCP Server here: cloudflare/mcp.

Connect to an MCP server

Connect any MCP client with remote-server support directly to a URL in the table above. Cloudflare AI Playground also accepts server URLs in its interface.

Using Cloudflare's MCP servers from the OpenAI Responses API

To use one of Cloudflare's MCP servers with OpenAI's responses API, you will need to provide the Responses API with an API token that has the scopes (permissions) required for that particular MCP server.

For example, to use the Browser Run MCP server with OpenAI, create an API token in the Cloudflare dashboard dash.cloudflare.com/profile/api-tokens, with the following permissions:

Need access to more Cloudflare tools?

We're continuing to add more functionality to this remote MCP server repo. If you'd like to leave feedback, file a bug or provide a feature request, please open an issue on this repository

Troubleshooting

"Claude's response was interrupted ... "

If you see this message, Claude likely hit its context-length limit and stopped mid-reply. This happens most often on servers that trigger many chained tool calls such as the observability server.

To reduce the chance of running in to this issue:

  • Try to be specific, keep your queries concise.
  • If a single request calls multiple tools, try to to break it into several smaller tool calls to keep the responses short.

Paid Features

Some features may require a paid Cloudflare Workers plan. Ensure your Cloudflare account has the necessary subscription level for the features you intend to use.

Contributing

Interested in contributing, and running this server locally? See CONTRIBUTING.md to get started.

Questions about Cloudflare

What is the Cloudflare MCP server?

Cloudflare MCP servers. Cloudflare is published by cloudflare, the company behind the product, on GitHub at cloudflare/mcp-server-cloudflare, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I add Cloudflare to Claude Code?

Cloudflare is a remote server, so you add its URL instead of installing a package: run claude mcp add --transport http cloudflare https://docs.mcp.cloudflare.com/mcp in your terminal. In other apps, add the Cloudflare URL as a remote or custom connector.

Does Cloudflare need an API key?

The registry lists no required keys for Cloudflare. Check the Cloudflare README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Cloudflare an official MCP server?

Yes. Cloudflare is published by cloudflare, the company that makes the product it connects to, so it follows that product's own API and auth.

What license is Cloudflare under?

Cloudflare is released under the Apache-2.0 license, according to its GitHub repository. The license covers the code of Cloudflare; the service it connects to has its own terms.