Navigation überspringen
MCP sucking is a harness problem, not an MCP problem
0:00 / 0:48

MCP sucking is a harness problem, not an MCP problem

Rhys

@RhysSullivan62.440 Follower

Auf X besuchen
1.393 LikesHerunterladenOriginalbeitrag

377.033 Aufrufe

MCP sucking is a harness problem, not an MCP problem MCP unlocks behavior that is fundamentally impossible to get via CLI or APIs Bad auth, too much context usage, all get solved with an execution layer - your agent writes code to progressively discover and call tools

53 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von dax

    @thdxr

    we should talk about this more, i think everyone is starting from the wrong point this is entirely a product problem IMO not technical

    142 Likes

  • Profilbild von Rhys

    @RhysSullivan

    I care so much about this problem because we’re careening towards throwing the baby out with the bath water MCP is incredibly good for being able to get the user in the loop and we finally understand how to implement it correctly, CLIs don’t do this

    106 Likes

  • Profilbild von Armin Ronacher ⇌

    @mitsuhiko

    For as long as MCP tools return unstructured data the execution layer is irrelevant. You can't do anything with it when the result is markdown or MCPs change their behavior every few days.

    57 Likes

  • Profilbild von Rhys

    @RhysSullivan

    it's not hugely different than CLIs though right since there's no guarantees or information around what those return it did shock me though when I saw MCP didn't require return typing, i hope they make a breaking change to enforce that

    15 Likes

  • Profilbild von Georges Haidar

    @ghaidar0

    @mitsuhiko It does have support for outputSchema on tools though? It came in a later spec revision but it's there and it's used by things like ChatGPT/MCP Apps for example.

  • Profilbild von Armin Ronacher ⇌

    @mitsuhiko

    @RhysSullivan But the issue is that people don’t use it. Might change but right now the state of MCP servers is that they usually output text.

  • Profilbild von Georges Haidar

    @ghaidar0

    @RhysSullivan Understood but isn't that true for everything. CLIs didn't typically an `api` subcommand and schema introspection and they'll increasingly do because it's valuable. It's all moving so fast that present day indictments of this tech feel a little hasty.

  • Profilbild von Armin Ronacher ⇌

    @mitsuhiko

    @RhysSullivan The discussion here was mostly one about the executor. Today you have two options: build an executor and try to make it work with present day MCPs (I failed), write skills and give it a code execution environment against an API (I find that to work very well).

    4 Likes

  • Profilbild von Rhys

    @RhysSullivan

    I don’t hugely see how my implementation of an executor is different than skills + code execution You add APIs to executor and when something requires approval under the hood it uses MCP elicitation - the MCP part is very minimal it’s just to have a standard way to load it into the harness & do approvals - but is fundamentally still calling APIs

    1 Like

  • Profilbild von Armin Ronacher ⇌

    @mitsuhiko

    @ghaidar0 The difference is that with a skill: I / the agent writes the skill. With MCP the executor can only be the consumer of something someone else provides, and what is being provided today, just cannot really be optimized from my testing.

    3 Likes

  • Profilbild von Daniel

    @nearlydaniel

    this is a fair point, the default impl is just goofy "it blows up your context window" ok, just parse it then --- however, models being "good" at CLIs because there's so much training data is real

    10 Likes

  • Profilbild von Rhys

    @RhysSullivan

    thats what codemode solves though, just have them write code to call tools - they're even better at writing code than they are calling CLIs

    8 Likes

  • Profilbild von Rhys

    @RhysSullivan

    further reading - you guys should check it out it's a great primitive

    1 Like

  • Profilbild von Viv

    @Vtrivedy10

    biggest disservice to MCPs was simply poor design wrt context eng, ie. dumping as OpenAPI spec there’s now layers for progressive loading, tool search, that help mitigate I liked your blog and directionally agree with the points you make but also really like the form factor and ease of use of CLIs though and agents are decently good at them IF you design them well (which is also true for MCPs)

    8 Likes

  • Profilbild von Isaac Dyor

    @isaacdyor

    Why would you want it to write code to find an mcp vs just writing code to call the api?

    7 Likes

  • Profilbild von Rhys

    @RhysSullivan

    read the reply i put to this tweet

  • Profilbild von dan

    @irl_danB

    @badlogicgames > MCP unlocks behavior that is fundamentally impossible to get via CLI or APIs specifically what behavior is possible with MCP and not with a CLI?

    4 Likes

  • Profilbild von Rhys

    @RhysSullivan

    @badlogicgames having a way to specify destructive actions and elicit input from the user CLI pushes you too far into dangerously skip permissions today

    4 Likes

  • Profilbild von dan

    @irl_danB

    I may be missing something but you can build a CLI/API flow that elicits permission from a user. I have done that entirely with a payment step in the middle, shipped as a skill, no MCP needed. the cli is just authorized, many already do this. and you can just do good API design to enable destructive actions in a safe way many CLIs do this: aws, flyctl, gh, etc.

    9 Likes

  • Profilbild von Cat Wearing a Hat

    @Phatmandrake

    @RhysSullivan @badlogicgames Literally this the modus of the interface is immaterial. CLI's can functionally work like MCP if attached in a specific manner. It's just traditionally they're not setup that way.

    2 Likes