Cloudflare Blog company blog

Code Mode: the better way to use MCP

It turns out we've all been using MCP wrong. Most agents today use MCP by exposing the "tools" directly to the LLM. We tried something different: Convert the MCP tools into a TypeScript API, and then ask an LLM to write code that calls that API. The results are striking.
Points
84
HN comments
11
Submissions
1
Cited by
20 commenters

Tools & ProductivityAI & Machine Learning2025

On Hacker News

SubmittedTitle on HNPointsComments
Sep 27, 2025Code Mode: the better way to use MCP by the_mitsuhiko8411

Cited in comments

Linked from 30 Hacker News comments by 20 different people, from Sep 2025 to Oct 2026.

Most recent:

Search every comment that links here →

More from Cloudflare Blog

All 326 posts →

Related posts from the same era