Cloudflare MCP Server

A token-efficient MCP server for the entire Cloudflare API. 2500 endpoints in 1k tokens, powered by Code Mode.

Remote serverstreamable-http

What is the Cloudflare MCP Server?

Cloudflare is an MCP project maintained in the cloudflare/mcp repository. The maintainer describes its purpose as “A token-efficient MCP server for the entire Cloudflare API. 2500 endpoints in 1k tokens, powered by Code Mode”. Read the project documentation for the complete scope.

Hosted connection

The maintainer’s configuration uses https://mcp.cloudflare.com/mcp. It declares streamable-http transport. Check the project’s account and authentication instructions when adding the endpoint to your client.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
docsSearch Cloudflare developer documentation
searchWrite JavaScript to query spec.paths and find endpoints
executeWrite JavaScript to call cloudflare.request() with the discovered endpoints
whoamiReturn the Cloudflare user or account this connection is authenticated as

How to install the Cloudflare MCP Server

{
  "mcpServers": {
    "cloudflare-api": {
      "type": "http",
      "url": "https://mcp.cloudflare.com/mcp"
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.