# Cloudflare MCP Server

> A collection of open-source Model Context Protocol servers that connect MCP clients like Cursor and Claude to Cloudflare's services via natural language.

Cloudflare MCP Server is an open-source repository of domain-specific Model Context Protocol (MCP) servers built and maintained by Cloudflare under the Apache 2.0 license. Each server exposes a standardized `/mcp` endpoint, allowing MCP clients such as Cursor, Claude, and the Cloudflare AI Playground to interact with Cloudflare's platform using natural language. The project has accumulated over 4,000 GitHub stars since its creation in November 2024.

## What It Is

The Cloudflare MCP Server repository provides a suite of purpose-built MCP servers, each targeting a specific Cloudflare product area. Rather than offering a single monolithic API bridge, the project delivers curated, typed tools for individual domains — from DNS analytics and observability to AI Gateway and browser rendering. Each server exposes the same stateless Streamable HTTP handler at `/mcp` and `/sse` through a fresh SDK v2 server factory, with OAuth, credentials, and account selection handled as application/security state where required.

## Included Servers

The repository currently ships 16 named servers:

- **Documentation server** — up-to-date Cloudflare reference information
- **Workers Bindings server** — build Workers apps with storage, AI, and compute primitives
- **Workers Builds server** — insights and management for Cloudflare Workers Builds
- **Observability server** — debug application logs and analytics
- **Container server** — spin up sandbox development environments
- **Browser Run server** — fetch web pages, convert to markdown, take screenshots
- **Logpush server** — summaries for Logpush job health
- **AI Gateway server** — search logs, inspect prompts and responses
- **AutoRAG server** — search and query AutoRAG instances
- **Audit Logs server** — query audit logs and generate reports
- **DNS Analytics server** — optimize DNS performance and debug issues
- **Digital Experience Monitoring server** — insight on critical organizational applications
- **Cloudflare One CASB server** — identify security misconfigurations for SaaS applications
- **Radar server** — explore Cloudflare Radar internet insights
- **Cloudflare Blog server** — search and read Cloudflare Blog posts
- **Demo Day server** — minimal reference implementation

## Architecture and Transport

Every server in the repository shares a common stateless Streamable HTTP handler. The `/sse` path is retained as a URL compatibility alias but does not use the deprecated HTTP+SSE transport. Modern 2026 requests and stateless 2025 requests share the same request-scoped implementation without an MCP protocol session. This design keeps each server independently deployable at its own subdomain under `*.mcp.cloudflare.com`.

Cloudflare also maintains a separate **Code Mode server** (`mcp.cloudflare.com`) in the `cloudflare/mcp` repository, which provides broad API coverage across many Cloudflare products via code execution. The domain-specific servers in this repository are recommended when users want guided, typed interactions within a single product area.

## Integration with OpenAI and Other Clients

The servers are compatible with any MCP client that supports remote-server connections. The README documents how to use these servers with OpenAI's Responses API by supplying an API token with the appropriate scopes from the Cloudflare dashboard. The Cloudflare AI Playground also accepts server URLs directly in its interface.

## Update: stack-mcp@0.1.3

The latest release, `stack-mcp@0.1.3`, was published on July 30, 2026. The repository remains actively maintained, with the last push on the same date and 50 open issues tracked on GitHub. The project direction continues to expand domain-specific server coverage across Cloudflare's product surface, with the README noting that more functionality is being added to the remote MCP server collection.

## Features
- 16 domain-specific MCP servers for Cloudflare products
- Stateless Streamable HTTP handler at /mcp and /sse endpoints
- Natural language access to Cloudflare account configurations
- Workers Bindings, Builds, and Observability servers
- Browser Run server for web page fetching and screenshots
- AI Gateway server for prompt/response log search
- AutoRAG server for querying RAG instances
- DNS Analytics server for performance optimization
- Cloudflare One CASB server for SaaS security misconfiguration detection
- Radar server for internet insights
- Audit Logs server for compliance reporting
- Compatible with Cursor, Claude, OpenAI Responses API, and Cloudflare AI Playground
- OAuth and API token-based authentication
- Apache 2.0 open-source license

## Integrations
Cloudflare Workers, Cloudflare AI Gateway, Cloudflare Radar, Cloudflare Logpush, Cloudflare DNS, Cloudflare One CASB, Cloudflare AutoRAG, Cloudflare Browser Rendering, Cursor, Claude, OpenAI Responses API, Cloudflare AI Playground

## Platforms
API, CLI, WEB

## Pricing
Open Source

## Version
stack-mcp@0.1.3

## Links
- Website: https://github.com/cloudflare/mcp-server-cloudflare
- Documentation: https://github.com/cloudflare/mcp-server-cloudflare/blob/main/CONTRIBUTING.md
- Repository: https://github.com/cloudflare/mcp-server-cloudflare
- EveryDev.ai: https://www.everydev.ai/tools/cloudflare-mcp-server
