cloudflare
MCP Servercloudflarepublic

mcp server cloudflare

Cloudflare MCP Server 通过模型上下文协议(MCP)实现对 Cloudflare 服务(Workers、KV、R2、D1)的自然语言管理。

Repository Info

2833
Stars
236
Forks
2833
Watchers
27
Issues
TypeScript
Language
Apache License 2.0
License

About This Server

Cloudflare MCP Server 通过模型上下文协议(MCP)实现对 Cloudflare 服务(Workers、KV、R2、D1)的自然语言管理。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

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.

The following servers are included in this repository:

Server NameDescriptionServer URL
Documentation serverGet up to date reference information on Cloudflarehttps://docs.mcp.cloudflare.com/sse
Workers Bindings serverBuild Workers applications with storage, AI, and compute primitiveshttps://bindings.mcp.cloudflare.com/sse
Workers Builds serverGet insights and manage your Cloudflare Workers Buildshttps://builds.mcp.cloudflare.com/sse
Observability serverDebug and get insight into your application's logs and analyticshttps://observability.mcp.cloudflare.com/sse
Radar serverGet global Internet traffic insights, trends, URL scans, and other utilitieshttps://radar.mcp.cloudflare.com/sse
Container serverSpin up a sandbox development environmenthttps://containers.mcp.cloudflare.com/sse
Browser rendering serverFetch web pages, convert them to markdown and take screenshotshttps://browser.mcp.cloudflare.com/sse
Logpush serverGet quick summaries for Logpush job healthhttps://logs.mcp.cloudflare.com/sse
AI Gateway serverSearch your logs, get details about the prompts and responseshttps://ai-gateway.mcp.cloudflare.com/sse
AutoRAG serverList and search documents on your AutoRAGshttps://autorag.mcp.cloudflare.com/sse
Audit Logs serverQuery audit logs and generate reports for reviewhttps://auditlogs.mcp.cloudflare.com/sse
DNS Analytics serverOptimize DNS performance and debug issues based on current set uphttps://dns-analytics.mcp.cloudflare.com/sse
Digital Experience Monitoring serverGet quick insight on critical applications for your organizationhttps://dex.mcp.cloudflare.com/sse
Cloudflare One CASB serverQuickly identify any security misconfigurations for SaaS applications to safeguard users & datahttps://casb.mcp.cloudflare.com/sse
GraphQL serverGet analytics data using Cloudflare’s GraphQL APIhttps://graphql.mcp.cloudflare.com/sse

Access the remote MCP server from any MCP client

If your MCP client has first class support for remote MCP servers, the client will provide a way to accept the server URL directly within its interface (e.g. Cloudflare AI Playground)

If your client does not yet support remote MCP servers, you will need to set up its respective configuration file using mcp-remote (https://www.npmjs.com/package/mcp-remote) to specify which servers your client can access.

{
	"mcpServers": {
		"cloudflare-observability": {
			"command": "npx",
			"args": ["mcp-remote", "https://observability.mcp.cloudflare.com/sse"]
		},
		"cloudflare-bindings": {
			"command": "npx",
			"args": ["mcp-remote", "https://bindings.mcp.cloudflare.com/sse"]
		}
	}
}

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 Rendering MCP server with OpenAI, create an API token in the Cloudflare dashboard here, with the following permissions:

Screenshot 2025-05-21 at 10 38 02 AM

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.

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.

Quick Start

1

Clone the repository

git clone https://github.com/cloudflare/mcp-server-cloudflare
2

Install dependencies

cd mcp-server-cloudflare
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownercloudflare
Repomcp-server-cloudflare
LanguageTypeScript
LicenseApache License 2.0
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation