Live data from Hacker News

Model Context Protocol

anthropic.com

241–250 of 283 posts

Re: Model Context Protocol

#242

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

I read through several of the top level pages, then SQLite, but still had no idea what was meant by "context" as it's a highly ambiguous word and is never mentioned with any concrete definition, example, or scope of capability that it is meant to imply. After reading the Python server tutorial, it looks like there is some tool calling going on, in the old terminology. That makes more sense. But none of the examples s…

[deleted]

Re: Model Context Protocol

#244
post #243

Computer Science: There's nothing that can't be solved by adding another layer.

it's actually software engineering! computer science can solve everything by drawing more graphs with a pencil.

Re: Model Context Protocol

#246
How does this work for access controlled data ? I don't see how to pass auth credentials?

Required for

- corporate data sources, e g. Salesforce

- APIs with key limits and non-trivial costs

- personal data sources e.g. email

It appears that all auth is packed into the MCP config, e.g. slack token: https://github.com/modelcontextprotocol/servers/tree/main/sr...

Re: Model Context Protocol

#248

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

Any ideas on how the concepts here will mesh with the recently released Microsoft.Extensions.AI library released by MS for .NET, that is also supposed to make it easy to work with different models in a standardized way?

Re: Model Context Protocol

#249
post #134

Earlier quoted context omitted.

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.

A possible cheap win for servers would be to support the systemd "here's an fd number you get exec'ed with" model - that way server code that's only written to do read/write on a normal fd should be trivial to wire up to unix sockets, TCP sockets, etc.

(and then having a smol node/bun/go/whatever app that can sit in front of any server that handles stdio - or a listening socket for a server that can handle multiple clients - and translates the protocol over to SSE or websockets or [pick thing you want here] lets you support all such servers with a single binary to install)

Not that there aren't advantages to having such things baked into the server proper, but making 'writing a new connector that works at all' as simple as possible while still having access to multiple approaches to talk to it seems like something worthy of consideration.

[possibly I should've put this into the discussion, but I have to head out in a minute or two; anybody who's reading this and engaging over there should feel free to copy+paste anything I've said they think is relevant]

Re: Model Context Protocol

#250

Earlier quoted context omitted.

I read through several of the top level pages, then SQLite, but still had no idea what was meant by "context" as it's a highly ambiguous word and is never mentioned with any concrete definition, example, or scope of capability that it is meant to imply. After reading the Python server tutorial, it looks like there is some tool calling going on, in the old terminology. That makes more sense. But none of the examples s…

Thank you. That’s good feedback. The gist of it is: you have an llm application such as Claude desktop. You want to have it interact (read or write) with some system you have. MCP solves this. For example you can give the application the database schema as a “resource”, effectively saying; here is a bunch of text, do whatever you want with it during my chat with the llm. Or you can give the application a tool such as…

Does it give a standard way to approve changes? I wouldn't want to give an LLM access to my database unless I can approve the changes it applies.
Post reply on HN