← Back to context

Comment by zuzululu

12 hours ago

great post

I find a lot of HN content seems to be doomer farming

i was a big skeptic of MCPs

now i build em

What advantage did you find in MCP vs a traditional API?

  • No OP, but MCP really is just a logical next step once you've got an API. The API is the "low level" protocol, the MCP is the high level one, suited perfectly to an LLM that can call tools (since MCP essentially turns an API into a LLM tool).

    With just an API, the agent needs to "read your API docs" to know how to call it (that can be an OpenAPI spec or even just text).

    With MCP, the agent sees a bunch of tools it can call, and they've been trained to call tools so they nail it.

    One more very important factor is authorization, which no one seems to mention in these discussions. CLIs were made for humans and use primitive mechanisms for authorization: either an API key you hardcode in your environment, or they literally run a background HTTP Server to get a callback OAuth call to receive a token from a browser authentication flow. Incredible that people are happy with that, appparently. With the MCP Authorization spec, you solve authorization across multiple MCP servers in the same standardized way, the LLM client you use just need to know the protocol, not how to login for every single MCP server.

    Very importantly, if the MCP client does the authorization, the MCP provider has auditability: is this a call from a human or from a LLM? That's important in Enterprise! People think it's ok to let an LLM act on behalf of the human but that will eventually bite a lot of people. Did the LLM just try to hack the API while you were mindlessly clicking "yes" when it asked if you wanted to let it do something? Tough luck, there's no way to distinguish an LLM making a mistake from a human maliciously running some attack.

    And as the post mentions, there's also more benefits like being able to "elicit" user input (not just request/response cycles) and the ability to have documentation and assets (skills also have this though).

    • This is a great example of the AI-hype-induced reply.

      > to an LLM that can call tools (since MCP essentially turns an API into a LLM tool).

      "Tools" is literally an API call

      > With MCP, the agent sees a bunch of tools it can call,

      Yes, the agent first calls a specific API that returns the schema for that particular server. It's literally the same.

      > One more very important factor is authorization, which no one seems to mention in these discussions.

      Yes, API calls to services are often gated behind auth. OAuth that MCP uses is from 2006, and its version 2 is from 2012. What do you think it was created for?

      > the MCP provider has auditability: is this a call from a human or from a LLM? That's important in Enterprise

      We had "differentiate these two accounts and audit log their activity" probably since the 1950s

      > there's also more benefits like being able to "elicit" user input

      Two-way communication is also a thing since the 1950s, probably.

      2 replies →