cloudflare/mcp-server-cloudflare

▲ 40 stars today★ 4,255⑂ 524

About cloudflare/mcp-server-cloudflare

cloudflare/mcp-server-cloudflare is an open-source project on GitHub, mainly written in TypeScript. It currently holds 4,255 stars and 524 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

Git Homed tracks it on the Today's Trending board, currently at rank #64 with 40 new stars today.

GitHub Repository Details

Repository cloudflare/mcp-server-cloudflare · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

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 the same stateless Streamable HTTP handler at /mcp and /sse through a fresh SDK v2 server factory. /sse remains as a URL compatibility alias; it does not use the deprecated HTTP+SSE transport. A legacy SSE GET /sse request receives a 410 Gone Problem Details response with 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 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 Code Mode server is maintained in cloudflare/mcp:

| Server Name | Description | Server URL | | ----------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ---------------------------------------------- | | Code Mode 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 | | 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 | | Observability server | Debug and get insight into your application's logs and analytics | https://observability.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 | | Logpush server | Get quick summaries for Logpush job health | https://logs.mcp.cloudflare.com/mcp | | AI Gateway server | Search your logs, get details about the prompts and responses | https://ai-gateway.mcp.cloudflare.com/mcp | | AutoRAG server | Search and query account AutoRAG instances | https://autorag.mcp.cloudflare.com/mcp | | Audit Logs server | Query audit logs and generate reports for review | https://auditlogs.mcp.cloudflare.com/mcp | | DNS Analytics server | Optimize DNS performance and debug issues based on current setup | https://dns-analytics.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 | | Radar server | Explore Cloudflare Radar internet insights | https://radar.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 |

Which Cloudflare MCP server should you use?

Cloudflare provides two categories of MCP servers:

best when you want broad access across Cloudflare's APIs through code execution. best when you want curated, typed tools for a specific Cloudflare product area.

When should you use each?

Use the Code Mode server when:

Use the domain-specific servers in this repository when: Learn more about the Code Mode 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 here, with the following permissions:

https://github.com/cloudflare/mcp-server-cloudflare/blob/HEAD/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:

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.

GitHub Stars & Activity

4,255Stars
524Forks
0Open issues
TypeScriptLanguage

GitHub Popularity

GitHub stars4,255
Forks524
Open issues0
Primary languageTypeScript
License-
Stars gained today40
Created-
Last pushed-

Trending History

Daily boardrank #64 · ▲ 40 stars

Related GitHub Projects

1

anthropics / claude-code

TypeScript★ 146,951⑂ 23,997▲ 415 stars
2

OpenCut-app / OpenCut

TypeScript★ 89,948⑂ 8,888▲ 126 stars
3

ZuodaoTech / everyone-can-use-english

TypeScript★ 38,103⑂ 5,221▲ 436 stars
4

supermemoryai / supermemory

TypeScript★ 30,670⑂ 2,676▲ 392 stars
5

browserbase / stagehand

TypeScript★ 24,631⑂ 1,698▲ 146 stars
6

vercel-labs / json-render

TypeScript★ 17,059⑂ 907▲ 585 stars
7

ahmedkhaleel2004 / gitdiagram

TypeScript★ 16,720⑂ 1,275▲ 285 stars
8

Open-Dev-Society / OpenStock

TypeScript★ 16,537⑂ 2,122▲ 752 stars

More Trending Repositories