</>MCP Agents Market
MCP Server

mcp

by cloudflare833TypeScriptUpdated 2026-09-10

MCP server for the Cloudflare API

MCP Agents Market is an independent directory. We are not affiliated with cloudflare or mcp, and we do not host or distribute it. All links point to the official GitHub repository.

Claude DesktopCline

The Cloudflare MCP server provides AI agents with access to the complete Cloudflare API—over 2,500 endpoints—through a token-efficient code mode architecture. Instead of exposing each endpoint as a separate tool (which would consume 244k+ tokens), it uses just three tools that let agents write JavaScript to search the API spec and execute calls dynamically. Agents can manage Workers, KV, R2, D1, Pages, DNS, firewall rules, and dozens of other Cloudflare products through natural language requests, with OAuth or API token authentication.

Key Features

Token-efficient code mode: 2,500+ endpoints in ~1,100 tokens instead of 244k–2M tokens
Three core tools: search API specs, execute requests, and query Cloudflare developer documentation
OAuth authentication (recommended) or API token support for CI/CD and automation
Automatic account ID detection for account-scoped tokens with read permissions
Supports all major Cloudflare products: Workers, KV, R2, D1, Pages, DNS, Stream, AI Gateway, and more
Optional traditional mode (2,500 individual tools) via ?codemode=false query parameter
GraphQL Analytics API detection and seamless handling
Hosted service at https://mcp.cloudflare.com/mcp—no local installation required

Use Cases

  • 01Deploy and manage Cloudflare Workers scripts from AI agent conversations
  • 02Create and configure KV namespaces, R2 buckets, and D1 databases through natural language
  • 03Update DNS records and manage domain configurations via AI assistant
  • 04Query Cloudflare analytics using GraphQL through agent commands
  • 05Automate firewall rule creation and load balancer configuration
  • 06Inspect and troubleshoot Cloudflare resources across multiple products

Related MCP Servers

View more

mcp — FAQ

What is the Cloudflare MCP server?+

It's a hosted Model Context Protocol server that gives AI agents access to the entire Cloudflare API (2,500+ endpoints) using a token-efficient code execution pattern. Agents can manage Workers, DNS, KV, R2, D1, and all other Cloudflare services through natural language.

How do I connect to the Cloudflare MCP server?+

Add the server URL https://mcp.cloudflare.com/mcp to your MCP client configuration as an HTTP server type. OAuth authentication is recommended (you'll be redirected to authorize), or you can use a Cloudflare API token as a bearer token for automation workflows.

Which MCP clients work with the Cloudflare MCP server?+

Any MCP client that supports HTTP/SSE servers can connect, including Claude Desktop, Cline, and other tools that implement the Model Context Protocol standard.

Do I need a Cloudflare API token?+

Not if you use OAuth—the server handles authorization through Cloudflare's interface. For CI/CD or automation, you can create an API token at dash.cloudflare.com/profile/api-tokens with the permissions you need. Note that tokens with IP address filtering are not currently supported.

Is the Cloudflare MCP server free?+

The MCP server itself is hosted by Cloudflare at no cost. You'll need a Cloudflare account and any API usage is subject to your Cloudflare plan limits and pricing.

When should I disable code mode?+

Only disable code mode (via ?codemode=false) if your MCP client already uses code execution or you're composing it with another code mode server to avoid conflicts. This increases token usage from ~1k to ~244k tokens, so use it sparingly.

How do I install mcp?+

Open the source repository on GitHub and follow its README. mcp is a mcp server — MCP Agents Market links you directly to the official repo.

Is mcp free?+

mcp is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches