Cloudflare MCP Server
An MCP server that gives an AI agent access to the entire Cloudflare API by generating and running short pieces of code against it, instead of registering thousands of individual tools.
The Cloudflare MCP server exposes Cloudflare's roughly 2,500 API endpoints to MCP-compatible agents through a code-mode approach: rather than registering one tool per endpoint, it gives the agent a small set of tools that let it write and run code against the API, which the project reports cuts token cost from over a million tokens for a full schema listing to about 1,100.
It can be reached at a hosted URL over OAuth, or configured with a Cloudflare API token for CI/CD and automation, and both user and account tokens are supported. Code mode can be disabled with a query parameter, which instead registers an individual tool per endpoint with schemas derived from each endpoint's parameters, for clients that already implement their own code execution.