← Registry
MCP Official

Cloudflare MCP Server (Code Mode)

A token-efficient remote MCP server exposing the entire Cloudflare API (~2,500 endpoints) via a Code Mode search/execute pattern at mcp.cloudflare.com.

Install

npx mcp-remote https://mcp.cloudflare.com/mcp
$

A remote MCP server at mcp.cloudflare.com that exposes roughly 2,500 Cloudflare API endpoints through just three tools while costing about 1k tokens, versus over a million if every endpoint were its own tool. The agent uses docs to search documentation, search to write JavaScript that finds the right endpoint, and execute to call cloudflare.request() in isolated Workers. Reach for it when you want an agent to manage Workers, KV, R2, D1, Pages, or DNS from plain requests without flooding its context; connect via OAuth or an API token.