News for hackers. Stuff that matters.
Re:MCP: An (Accidentally) Universal Plugin System by kvdveer on Saturday June 28, 2025 @10:46AM (#44405064)
The main difference between MCP and Rest is that MCP is self described from the very start. REST may have OpenAPI, but it is a later addon, and we haven't quite standardised on using it. The first step of exposing an MCP is describing it, for Rest is is an optional step that's often omitted.
Re:MCP: An (Accidentally) Universal Plugin System by xg15 on Saturday June 28, 2025 @11:31AM (#44405406)
Is it "self-described" in the sense I can get a list of endpoints or methods, with a human- (or LLM-) readable description for each - or does it supply actual schemata that I could also use with non-AI clients?

(Even if only the former, it would of course be a huge step forward, as I could have the LLM generate schemata. Also, at least, everyone is standardizing on a base protocol now, and a way to pass command names, arguments, results, etc. That's already a huge step forward in contrast to arbitrary Rest+JSON or even HTTP APIs)

Re:MCP: An (Accidentally) Universal Plugin System by Spivak on Saturday June 28, 2025 @12:27PM (#44405929)
For each tool you get the human description as well as a JSON schema for the parameters needed to call the function.
Re:MCP: An (Accidentally) Universal Plugin System by talos_ on Saturday June 28, 2025 @02:22PM (#44406914)
You're getting an arbirary string back though...
Re:MCP: An (Accidentally) Universal Plugin System by jcelerier on Saturday June 28, 2025 @05:26PM (#44408311)
how else would you describe an arbitrary tool?
Re:MCP: An (Accidentally) Universal Plugin System by Szpadel on Saturday June 28, 2025 @11:22AM (#44405329)
isn't also SOAP self described?
Re:MCP: An (Accidentally) Universal Plugin System by souldeux on Saturday June 28, 2025 @11:31AM (#44405396)
And gRPC with reflection, yeah?
Re:MCP: An (Accidentally) Universal Plugin System by hansonkd on Saturday June 28, 2025 @12:39PM (#44406040)
and GQL with reflection?
Re:MCP: An (Accidentally) Universal Plugin System by notpushkin on Saturday June 28, 2025 @01:29PM (#44406479)
JSON-LD?
Re:MCP: An (Accidentally) Universal Plugin System by gaunds on Saturday June 28, 2025 @12:53PM (#44406167)
खस्नादिर्बीद Skdbiebdjv
Re:MCP: An (Accidentally) Universal Plugin System by kerng on Saturday June 28, 2025 @03:13PM (#44407335)
When I read about MCP the first time and saw that it requires a "tools/list" API reminded me of COM/DCOM/ActiveX from Microsoft, it had things like QueryInterface and IDispatch. And I'm sure that wasn't the first time someone came up with dynamic runtime discovery of APIs a server offers.

Interestingly, ActiveX was quite the security nightmare for very similar reasons actually, and we had to deal with infamous "DLL Hell". So, history repeats itself.

Re:MCP: An (Accidentally) Universal Plugin System by light_hue_1 on Saturday June 28, 2025 @10:47AM (#44405072)
But you're describing it in a way that is useless to anything but an LLM. It would have been much better if the description language had been more formalized.
Re:MCP: An (Accidentally) Universal Plugin System by Majromax on Saturday June 28, 2025 @11:24AM (#44405346)
> It would have been much better if the description language had been more formalized.

To speculate about this, perhaps the informality is the point. A full formal specification of something is somewhere between daunting and Sisyphean, and we're more likely to see supposedly formal documentation that nonetheless is incomplete or contains gaps to be filled with background knowledge or common sense.

A mandatory but informal specification in plain language might be just the trick, particularly since vibe-APIing encourages rapid iteration and experimentation.

Re:MCP: An (Accidentally) Universal Plugin System by 0x696C6961 on Saturday June 28, 2025 @10:56AM (#44405129)
The description includes an input and output json schema.
Re:MCP: An (Accidentally) Universal Plugin System by jcheng on Saturday June 28, 2025 @07:08PM (#44408914)
Re:MCP: An (Accidentally) Universal Plugin System by 0x696C6961 on Tuesday July 01, 2025 @07:28PM (#44438886)
You're not looking at the latest version. They added output schemas.
Re:MCP: An (Accidentally) Universal Plugin System by jcheng on Wednesday July 02, 2025 @03:48PM (#44448037)
Thank you!