Menu

1 / 2

Why CLI over MCP?

DEV Community·Marcelo·7 months ago
#D640EHRm
#cli#mcp#ai#webdev#agent
Reading 0:00
15s threshold

Everyone wants to make things agent-friendly now, so are MCPs better than CLIs?

When Claude Code started hitting limits, I began using Kimi (with OpenCode ) alongside Claude. Only then, I realized the portability issue: I needed to set up MCP again on OpenCode, and again for Codex.

While MCPs are tied to the integration layer, CLIs are tied to the operating system. So if you build a CLI, you are betting on something much simpler , that the agent can run a shell command.

A few days ago I asked my friend Marco why Struere , his agent management platform, had a CLI instead of an MCP. He said:

The problem with MCPs is that you add an extra tool to the agent, which by definition makes it work worse. A CLI is different.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.