News for hackers. Stuff that matters.
Re:Show HN: Mcp2cli – One CLI for every API, 96-99% fewer to... by Charon77 on Monday March 09, 2026 @05:25AM (#47306661)
MCP only exists because there's no easy way for AI to run commands on servers.

Oh wait there's ssh. I guess it's because there's no way to tell AI agents what the tool does, or when to invoke it... Except that AI pretty much knows the syntax of all of the standard tools, even sed, jq, etc...

Yeah, ssh should've been the norm, but someone is getting promoted for inventing MCP

Re:Show HN: Mcp2cli – One CLI for every API, 96-99% fewer to... by edgyquant on Monday March 09, 2026 @07:22AM (#47307599)
No it’s more like - because AI can’t know every endpoint and what it does, so MCP allows for injecting the endpoints and a description into context so the ai can choose the right tool without additions steps
Re:Show HN: Mcp2cli – One CLI for every API, 96-99% fewer to... by ekianjo on Monday March 09, 2026 @06:18AM (#47307094)
Agents can't write bash correctly so... I wonder about your claim
Re:Show HN: Mcp2cli – One CLI for every API, 96-99% fewer to... by anonzzzies on Monday March 09, 2026 @06:39AM (#47307267)
They cannot? We have a client from 25 years ago and all the devops for them are massive bash scripts; 1000s of them. Not written by us (well some parts as maintenance) and really the only 'thing' that almost always flawlessly fixes and updates them is claude code. Even with insane bash in bash in bash escaping and all kinds of not well known constructs. It works. So we habe no incentive to refactor or rewrite. We did 5 years ago and postponed as we first had to rewrite their enormous and equally badly written ERP for their factory. Maybe that would not have happened either now...
Re:Show HN: Mcp2cli – One CLI for every API, 96-99% fewer to... by mannyv on Monday March 09, 2026 @03:09PM (#47313906)
It can. Not sure what AI you're using, but Gemini outputs great bash. Of course you need to test it.

You do have to make sure to tell it what platform you're using, because things like MacOS have different CLIs than Linux.