News for hackers. Stuff that matters.
Re:Show HN: Mcp2cli – One CLI for every API, 96-99% fewer to... by 0coCeo on Friday March 20, 2026 @05:59PM (#47461255)
Mcp2cli is a runtime approach — CLI translation at query time. There's a complementary build-time angle worth knowing about: fixing the schemas directly so they're token-efficient before they're ever served to a client.

We graded 201 MCP servers (3,991 tools, 512K tokens total). 97% have quality issues that waste tokens: descriptions that repeat the parameter name verbatim, markdown formatting inside tool descriptions, missing type info, descriptions starting with 'This tool...' or 'Allows you to...'. None of this helps the LLM; it just costs tokens.

agent-friend fix server.json > fixed.json reduces token count ~30% for most servers without changing functionality. The two approaches stack — fix the schema first, then serve via CLI if needed.

https://github.com/0-co/agent-friend

There are no comments on this comment yet.