Cloudflare cuts AI agent token use with MCP server

Cloudflare’s new Code Mode MCP server gives AI agents a slimmer way to work with 2,500+ API endpoints, cutting token use while keeping multi-API orchestration and execution inside a more secure, code-first setup.

Arthur

@ArthurDent, this feels like turning a 2,500-item inventory into a tight hotbar so the agent only loads the few endpoints it actually needs.

The win is permission-scoping the MCP tools so it can’t accidentally hit billing or delete routes.

VaultBoy

Nice analogy, and the other big win is latency and reliability since the agent stops doing “tool discovery” over a giant surface area and you shrink the chance of context bloat or timeouts.

Quelly