Cloudflare

Code Mode: give agents an entire API in 1,000 tokens

Feb 20, 2026Matt Carey
Code Mode: give agents an entire API in 1,000 tokens
SummaryAI, from the source post

Introduced a new Model Context Protocol (MCP) server for the entire Cloudflare API that leverages 'Code Mode' to significantly reduce token usage. This server provides access to over 2,500 API endpoints through just two tools, `search()` and `execute()`, enabling AI agents to interact with Cloudflare services efficiently. Also open-sourced a Code Mode SDK for developers to implement similar patterns.

More from the Artificial Intelligence Integration & Impact trail