When does MCP make sense vs CLI?
41–50 of 301 posts
Re: When does MCP make sense vs CLI?
#42I don't know about this. I use AI, but I've never used or tried MCP. I've never had any problems with the current tools.
Re: When does MCP make sense vs CLI?
#43I keep asking why the default Claude tools like Read(), Write(), Edit(), MultiEdit(), Replace() tools aren’t just Bash() with some combination of cat, sed, grep, find. Isn’t it just easier to pipe everything through the shell? We just need to figure out the permissions for it.
Because the Tools model allows for finer grained security controls than just bash and pipe. Do you really want Claude doing `find | exec` instead of calling an API that’s designed to prevent damage?
Re: When does MCP make sense vs CLI?
#44Re: When does MCP make sense vs CLI?
#45It's maybe not optimal to conclude anything from these two. The Vienna school of AI agents focuses on self extending agents and that's not really compatible with MCP. There are lots of other approaches where MCP is very entrenched and probably will stick around.
Re: When does MCP make sense vs CLI?
#46Re: When does MCP make sense vs CLI?
#47I keep asking why the default Claude tools like Read(), Write(), Edit(), MultiEdit(), Replace() tools aren’t just Bash() with some combination of cat, sed, grep, find. Isn’t it just easier to pipe everything through the shell? We just need to figure out the permissions for it.
Because the Tools model allows for finer grained security controls than just bash and pipe. Do you really want Claude doing `find | exec` instead of calling an API that’s designed to prevent damage?
Re: When does MCP make sense vs CLI?
#48Re: When does MCP make sense vs CLI?
#49Biggest downside of CLI for me is that it needs to run in a container. You're allowing the agent to run CLI tools, so you need to limit what it can do.
Couldn't that be solved by whitelisting specific commands?
Re: When does MCP make sense vs CLI?
#50MCP has one thing going for it as an agentic API standard: token efficiency The single-request-for-all-abilities model + JSON RPC is more token efficient than most alternatives. Less flexible in many ways, but given the current ReAct, etc. model of agentic AI, in which conversations grow geometrically with API responses, token efficiency is very important.
I've been creating a cli tool with a focus on token efficiency. Dont see why cli could not be as token efficient as mcp. The cli has the option to output ascii, markdown and json.
I say this as a hypermedia enthusiast who was hoping to show otherwise.