Top
Best
New

Posted by thellimist 3 hours ago

Making MCP cheaper via CLI(kanyilmaz.me)
55 points | 39 commentspage 2
speedgoose 3 hours ago|
MCP has some schemas though. CLI is a bit of a mess.

But MCP today isn’t ideal. I think we need to have some catalogs where the agents can fetch more information about MCP services instead of filling the context with not relevant noise.

thellimist 3 hours ago||
It's the same from functionality perspective. The schema's are converted to CLI versions of it. It's a UI change more than anything.
groby_b 3 hours ago||
You are free to build tools that emit/ingest json, and provide a json schema upon request.

The point is push vs pull.

andybak 3 hours ago||
Why are they using JSON in the context? I thought we'd figured out that the extra syntax was a waste of tokens?
hiccuphippo 3 hours ago||
Can LLMs compress those documents into smaller files that still retain the full context?
thellimist 2 hours ago|
What do you mean?
hiccuphippo 2 hours ago||
The article says the LLM has to load 15540 tokens every time, I wonder if that can be reduced while retaining the context maybe with deduplications, removing superfluous words, using shorter expressions with the same meaning or things like that.
jbellis 2 hours ago||
You just reinvented Skills
thellimist 2 hours ago||
I don't prefer to use online skills where half has malware

Official MCPs are trusted. Official MCPs CLIs are trusted.

esafak 2 hours ago||
Did he? Skills are for CLIs, not for converting MCPs into CLIs.
slopinthebag 2 hours ago||
I've seen folks say that the future of using computers will be with an LLM that generates code on the fly to accomplish tasks. I think this is a bit ridiculous, but I do think that operating computers through natural language instructions is superior for a lot of cases and that seems to be where we are headed.

I can see a future where software is built with a CLI interface underneath the (optional) GUI, letting an LLM hook directly into the underlying "business" logic to drive the application. Since LLM's are basically text machines, we just need somebody to invent a text-driven interface for them to use...oh wait!

Imagine booking a flight - the LLM connects to whatever booking software, pulls a list of commands, issues commands to the software, and then displays the output to the user in some fashion. It's basically just one big language translation task, something an LLM is best at, but you still have the guardrails of the CLI tool itself instead of having the LLM generate arbitrary code.

Another benefit is that the CLI output is introspectable. You can trace everything the LLM is doing if you want, as well as validate its commands if necessary (I want to check before it uses my credit card). You don't get this if it's generating a python script to hit some API.

Even before LLM's developers have been writing GUI applications as basically a CLI + GUI for testability, separation of concerns etc. Hopefully that will become more common.

Also this article was obviously AI generated. I'm not going to share my feelings about that.

thellimist 2 hours ago|
Ofc it is written by ai, I have a skill for it -

https://github.com/thellimist/thellimist.github.io/blob/mast...

https://github.com/thellimist/thellimist.github.io/blob/mast...

I dump a voice message, then blog comes out. Then I modify a bunch of things, and iterate 1-2 hours to get it right

slopinthebag 2 hours ago||
Might need to iterate on them more because it's still quite obviously machine written, and a lot of people find it disrespectful to read content that was LLM generated.
crooked-v 3 hours ago||
Cheaper, but is it more effective?

I know I saw something about the Next.js devs experimenting with just dumping an entire index of doc files into AGENTS.md and it being used significantly more by Claude than any skills/tool call stuff.

thellimist 3 hours ago|
personal experience, definitely yes. You can try it out with `gh` rather than `Github MCP`. You'll see the difference immediately (espicially more if you have many MCPs)
esafak 2 hours ago||
The models are trained on gh though. Try with a lesser-known CLI.
thellimist 1 hour ago||
I did - I have my almost a dozen CLIs that are custom built that I'm using. Very reliable.

It still needs to do discovery (--help etc.), always gets the job done

vasco 2 hours ago||
A lot of providers already have native CLI tools with usually better auth support and longer sessions than MCP as well as more data in their training set on how to use those cli tools for many things. So why convert mcp->cli tool instead of using the existing cli tools in the first place? Using the atlassian MCP is dog shit for example, but using acli is great. Same for github, aws, etc.
econ 3 hours ago||
I had deepseek explain MCP to me. Then I asked what was the point of persistent connections and it said it was pretty much hipster bullshit and that some url to post to is really enough for an llm to interact with things.
xyzsparetimexyz 1 hour ago|
lol
wangzhongwang 1 hour ago||
[dead]
dang 3 hours ago|
The article's link to clihub.sh is broken. Looks like https://clihub.org/ is the correct link? I've added that to the toptext as well.

Edit: took out because I think that was something different.

thellimist 3 hours ago|
Good catch.

I didn't release the website yet. I'll remove the link