// Cloudflare Blog · 20 February 2026
Code Mode: give agents an entire API in 1,000 tokens
The Cloudflare API has over 2,500 endpoints. Exposing each one as an MCP tool would consume over 2 million tokens. With Code Mode, we collapsed all of it into two tools and roughly 1,000 tokens of context.
Cloudflare Blog
@cloudflare-blog · Matt Carey

blog.cloudflare.com
Read Full Article at blog.cloudflare.comCloudflare Blog@cloudflare-blog
Discussion 0
Loading
Got something to say?
or to join the conversation.