logoalt Hacker News

simonwyesterday at 1:09 PM1 replyview on HN

So you've built your own agent harness that allows the model to call only your CLI but doesn't allow the model to run "env" and view the environment variables itself?

Sounds to me like MCP with a slightly different interface.


Replies

lelanthranyesterday at 1:21 PM

> So you've built your own agent harness that allows the model to call only your CLI but doesn't allow the model to run "env" and view the environment variables itself?

Yes, with the difference being it can call other CLIs, just not arbitrary CLIs.

> Sounds to me like MCP with a slightly different interface.

It is, except that it is not limited to being called from harnesses. Also usable from bash (automated scripts), or even humans if hey want to run it on the command-line.

TBH, my webapp(s) had this prior to 2020, because it made automation simpler so I could write shell scripts to do various things on the WebApp.

show 1 reply