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
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Sep 27, 2025 | Code Mode: the better way to use MCP by the_mitsuhiko | 84 | 11 |
Cited in comments
Linked from 30 Hacker News comments by 20 different people, from Sep 2025 to Oct 2026.
Most recent:
- kentonv · Oct 9, 2026
- sqwxl · Oct 7, 2026
- octoberfranklin · Oct 1, 2026
- MikhailTal · Aug 22, 2026
- skinfaxi · Aug 22, 2026
- Fe2O3 · Aug 10, 2026