Tools: Code Is All You Need

A blog post arguing that agents should write and run code, not call MCP tools.

Author
Armin Ronacher
Published
3 July 2025
Kind
Personal blog post, with one worked example
Original
lucumr.pocoo.org/2025/7/3/tools/
Subject
Coding with agents

What it is

Armin Ronacher is a software developer who writes a personal blog. The post explains why Ronacher dislikes the Model Context Protocol (MCP) as it works today. It argues that code generation composes better and uses context more efficiently. It ends with ideas for what might replace MCP.

What it says

What evidence it gives

The evidence is one detailed anecdote, the blog conversion, plus a Playwright example. The post suggests readers try one GitHub task with the MCP, then with gh. It reports no measurements, token counts or benchmarks.

Interests and limits

This is one developer's experience, mostly in agentic coding. Critics say MCP may suit end-user apps. The post answers with argument, not a test. The author does not report a test of the future tool-filtering approaches. Results from one blog conversion may not carry over to other tasks. The author says the Playwright approach works only where the page is already known.