Skip navigation
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

@RhysSullivan62K followers

Visit on X
1,393 likesDownloadOriginal post

377,033 views

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 Comments

Comments from the original post on X (Twitter)

  • dax's profile picture

    @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

  • Rhys's profile picture

    @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

  • Armin Ronacher ⇌'s profile picture

    @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

  • Rhys's profile picture

    @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

  • Georges Haidar's profile picture

    @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.

  • Armin Ronacher ⇌'s profile picture

    @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.

  • Georges Haidar's profile picture

    @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.

  • Armin Ronacher ⇌'s profile picture

    @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

  • Rhys's profile picture

    @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

  • Armin Ronacher ⇌'s profile picture

    @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

  • Daniel's profile picture

    @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

  • Rhys's profile picture

    @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

  • Rhys's profile picture

    @RhysSullivan

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

    1 like

  • Viv's profile picture

    @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

  • Isaac Dyor's profile picture

    @isaacdyor

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

    7 likes

  • Rhys's profile picture

    @RhysSullivan

    read the reply i put to this tweet

  • dan's profile picture

    @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

  • Rhys's profile picture

    @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

  • dan's profile picture

    @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

  • Cat Wearing a Hat's profile picture

    @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