SuperAPI AI Directory

mcp-server-cloudflare

Cloudflare MCP Server is an open-source repository maintained by Cloudflare on GitHub, providing multiple servers based on the Model Context Protocol (MCP), enabling MCP clients (such as Cursor and Claude) to connect to Cloudflare services and, through natural language, read account configurations, process information, give suggestions, and even execute suggested changes, covering Cloudflare services such as application development, security, and performance. Each server in the repository exposes the same stateless Streamable HTTP handler at /mcp and /sse through the new SDK v2 server factory; /sse serves only as a URL compatibility alias and no longer uses the deprecated HTTP+SSE transport, and legacy SSE GET /sse requests will receive a 410 Gone response with migration options. Cloudflare recommends migrating as soon as possible to the Cloudflare API MCP Server maintained at cloudflare/mcp.

Open website

About this tool

Purpose

Cloudflare MCP Server is an open-source repository that provides multiple MCP (Model Context Protocol) servers. MCP is a standardized protocol for managing context between large language models (LLMs) and external systems. Through these servers, you can connect to Cloudflare services from MCP-compatible clients (such as Cursor and Claude) and complete tasks related to your Cloudflare account using natural language.

These MCP servers allow MCP clients to read configurations in an account, process information, give suggestions based on data, and even execute suggested changes on your behalf. These operations can cover a variety of Cloudflare services, including application development, security, and performance.

Main Capabilities

  • Read Cloudflare account configurations in natural language through MCP clients.
  • Process information and give suggestions based on data.
  • Execute the suggested changes.
  • Cover Cloudflare service areas such as application development, security, and performance.
  • Each server in the repository exposes the same stateless Streamable HTTP handler at /mcp and /sse through the new SDK v2 server factory.
  • /sse is retained as a URL compatibility alias and does not use the deprecated HTTP+SSE transport.
  • Legacy SSE GET /sse requests will receive a 410 Gone Problem Details response and provide two migration options: configure the existing URL to use Streamable HTTP, or switch to the recommended /mcp URL for future compatibility.
  • Modern 2026 requests and stateless 2025 requests share the same request-scoped implementation and do not rely on MCP protocol sessions. OAuth, credentials, account selection, application caching, and product Durable Objects are still retained as application/security state (when needed).

Server Types and Selection

Cloudflare provides two types of MCP servers:

  1. Cloudflare API MCP Server (mcp.cloudflare.com), maintained at cloudflare/mcp: best suited when you want broad access to the Cloudflare API through code execution.
  2. Domain-specific servers (*.mcp.cloudflare.com), included in this repository: best when you need curated, typed tools for a specific Cloudflare product domain.

When to use the Cloudflare API MCP Server:

  • You need broad API coverage across multiple Cloudflare products.
  • You prefer a smaller set of general-purpose tools.
  • Your workflow is better suited to being accomplished through code execution.

When to use the domain-specific servers in this repository:

  • You want specialized tools for a specific product domain.
  • You want a more guided, typed interaction.
  • You primarily work within one Cloudflare domain, such as Browser Run or containers.

Cloudflare recommends migrating to the Cloudflare API MCP Server as early as possible.

Usage

  • Connect any MCP client that supports remote servers directly to the URL in the table above.
  • The Cloudflare AI Playground also accepts server URLs in its interface.
  • When using Cloudflare's MCP servers in the OpenAI Responses API, you need to provide the Responses API with an API token that has the scopes (permissions) required by that MCP server. For example, to use the Browser Run MCP server in OpenAI, create an API token in the Cloudflare dashboard with the corresponding permissions.

Use cases

  • Query and operate Cloudflare account configurations in natural language through an MCP client.
  • Get recommendations and make changes across Cloudflare services such as application development, security, and performance.
  • Use the Cloudflare API MCP Server when you need broad API coverage across multiple Cloudflare products.
  • Use the domain-specific servers in this repository when you need guided, typed interactions for a specific product domain, such as Browser Run or containers.

Limitations and considerations

  • Some features may require a paid Cloudflare Workers plan; make sure the Cloudflare account has the subscription level required to use the target feature.
  • If you see a "Claude's response was interrupted ..." message, it usually means Claude hit the context length limit and stopped mid-reply, which is more common on servers that trigger a large number of chained tool calls (such as the observability server). Mitigation: be as specific as possible and keep queries concise; if a single request calls multiple tools, try splitting it into several smaller tool calls to keep responses short.
  • Legacy SSE GET /sse requests will receive a 410 Gone response, and you need to migrate as prompted.
  • The repository is still continuously adding more features; if you need to give feedback, report a bug, or make a feature request, you can submit an issue in that repository.
  • If you intend to contribute and run the server locally, see CONTRIBUTING.md.

Information not yet provided

The materials do not provide specific installation commands, code examples, a complete list and URL table of each domain-specific server, pricing details, or a complete list of supported clients.