Airsc is free for everyone. If it helps you, support it with $2–$20.

Support
SkillSafeDeploy & DevOpsSome setup

mcp-server-cloudflare

cloudflare · cloudflare/mcp-server-cloudflare

Manage Cloudflare services, read account configurations, and perform infrastructure changes via natural language.

4.4k stars548License: Apache-2.0Updated 12 days ago0 opens

Preview

▍

What you can do with it

  • Update DNS records or security rules by asking your AI agent
  • Monitor and debug Cloudflare Workers or site performance from the chat
  • Analyze account configurations to get security and performance suggestions

Safety check

Safe

No risky patterns found in the files we scanned.

Automated scan of the repo files. Always review code you run.

From the 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 NameDescriptionServer URL
Code Mode server (recommended)Best when you want broad access across Cloudflare's APIs through code executionhttps://mcp.cloudflare.com/mcp
Documentation serverGet up-to-date reference information on Cloudflarehttps://docs.mcp.cloudflare.com/mcp
Container serverSpin up a sandbox development environmenthttps://containers.mcp.cloudflare.com/mcp
Browser Run serverFetch web pages, convert them to markdown and take screenshotshttps://browser.mcp.cloudflare.com/mcp
Digital Experience Monitoring serverGet quick insight on critical applications for your organizationhttps://dex.mcp.cloudflare.com/mcp
Cloudflare One CASB serverQuickly identify any security misconfigurations for SaaS applications to safeguard users & datahttps://casb.mcp.cloudflare.com/mcp
Cloudflare Blog serverSearch and read posts from the Cloudflare Bloghttps://blog.mcp.cloudflare.com/mcp
Demo Day serverDemonstrate a minimal Cloudflare MCP serverhttps://demo-day.mcp.cloudflare.com/mcp

Deprecated servers

Please migrate to the Cloudflare API MCP Server at your earliest convenience.

Server NameDescriptionServer URL
AI Gateway serverSearch your logs, get details about the prompts and responseshttps://ai-gateway.mcp.cloudflare.com/mcp
Audit Logs serverQuery audit logs and generate reports for reviewhttps://auditlogs.mcp.cloudflare.com/mcp
AutoRAG serverSearch and query account AutoRAG instanceshttps://autorag.mcp.cloudflare.com/mcp
DNS Analytics serverOptimize DNS performance and debug issues based on current setuphttps://dns-analytics.mcp.cloudflare.com/mcp
GraphQL serverGet analytics data using Cloudflare's GraphQL APIhttps://graphql.mcp.cloudflare.com/mcp
Logpush serverGet quick summaries for Logpush job healthhttps://logs.mcp.cloudflare.com/mcp
Observability serverDebug and get insight into your application's logs and analyticshttps://observability.mcp.cloudflare.com/mcp
Radar serverExplore Cloudflare Radar internet insightshttps://radar.mcp.cloudflare.com/mcp
Workers Bindings serverBuild Workers applications with storage, AI, and compute primitiv
View source on GitHub