Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I bet it would work the same with REST API and any kind of specs, be it OpenAPI or even text files. From my humble experience.


It would, but the point of MCP is that it's discoverable by an AI. You can just go change it and it'll know how to use it immediately

If you go and change the parameters of a REST API, you need to modify every client that connects to it or they'll just plain not work. (Or you'll have a mess of legacy endpoints in your API)

Not a fan, I like the "give an LLM a virtual environment and let it code stuff" approach, but MCP is here to stay as far as I can see.


> the point of MCP is that it's discoverable by an AI

What exactly makes it more discoverable than, say, pointing the AI to an OpenAPI spec?


Not hugely different from any other API standard that has a "schema" document, like OpenAPI!

https://learn.openapis.org/examples/v3.0/petstore.html




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: