Live data from Hacker News

Model Context Protocol

anthropic.com

131–140 of 283 posts

Re: Model Context Protocol

#131
post #115

Does aider benefit from this? Big part of aiders special sauce is the way it builds context, so it feels closely related but I don't know how the pieces would fit together here

My guess is more can be done locally. Then again I only understand ~2 of this and aider.

Re: Model Context Protocol

#132

This is great but will be DOA if OpenAI (80% market share) decides to support something else. The industry trend is that everything seems to converge to OpenAI API standard (see also the recent Gemini SDK support for OpenAI API).

I wonder if they'll have any luck convincing other LLM vendors, such as Google, Meta, xAI, Mistral, etc, to adopt this protocol. If enough other vendors adopt it, it might still see some success even if OpenAI doesn't.

Also, I wonder if you could build some kind of open source mapping layer from their protocol to OpenAI's. That way OpenAI could support the protocol even if they don't want to.

Re: Model Context Protocol

#134
post #91

Earlier quoted context omitted.

Superb work and super promising! I had wished for a protocol like this. Is there a recommended resource for building MCP client? From what I've seen it just mentions Claude desktop & co are clients. SDK readme seems to cover it a bit but some examples could be great.

We are still a bit light on documentation on how to integrate MCP into an application. The best starting point are the respective client parts in the SDK: https://github.com/modelcontextprotocol/typescript-sdk/tree/... and https://github.com/modelcontextprotocol/python-sdk/tree/main... , as well as the official specification documentation at https://spec.modelcontextprotocol.io . If you run into issues, feel free to…

Thanks for the pointers! Will do. I've fired up https://github.com/modelcontextprotocol/inspector and the code looks helpful too.

I'm looking at integrating MCP with desktop app. The spec (https://spec.modelcontextprotocol.io/specification/basic/tra...) mentions "Clients SHOULD support stdio whenever possible.". The server examples seem to be mostly stdio as well. In the context of a sandboxed desktop app, it's often not practical to launch a server as subprocess because:

- sandbox restrictions of executing binaries

- needing to bundle binary leads to a larger installation size

Would it be reasonable to relax this restriction and provide both SSE/stdio for the default server examples?

Re: Model Context Protocol

#135

@jspahrsummers and I have been working on this for the last few months at Anthropic. I am happy to answer any questions people might have.

Is it at least somewhat in sync with plans from Microsoft , OpenAI and Meta? And is it compatible with the current tool use API and computer use API that you’ve released? From what I’ve seen, OpenAI attempted to solve the problem by partnering with an existing company that API-fys everything. This feels looks a more viable approach, if compared to effectively starting from scratch.

What's the name of the company that OpenAI's partnered with? Just curious.

Re: Model Context Protocol

#136
post #67

Earlier quoted context omitted.

I just want to say kudos for the design of the protocol. Seems inspired by https://langserver.org/ in all the right ways. Reading through it is a delight, there's so many tasteful little decisions. One bit of constructive feedback: the TypeScript API isn't using the TypeScript type system to its fullest. For example, for tool providers, you could infer the type of a tool request handler's params from the json schema…

This is a great idea! There's also the matter of requests' result types not being automatically inferred in the SDK right now, which would be great to fix. Could I convince you to submit a PR? We'd love to include community contributions!

[dead]

Re: Model Context Protocol

#137

Something is telling me this _might_ turn out to be a huge deal; I can't quite put a finger on what is that makes me feel that, but opening private data and tools via an open protocol to AI apps just feels like a game changer.

This is definitely a huge deal - as long as there's a good developer experience - which IMHO we're not there yet!

Re: Model Context Protocol

#139
post #134

Earlier quoted context omitted.

We are still a bit light on documentation on how to integrate MCP into an application. The best starting point are the respective client parts in the SDK: https://github.com/modelcontextprotocol/typescript-sdk/tree/... and https://github.com/modelcontextprotocol/python-sdk/tree/main... , as well as the official specification documentation at https://spec.modelcontextprotocol.io . If you run into issues, feel free to…

Thanks for the pointers! Will do. I've fired up https://github.com/modelcontextprotocol/inspector and the code looks helpful too. I'm looking at integrating MCP with desktop app. The spec ( https://spec.modelcontextprotocol.io/specification/basic/tra... ) mentions "Clients SHOULD support stdio whenever possible.". The server examples seem to be mostly stdio as well. In the context of a sandboxed desktop app, it's oft…

^ asked the question in the discussion: https://github.com/modelcontextprotocol/specification/discus...

Re: Model Context Protocol

#140
post #134

Earlier quoted context omitted.

We are still a bit light on documentation on how to integrate MCP into an application. The best starting point are the respective client parts in the SDK: https://github.com/modelcontextprotocol/typescript-sdk/tree/... and https://github.com/modelcontextprotocol/python-sdk/tree/main... , as well as the official specification documentation at https://spec.modelcontextprotocol.io . If you run into issues, feel free to…

Thanks for the pointers! Will do. I've fired up https://github.com/modelcontextprotocol/inspector and the code looks helpful too. I'm looking at integrating MCP with desktop app. The spec ( https://spec.modelcontextprotocol.io/specification/basic/tra... ) mentions "Clients SHOULD support stdio whenever possible.". The server examples seem to be mostly stdio as well. In the context of a sandboxed desktop app, it's oft…

Having broader support for SSE in the servers repository would be great. Maybe I can encourage you to open a PR or at least an issue.

I can totally see your concern about sandboxed app, particularly for flatpack or similar distribution methods. I see you already opened a discussion https://github.com/modelcontextprotocol/specification/discus..., so let's follow up there. I really appreciate the input.

Post reply on HN