12 ms·
What I've done with my MCPs is turning them into a CLI, except there's still an MCP server that only has the instructions to tell the the agent about the CLI.[1
by zamalek 7mo ago
What I've done with my MCPs is turning them into a CLI, except there's still an MCP server that only has the instructions to tell the the agent about the CLI.[1] Claude and GLM-5 seem to have no problems with it.
As a bonus, the entire thing now works as a plain old CLI too - which it honestly should have from the beginning.
[1]: https://github.com/jcdickinson/ferrisfetch/blob/main/cmd/mcp_prelude.md https://github.com/jcdickinson/ferrisfetch/blob/main/cmd/mcp...
- patates 7mo agoYou don't need a whole server to tell agents that, I think you can just write a skill file or two and be done with it.
- zamalek 7mo agoThat would work, and is still an option. However I think this makes deployment/installation simpler (which is also why I write my MCPs in go).
- antihero 7mo agoCan the MCP tell them how to use the CLI? Surely that would mean less time wasted on discovering it each time. Going to try this with fastmail-cli and see what happens.
- zamalek 7mo agoYes, MCP instructions are a blob that is injected at the start of the context. That file is prefixed to the agent specific help[1] for the instructions (that is returned if --help is invoked with CLAUDE=1 or AGENT=1). [1]: https://github.com/jcdickinson/ferrisfetch/blob/main/cmd/agent_help.md https://github.com/jcdickinson/ferrisfetch/blob/main/cmd/age...