Model Context Protocol

(anthropic.com)

811 points | by benocodes a day ago

233 comments

  • somnium_sn a day ago

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

    • epistasis 18 hours ago

      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 seem to indicate what the protocol is, whether it's a RAG sort of thing, do I need to prompt, etc.

      It would be nice to provide a bit more concrete info about capabilities and what the purposes is before getting into call diagrams. What do the arrows represent? That's more important to know than the order that a host talks to a server talks to a remote resource.

      I think this is something that I really want and want to build a server for, but it's unclear to me how much more time I will have to invest before getting the basic information about it!

      • somnium_sn 18 hours ago

        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 query my database. Now the model itself can decide when it wants to query (usually because you said: hey tell me what’s in the accounts table or something similar).

        It’s “bring the things you care about” to any llm application with an mcp client

        • TeMPOraL 18 hours ago

          Or, in short: it's (an attempt to create) a standard protocol to plug tools to LLM app via the good ol' tools/function calling mechanism.

          It's not introducing new capabilities, just solving the NxM problem, hopefully leading to more tools being written.

          (At least that's how I understand this. Am I far off?)

          • jspahrsummers 16 hours ago

            We definitely hope this will solve the NxM problem.

            On tools specifically, we went back and forth about whether the other primitives of MCP ultimately just reduce to tool use, but ultimately concluded that separate concepts of "prompts" and "resources" are extremely useful to express different _intentions_ for server functionality. They all have a part to play!

        • worldsayshi 5 hours ago

          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.

        • shenbomo 4 hours ago

          Great work on the protocol!! I am looking for some examples of creating my own custom client with the Anthropic API leveraging MCP, but I could not find any. Pretty much want to understand how Claude Desktop is integrating with MCP Server along with Anthropic API Can you provide some pointers about the integration? e.g.

          import anthropic

          client = anthropic.Anthropic()

          response = client.messages.create( model="claude-3-5-sonnet-20241022", max_tokens=1024, [mcp_server]=... ## etc.? ... )

      • PeterStuer 12 hours ago

        At first glance it seems to be a proposed standard interface and protocol for describing and offering an external system to the function calling faculity of an LLM.

      • LordDragonfang 19 minutes ago

        > had no idea what was meant by "context" as it's a highly ambiguous word and is never mentioned with any concrete definition

        (forgive me if you know this and are asking a different question, but:)

        I don't know how familiar you are with LLMs, but "context" used in that context generally has the pretty clear meaning of "the blob of text you give in between (the text of) the system prompt and (the text of) the user prompt"[1], which acts as context for the user's request (hence the name). Very often this is the conversation history in chatbot-style LLMs, but it can include stuff like the content of text files you're working with, or search/function results.

        [1] If you want to be pedantic, technically each instance of "text" should say "tokens" there, and the maximum "context" length includes the length of both prompts.

    • nfw2 19 hours ago

      Here are a couple points of confusion for me:

      1. The sampling documentation is confusing. "Sampling" means something very specific in statistics, and I'm struggling to see any connection between the term's typical usage and the usage here. Perhaps "prompt delegation" would be a more obvious term to use.

      Another thing that's confusing about the sampling concept is that it's initiated by a server instead of a client, a reversal of how client/server interactions normally work. Without concrete examples, it's not obvious why or how a server might trigger such an exchange.

      2. Some information on how resources are used would be helpful. How do resources get pulled into the context for queries? How are clients supposed to determine which resources are relevant? If the intention is that clients are to use resource descriptions to determine which to integrate into prompts, then that purpose should be more explicit.

      Perhaps a bigger problem is that I don't see how clients are to take a resource's content into account when analyzing its relevance. Is this framework intentionally moving away from the practice of comparing content and query embeddings? Or is this expected to be done by indices maintained on the client?

    • rictic a day ago

      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 of the corresponding tool's input schema.

      I guess that would be assuming that the model is doing constrained sampling correctly, such that it would never generate JSON that does not match the schema, which you might not want to bake into the reference server impl. It'd mean changes to the API too, since you'd need to connect the tool declaration and the request handler for that tool in order to connect their types.

      • jspahrsummers a day ago

        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!

        • filearts 19 hours ago

          If you were willing to bring additional zod tooling or move to something like TypeBox (https://github.com/sinclairzx81/typebox), the json schema would be a direct derivation of the tools' input schemas in code.

          • rictic 12 hours ago

            The json-schema-to-ts npm package has a FromSchema type operator that converts the type of a json schema directly to the type of the values it describes. Zod and TypeBox are good options for users, but for the reference implementation I think a pure type solution would be better.

    • lmf4lol 3 hours ago

      Hi,

      this is really cool stuff. I just started to write a server and I have a few questions. Not sure if HN is the right place, so where would you suggest to ask them?

      Anyway, if there is no place yet, my questions are:

      - In the example https://modelcontextprotocol.io/docs/first-server/python , what is the difference between read_resources and call_tool. In both cases the call the fetch_weather function. Would be nice to have that explained better. I implemented in my own server only the call_tool function and Claude seems to be able to call it.

      - Where is inputSchema of Tool specified in the docs? It would be nice if inputSchema would be explained a bit better. For instance how can I make a list of strings field that has a default value.

      - How can i view the output of logger? It would be nice to see somewhere an example on how to check the logs. I log some stuff with logger.info and logger.error but I have no clue where I can actually look at it. My work around now is to log to a local file and tail if..

      General feedback

      - PLEASE add either automatic reload of server (hard) or a reload button in the app (probably easier). Its really disrupting to the flow when you have ot restart the app on any change.

      - Claude Haiku never calls the tools. It just tells me it can't do it. Sonnet can do it but is really slow.

      - The docs are really really version 0.1 obviously :-) Please put some focus on it...

      Overall, awesome work!

      Thanks

    • dimitry12 19 hours ago

      Looking at https://github.com/modelcontextprotocol/python-sdk?tab=readm... it's clear that there must be a decision connecting, for example, `tools` returned by the MCP server and `call_tool` executed by the host.

      In case of Claude Desktop App, I assume the decision which MCP-server's tool to use based on the end-user's query is done by Claude LLM using something like ReAct loop. Are the prompts and LLM-generated tokens involved inside "Protocol Handshake"-phase available for review?

    • jari_mustonen an hour ago

      Great work!

      I'm looking at a PostgreSQL integration here: https://github.com/modelcontextprotocol/servers/tree/main/sr...

      I have a case in mind where I would like to connect to multiple databases. Does the integration endpoint specification in claude_desktop_config.json allow us to pass some description so as to differentiate different databases? How?

    • LatticeAnimal 15 hours ago

      I'd love to develop some MCP servers, but I just learned that Claude Desktop doesn't support Linux. Are there any good general-purpose MCP clients that I can test against? Do I have to write my own?

      (Closest I can find is zed/cody but those aren't really general purpose)

    • thenewwazoo a day ago

      How much did you use LLMs or other AI-like tools to develop the MCP and its supporting materials?

    • computerex 21 hours ago

      It seems extremely verbose. Why does the transport mechanism matter? Would have loved a protocol/standard about how best to organize/populate the context. I think MCP touches on that but has too much of other stuff for me.

    • throwup238 a day ago

      Are there any resources for building the LLM side of MCP so we can use the servers with our own integration? Is there a specific schema for exposing MCP information to tool or computer use?

    • xyc a day ago

      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.

      • somnium_sn 21 hours ago

        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 open a discussion in the respective SDK repository and we are happy to help.

        (I've been fairly successful in taking the spec documentation in markdown, an SDK and giving both to Claude and asking questions, but of course that requires a Claude account, which I don't want to assume)

        • xyc 20 hours ago

          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?

          • somnium_sn 20 hours ago

            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.

            • mst 5 hours ago

              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]

          • xyc 20 hours ago
    • codebolt 5 hours ago

      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?

    • instagary a day ago

      What is a practical use case for this protocol?

    • devit 15 hours ago

      Why not use GraphQL instead of inventing a whole new protocol?

      • hansvm 12 hours ago

        That's just quibbling about the details of moving data from point A to point B. You're inventing a new protocol either way.

      • sakesun 12 hours ago

        I agree. GraphQL is highly suitable for this. Anyway, I think just a simple adapter could make it work with this MCP thing.

      • swyx 13 hours ago

        now you have two problems.

    • tcdent a day ago

      Do you have a roadmap for the future of the protocol?

      Is it versioned? ie. does this release constitute an immutable protocol for the time being?

      • jspahrsummers a day ago

        You can read how we're implementing versioning here: https://spec.modelcontextprotocol.io/specification/basic/ver...

        It's not exactly immutable, but any backwards incompatible changes would require a version bump.

        We don't have a roadmap in one particular place, but we'll be populating GitHub Issues, etc. with all the stuff we want to get to! We want to develop this in the open, with the community.

      • bbor a day ago

        Followup: is this a protocol yet, or just a set of libraries? This page is empty: https://spec.modelcontextprotocol.io/

        • jspahrsummers a day ago

          Sorry, I think that's just the nav on those docs being confusing (particularly on mobile). You can see the spec here: https://spec.modelcontextprotocol.io/specification/

          • bbor a day ago

            Ahh thanks! I was gonna say it's broken, but I now see that you're supposed to notice the sidebar changed and select one of the child pages. Would def recommend changing the sidebar link to that path instead of the index -- I would do it myself but couldn't find the sidebar in your doc repos within 5 minutes of looking.

            Thanks for your hard work! "LSP for LLMs" is a fucking awesome idea

    • csomar 15 hours ago

      For Rust, could one leverage the type + docs system to create such a server? I didn't delve into the details but one of the issues of Claude is that it has no knowledge of the methods that are available to it (vs LSP). Will creating such a server make it able to do informed suggestions?

    • slalani304 a day ago

      Super cool and much needed open-standard. Wondering how this will work for websites/platforms that don't have exposed API's (LinkedIn, for example)

      • spullara a day ago

        you build an MCP that does great calling using your own cookies and browser to get around their scraping protections.

    • informal007 16 hours ago

      The result that MCP server returned will be transfer to MCP host(Claude, IDEs, Tools), there are some privacy issues because the process is automatic after one-time permission provided.

      For instance, when there is something wrong for MCP host, it query all data from database and transfer it to host, all data will be leaked.

      It's hard to totally prevent this kind of problem when interacting with local data, But, Is there some actions to prevent this kind of situations for MCP?

      • jspahrsummers 16 hours ago

        Your concerns are very valid. This is partly why right now, in Claude Desktop, it's not possible to grant permission permanently. The most you can do is "Allow for this chat," which applies to one tool from one server at a time.

    • kseifried a day ago

      For additional context the PyPi package: https://pypi.org/project/mcp/

      And the GitHub repo: https://github.com/modelcontextprotocol

    • s3tt3mbr1n1 a day ago

      First, thank you for working on this.

      Second, a question. Computer Use and JSON mode are great for creating a quasi-API for legacy software which offers no integration possibilities. Can MCP better help with legacy software interactions, and if so, in what ways?

      • jspahrsummers a day ago

        Probably, yes! You could imagine building an MCP server (integration) for a particular piece of legacy software, and inside that server, you could employ Computer Use to actually use and automate it.

        The benefit would be that to the application connecting to your MCP server, it just looks like any other integration, and you can encapsulate a lot of the complexity of Computer Use under the hood.

        If you explore this, we'd love to see what you come up with!

    • singularity2001 a day ago

      Is there any way to give a MCP server access for good? Trying out the demo it asked me every single time for permission which will be annoying for longer usage.

      • jspahrsummers a day ago

        We do want to improve this over time, just trying to find the right balance between usability and security. Although MCP is powerful and we hope it'll really unlock a lot of potential, there are still risks like prompt injection and misconfigured/malicious servers that could cause a lot of damage if left unchecked.

    • startupsfail a day ago

      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.

      • kmahorker21 20 hours ago

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

    • bsenftner 8 hours ago

      You guys need a professional documentation person on your team, one that specializes in only writing documentation. I say this because the existing documentation is a confusing mess. This is going to cause all kinds of problems purely because it is weakly explained, and I see incorrect usage of words all over. Even the very beginning definitions of client, host and server are nonstandard.

    • benocodes a day ago

      Seems from the demo videos like Claude desktop app will soon support MCP. Can you share any info on when it will be rolled out?

    • cynicalpeace 20 hours ago

      Was Cursor in any way an inspiration?

  • ianbutler a day ago

    I’m glad they're pushing for standards here, literally everyone has been writing their own integrations and the level of fragmentation (as they also mention) and repetition going into building the infra around agents is super high.

    We’re building an in terminal coding agent and our next step was to connect to external services like sentry and github where we would also be making a bespoke integration or using a closed source provider. We appreciate that they have mcp integrations already for those services. Thanks Anthropic!

    • nichochar 19 hours ago

      As someone building a client which needs to sync with a local filesystem (repo) and database, I cannot emphasize how wonderful it is that there is a push to standardize. We're going to implement this for https://srcbook.com

    • bbor a day ago

      I've been implementing a lot of this exact stuff over the past month, and couldn't agree more. And they even typed the python SDK -- with pydantic!! An exciting day to be an LLM dev, that's for sure. Will be immediately switching all my stuff to this (assuming it's easy to use without their starlette `server` component...)

  • xyc 12 hours ago

    Just tried out the puppeteer server example if anyone is interested in seeing a demo: https://x.com/chxy/status/1861302909402861905. (Todo: add tool use - prompt would be like "go to this website and screenshot")

    I appreciate the design which left the implementation of servers to the community which doesn't lock you into any particular implementation, as the protocol seems to be aiming to primarily solve the RPC layer.

    One major value add of MCP I think is a capability extension to a vast amount of AI apps.

  • valtism 21 hours ago

    This is a nice 2-minute video overview of this from Matt Pocock (of Typescript fame) https://www.aihero.dev/anthropics-new-model-context-protocol...

    • xrd 21 hours ago

      Very nice video, thank you.

      His high level summary is that this boils down to a "list tools" RPC call, and a "call tool" RPC call.

      It is, indeed, very smart and very simple.

  • wbakst an hour ago

    are there any examples of using this with the anthropic API to build something like Claude Desktop?

    the docs aren't super clear yet wrt. how one might actually implement the connection. do we need to implement another set of tools to provide to the API and then have that tool call the MCP server? maybe i'm missing something here?

  • bluerooibos 19 hours ago

    Awesome!

    In the "Protocol Handshake" section of what's happening under the hood - it would be great to have more info on what's actually happening.

    For example, more details on what's actually happening to translate the natural language to a DB query. How much config do I need to do for this to work? What if the queries it makes are inefficient/wrong and my database gets hammered - can I customise them? How do I ensure sensitive data isn't returned in a query?

    • jihadjihad 17 hours ago

      One thing I am having a hard time wrapping my head around is how to reliably integrate business logic into a system like this. Just hook up my Rails models etc. and have it use those?

      Let’s say I’ve got a “widgets” table and I want the system to tell me how many “deprecated widgets” there are, but there is no convenient “deprecated” flag on the table—it’s defined as a Rails scope on the model or something (business logic).

      The DB schema might make it possible to run a simple query to count widgets or whatever, but I just don’t have a good mental model of how these systems might work with “business logic” type things.

      • thinkmorebetter 2 hours ago

        Sounds like you may want an MCP server for your Rails API instead of connecting directly to db.

    • merpnderp 18 hours ago

      This is exactly what I've been trying to figure out. At some point the LLM needs to produce text, even if it is structured outputs, and to do that it needs careful prompting. I'd love to see how that works.

  • jascha_eng a day ago

    Hmm I like the idea of providing a unified interface to all LLMs to interact with outside data. But I don't really understand why this is local only. It would be a lot more interesting if I could connect this to my github in the web app and claude automatically has access to my code repositories.

    I guess I can do this for my local file system now?

    I also wonder if I build an LLM powered app, and currently simply to RAG and then inject the retrieved data into my prompts, should this replace it? Can I integrate this in a useful way even?

    The use case of on your machine with your specific data, seems very narrow to me right now, considering how many different context sources and use cases there are.

    • jspahrsummers a day ago

      We're definitely interested in extending MCP to cover remote connections as well. Both SDKs already support an SSE transport with that in mind: https://modelcontextprotocol.io/docs/concepts/transports#ser...

      However, it's not quite a complete story yet. Remote connections introduce a lot more questions and complexity—related to deployment, auth, security, etc. We'll be working through these in the coming weeks, and would love any and all input!

      • jascha_eng a day ago

        Will you also create some info on how other LLM providers can integrate this? So far it looks like it's mostly a protocol to integrate with anthropic models/desktop client. That's not what I thought of when I read open-source.

        It would be a lot more interesting to write a server for this if this allowed any model to interact with my data. Everyone would benefit from having more integration and you (anthropic) still would have the advantage of basically controlling the protocol.

        • somnium_sn a day ago

          Note that both Sourcegraph's Cody and the Zed editor support MCP now. They offer other models besides Claude in their respective application.

          The Model Context Protocol initial release aims to solve the N-to-M relation of LLM applications (mcp clients) and context providers (mcp servers). The application is free to choose any model they want. We carefully designed the protocol such that it is model independent.

          • jascha_eng a day ago

            LLM applications just means chat applications here though right? This doesn't seem to cover use cases of more integrated software. Like a typical documentation RAG chatbot.

        • nl 19 hours ago

          OpenAI has Actions which is relevant for this too: https://platform.openai.com/docs/actions/actions-library

          Here's one for performing GitHub actions: https://cookbook.openai.com/examples/chatgpt/gpt_actions_lib...

    • mike_hearn a day ago

      Local only solves a lot of problems. Our infrastructure does tend to assume that data and credentials are on a local computer - OAuth is horribly complex to set up and there's no real benefit to messing with that when local works fine.

    • TeMPOraL 19 hours ago

      I'm honestly happy with them starting local-first, because... imagine what it would look like if they did the opposite.

      > It would be a lot more interesting if I could connect this to my github in the web app and claude automatically has access to my code repositories.

      In which case the "API" would be governed by a contract between Anthropic and Github, to which you're a third party (read: sharecropper).

      Interoperability on the web has already been mostly killed by the practice of companies integrating with other companies via back-channel deals. You are either a commercial partner, or you're out of the playground and no toys for you. Them starting locally means they're at least reversing this trend a bit by setting a different default: LLMs are fine to integrate with arbitrary code the user runs on their machine. No need to sign an extra contact with anyone!

    • bryant a day ago

      > It would be a lot more interesting if I could connect this to my github in the web app and claude automatically has access to my code repositories.

      From the link:

      > To help developers start exploring, we’re sharing pre-built MCP servers for popular enterprise systems like Google Drive, Slack, GitHub, Git, Postgres, and Puppeteer.

      • jascha_eng a day ago

        Yes but you need to run those servers locally on your own machine. And use the desktop client. That just seems... weird?

        I guess the reason for this local focus is, that it's otherwise hard to provide access to local files. Which is a decently large use-case.

        Still it feels a bit complicated to me.

    • singularity2001 a day ago

      For me it's complementary to openai's custom GPTs which are non-local.

  • thoughtlede 8 hours ago

    If function calling is sync, is MCP its async counterpart? Is that the gist of what MCP is?

    Open API (aka swagger) based function calling is standard already for sync calls, and it solves the NxM problem. I'm wondering if the proposed value is that MCP is async.

  • rahimnathwani 17 hours ago

    In case anyone else is like me and wanted to try the filesystem server before anything else, you may have found the README insufficient.

    You need to know:

    1. The claude_desktop_config.json needs a top-level mcpServer key, as described here: https://github.com/modelcontextprotocol/servers/pull/46/comm...

    2. If you did this correctly the, after you run Claude Desktop, you should see a small 'hammer' icon (with a number next to it) next to the labs icon, in the bottom right of the 'How can Claude help you today?' box.

    • memothon 12 hours ago

      Yeah this was a huge foot gun

  • lmeyerov 4 hours ago

    Moving from langchain interop to protocol interop for tools is great

    Curious:

    1. Authentication and authorization is left as a TODO: what is the thinking, as that is necessary for most use?

    2. Ultimately, what does MCP already add or will add that makes it more relevant than OpenApI / a pattern on top?

  • delegate 8 hours ago

    I appreciate the effort, but after spending more than one hour on it, I still don't understand how and why I'd use this.

    The Core architecture [1] documentation is given in terms of TypeScript or Python abstractions, adding a lot of unnecessary syntactic noise for someone who doesn't use these languages. Very thin on actual conceptual explanation and full of irrelevant implementation details.

    The 'Your first server'[2] tutorial is given in terms of big chunks of python code, with no explanation whatsoever, eg:

        Add these tool-related handlers:
        ...100 lines of undocumented code...
    
    
    The code doesn't even compile. I don't think this is ready for prime time yet so I'll move along for now.

    [1] https://modelcontextprotocol.io/docs/concepts/architecture [2] https://modelcontextprotocol.io/docs/first-server/python

  • ado__dev a day ago

    You can use MCP with Sourcegraph's Cody as well

    https://sourcegraph.com/blog/cody-supports-anthropic-model-c...

  • jvalencia a day ago

    I don't trust an open source solution by a major player unless it's published with other major players. Otherwise, the perverse incentives are too great.

    • stanleydrew 19 hours ago

      What risk do you foresee arising out of perverse incentives in this case?

      • jvalencia 18 hours ago

        Changing license terms, aggressive changes to the API to disallow competition, horrendous user experience that requires a support contract. I really don't think there's a limit to what I've seen other companies do. I generally trust libraries that competitors are maintaining jointly since there is an incentive toward not undercutting anyone.

  • sunleash 16 hours ago

    The protocol felt unnecessarily complicated till I saw this

    https://modelcontextprotocol.io/docs/concepts/sampling

    It's crazy. Sadly not yet implemented in Claude Desktop client.

    • punkpeye 14 hours ago

      What's use case for this?

    • swyx 13 hours ago

      what’s crazy about it?

  • asah 6 hours ago

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

  • lukekim a day ago

    The Model Context server is similar to what we've built at Spice, but we've focused on databases and data systems. Overall, standards are good. Perhaps we can implement MCP as a data connector and tool.

    [1] https://github.com/spiceai/spiceai

  • orliesaurus a day ago

    I would love to integrate this into my platform of tools for AI models, Toolhouse [1], but I would love to understand the adoption of this protocol, especially as it seems to only work with one foundational model.

    [1] https://toolhouse.AI

    • punkpeye 19 hours ago

      This looks pretty awesome.

      Would love to chat with you if you are open about possible collab.

      I am frank [at] glama.ai

  • pcwelder 14 hours ago

    It's great! I quickly reorganised my custom gpt repo to build a shell agent using MCP.

    https://github.com/rusiaaman/wcgw/blob/main/src/wcgw/client/...

    Already getting value out of it.

  • faizshah 21 hours ago

    So it’s basically a standardized plugin format for LLM apps and thats why it doesn’t support auth.

    It’s basically a standardized way to wrap you Openapi client with a standard tool format then plug it in to your locally running AI tool of choice.

  • benreesman 13 hours ago

    The default transport should have accommodated binary data. Whether it’s tensors of image data, audio waveforms, or pre-tokenized NLP workloads it’s just going to hit a wall where JSON-RPC can’t express it uniquely and efficiently.

    • refulgentis 12 hours ago

      This is a really, really, good point.

      Devil's advocating for conversation's sake: at the end of the day, the user and client app want very little persistent data coming from the server - if nothing else than the client is expecting to store chats as text, with external links or Potemkin placeholders for assets like files.

  • threecheese 21 hours ago

    WRT prompts vs sampling: why does the Prompts interface exclude model hints that are present in the Sampling interface? Maybe I am misunderstanding.

    It appears that clients retrieve prompts from a server to hydrate them with context only, to then execute/complete somewhere else (like Claude Desktop, using Anthropic models). The server doesn’t know how effective the prompt will be in the model that the client has access to. It doesn’t even know if the client is a chat app, or Zed code completion.

    In the sampling interface - where the flow is inverted, and the server presents a completion request to the client - it can suggest that the client uses some model type /parameters. This makes sense given only the server knows how to do this effectively.

    Given the server doesn’t understand the capabilities of the client, why the asymmetry in these related interfaces?

    There’s only one server example that uses prompts (fetch), and the one prompt it provides returns the same output as the tool call, except wrapped in a PromptMessage. EDIT: lols like there are some capabilities classes in the mcp, maybe these will evolve.

  • _rupertius 20 hours ago

    For those interested, I've been working on something related to this, Web Applets – which is a spec for creating AI-enabled components that can receive actions & respond with state:

    https://github.com/unternet-co/web-applets/

  • johtso 6 hours ago

    Could this be used to voice control an android phone using Tasker functions? Just expose all the functions as actions and then let it rip?

  • outlore a day ago

    i am curious: why this instead of feeding your LLM an OpenAPI spec?

    • jasonjmcghee a day ago

      It's not about the interface to make a request to a server, it's about how the client and server can interact.

      For example:

      When and how should notifications be sent and how should they be handled?

      ---

      It's a lot more like LSP.

      • outlore a day ago

        makes sense, thanks for the explanation!

      • quantadev a day ago

        Nobody [who knows what they're doing] wants their LLM API layer controlling anything about how their clients and servers interact though.

        • jasonjmcghee a day ago

          Not sure I understand your point. If it's your client / server, you are controlling how they interact, by implementing the necessaries according to the protocol.

          If you're writing an LSP for a language, you're implementing the necessaries according to the protocol (when to show errors, inlay hints, code fixes, etc.) - it's not deciding on its own.

          • quantadev a day ago

            Even if I could make use of it, I wouldn't, because I don't write proprietary code that only works on one AI Service Provider. I use only LangChain so that all of my code can be used with any LLM.

            My app has a simple drop down box where users can pick whatever LLM they want to to use (OpenAI, Perplexity, Gemini, Anthropic, Grok, etc)

            However if they've done something worthy of putting into LangChain, then I do hope LangChain steals the idea and incorporates it so that all LLM apps can use it.

            • gyre007 20 hours ago

              It's an open protocol; where did you get the idea that it would only work with Claude? You can implement it for whatever you want - I'm sure langchain folks are already working on something to accommodate it

              • quantadev 20 hours ago

                Once fully adopted by at least 3 other companies I'll consider it a standard, and would consider it yes, if it solved a problem I have, which it does not.

                Lots of companies open source some of their internal code, then say it's "officially a protocol now" that anyone can use, and then no one else ever uses it.

                If they have new "tools" that's great however, but only as long as they can be used in LangChain independent of any "new protocol".

        • pizza a day ago

          I do

    • pizza a day ago

      I think OpenAI spec function calls are to this like what raw bytes are to unix file descriptors

      • kylecazar 17 hours ago

        They were referring to OpenAPI (formerly Swagger)

    • quotemstr a day ago

      Same reason in Emacs we use lsp-mode and eglot these days instead of ad-hoc flymake and comint integrations. Plug and play.

  • yalok 12 hours ago

    A picture is worth a 1k words.

    Is there any good arch diagram for one of the examples of how this protocol may be used?

    I couldn’t find one easily…

  • pants2 a day ago

    This is awesome. I have an assistant that I develop for my personal use and integrations are the more difficult part - this is a game changer.

    Now let's see a similar abstraction on the client side - a unified way of connecting your assistant to Slack, Discord, Telegram, etc.

    • slalani304 2 hours ago

      Building something for this at surferprotocol [dot] org. Imo not every company will expose API's for easily exporting data from their platforms (linkedin, imessage, etc), so devs have to build these themselves

  • melvinmelih a day ago

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

    • defnotai 20 hours ago

      There’s clearly a need for this type of abstraction, hooking up these models to various tooling is a significant burden for most companies.

      Putting this out there puts OpenAI on the clock to release their own alternative or adopt this, because otherwise they run the risk of engineering leaders telling their C-suite that Anthropic is making headway towards better frontier model integration and OpenAI is the costlier integration to maintain.

    • will-burner a day ago

      True, but you could also frame this as a way for Anthropic to try and break that trend. IMO they've got to try and compete with OpenAI, can't just concede that OpenAI has won yet.

    • skissane 20 hours ago

      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.

    • thund a day ago

      "OpenAI API" is not a "standard" though. They have no interest in making it a standard, otherwise they would make it too easy to switch AI provider.

      Anthropic is playing the "open standard" card because they want to win over some developers. (and that's good from that pov)

      • Palmik 9 hours ago

        OpenAI API is natively supported by several providers (Google, Mistral, to name a few).

    • nmfisher 17 hours ago

      That’s only because they were first.

      Here, Anthropic is first. If everyone starts using MCP today, any alternative OpenAI comes out with in a few months time probably won’t be able to dislodge it.

    • mi_lk 19 hours ago

      > 80% market share

      where do you get that number?

  • benopal64 a day ago

    If anyone here has an issue with their Claude Desktop app seeing the new MCP tools you've added to your computer, restart it fully. Restarting the Claude Desktop app did NOT work for me, I had to do a full OS restart.

    • anaisbetts 21 hours ago

      Hm, this shouldn't be the case, something Odd is happening here. Normally restarting the app should do it, though on Windows it is easy to think you restarted the app when you really just closed the main window and reopened it (you need to close the app via File => Qui)

  • skybrian 19 hours ago

    I'm wondering if there will be anything that's actually LLM-specific about these API's. Are they useful for ordinary API integration between websites?

    • CGamesPlay 19 hours ago

      Possibly marginally, but the "server" components here are ideally tiny bits of glue that just reformat LLM-generated JSON requests into target-native API requests. Nothing interesting "should" be happening in the context protocol. Examining the source may provide you with information on how to get to the real API for the service, however.

  • gyre007 21 hours ago

    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.

    • TeMPOraL 19 hours ago

      It's just function calling with a new name and a big push from the LLM provider, but this time it's in the right direction. Contrast with OpenAI's "GPTs", which are just function calling by another name, but pushed in the wrong direction - towards creating a "marketplace" controlled by OpenAI.

      I'd say that thing you're feeling comes from witnessing an LLM vendor, for the first time in history, actually being serious about function calling and actually wanting people to use it.

      • jjfoooo4 13 hours ago

        But either way the interface is just providing a json schema of functions along with your chat completion request, and a server with ability to parse and execute the response. I’m not really seeing where a new layer of abstraction helps here (much less a new “protocol”, as though we need a new transport layer?

        It smells like the thinking is that you (the developer) can grab from a collection of very broad data connectors, and the agent will be able to figure out what to do with them without much custom logic in between. Maybe I’m missing something

        • TeMPOraL 12 hours ago

          > It smells like the thinking is that you (the developer) can grab from a collection of very broad data connectors, and the agent will be able to figure out what to do with them without much custom logic in between.

          This has always been the idea behind tools/function calling in LLMs.

          What MCP tries to solve is the NxM problem - every LLM vendor has their own slightly different protocols for specifying and calling tools, and every tool supplier has to handle at least one of them, likely with custom code. MCP aims to eliminate custom logic at the protocol level.

    • MattDaEskimo 20 hours ago

      LLMs can potentially query _something_ and receive a concise, high-signal response to facilitate communications with the endpoint, similar to API documentation for us but more programmatic.

      This is huge, as long as there's a single standard and other LLM providers don't try to release their own protocol. Which, historically speaking, is definitely going to happen.

      • gyre007 20 hours ago

        > This is huge, as long as there's a single standard and other LLM providers don't try to release their own protocol

        Yes, very much this; I'm mildly worried because the competition in this space is huge and there is no shortage of money and crazy people who could go against this.

        • bloomingkales 20 hours ago

          They will go against this. I don’t want to be that guy, but this moment in time is literally the opening scene of a movie where everyone agrees to work together in the bandit group.

          But, it’s a bandit group.

          • defnotai 16 hours ago

            Not necessarily. There’s huge demand to simplify the integration process between frontier models and consumers. If specs like this wind up saving companies weeks or months of developer time, then the MCP-compatible models are going to win over the more complex alternatives. This unlocks value for the community, and therefore the AI companies

    • csomar 15 hours ago

      One of the biggest issues of LLM is that they have a lossy memory. Say there is a function from_json that accepts 4 arguments. An LLM might predict that it accepts 3 arguments and thus produce non-functional code. However, if you add the docs for the function, the LLM will write correct code.

      With the LLM being able to tap up to date context (like LSP), you won't need that back-and-forth dance. This will massively improve code generations.

    • orliesaurus 20 hours ago

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

      • somnium_sn 20 hours ago

        Any feedback on developer experience is always welcomed (preferably in github discussion/issue form). It's the first day in the open. We have a long long way to go and much ground to cover.

  • zokier 21 hours ago

    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

    • ramon156 20 hours ago

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

  • rch 3 hours ago

    Strange place for WS* to respawn.

  • nsiradze 6 hours ago

    This is something new, Good job!

  • serialx 16 hours ago

    Is there any plans to add Well-known URI[1] as a standard? It would be awesome if we can add services just by inputting domain names of the services.

    [1]: https://en.wikipedia.org/wiki/Well-known_URI

    • jspahrsummers 16 hours ago

      We're still in the process of thinking through and fleshing out full details for remote MCP connections. This is definitely a good idea to include in the mix!

  • singularity2001 a day ago

    Tangential question: Is there any LLM which is capable of preserving the context through many sessions, so it doesn't have to upload all my context every time?

    • fragmede a day ago

      it's a bit of a hack but the web UI of ChatGPT has a limited amount of memories you can use to customize your interactions with it.

      • singularity2001 21 hours ago

        "remember these 10000 lines of code" ;)

        In an ideal world gemini (or any other 1M token context model) would have an internal 'save snapshot' option so one could resume a blank conversation after 'priming' the internal state (activations) with the whole code base.

  • wolframhempel a day ago

    I'm surprised that there doesn't seem to be a concept of payments or monetization baked into the protocol. I believe there are some major companies to be built around making data and API actions available to AI Models, either as an intermediary or marketplace or for service providers or data owners directly- and they'd all benefit from a standardised payment model on a per transaction level.

    • ed 21 hours ago

      I’ve gone looking for services like this but couldn’t find much, any chance you can link to a few platforms?

      • rsong_ 8 hours ago

        I'm working on Exfunc [1], which is an API for AI to fetch data and take action on the web. Sent you an email, would love to chat.

        [1] https://www.exfunc.com

  • Sudheersandu1 6 hours ago

    Is it Datacontext that is aware as and when we add columns in the db what it means. How can we make every schema change that happens on db is context aware that is not clear.

  • gregjw 10 hours ago

    Sensible standards and open protocols. Love to see the industry taking form like this.

  • orliesaurus a day ago

    How is this different from function calling libraries that frameworks like Langchain or Llamaindex have built?

    • quantadev a day ago

      After a quick look it seemed to me like they're trying to standardize on how clients call servers, which nobody needs, and nobody is going to use. However if they have new Tools that can be plugged into my LangChain stuff, that will be great, and I can use that, but I have no place for any new client/server models.

  • orliesaurus a day ago

    Are there any other Desktop apps other than Claude's supporting this?

    • deet a day ago

      My team and I have a desktop product with a very similar architecture (a central app+UI with a constellation of local servers providing functions and data to models for local+remote context)

      If this protocol gets adoption we'll probably add compatibility.

      Which would bring MCP to local models like LLama 3 as well as other cloud providers competitors like OpenAI, etc

      • orliesaurus a day ago

        would love to know more

        • deet a day ago

          Landing page link is in my bio

          We've been keeping quiet, but I'd be happy to chat more if you want to email me (also in bio)

    • jdorfman a day ago
      • orliesaurus a day ago

        What about ChatGPT Desktop? Do you think they will add support for this?

        • jdorfman a day ago

          I hope so, I use Claude Desktop multiple times a day.

  • gjmveloso 21 hours ago

    Let’s see how other relevant players like Meta, Amazon and Mistral reacts to this. Things like these just make sense with broader adoption and diverse governance model

  • eichi 14 hours ago

    I eventually return from every brabra protocol/framework to SQL, txt, standard library, due to inefficiency of introducing meaningless layer. People or me while a go often avoid confronting difficult problems which actually matters. Rather worse, frameworks, buzz technology words are the world of incompetitive people.

  • hipadev23 a day ago

    Can I point this at my existing private framework and start getting Claude 3.5 code suggestions that utilize our framework it has never seen before?

  • _pdp_ a day ago

    It is clear this is a wrapper around the function calling paradigm but with some extensions that are specific to this implementation. So it is an SDK.

  • rty32 16 hours ago

    Is this similar to what Sourcegraph's OpenCtx tries to do?

    Has OpenCtx ever gained much traction?

    • sqs 16 hours ago

      Yeah, we’re using it a lot at Sourcegraph. There are some extra APIs it offers beyond what MCP offers, such as annotations (as you can see on the homepage of https://openctx.org). We worked with Anthropic on MCP because this kind of layer benefits everyone, and we’ve already shipped interoperability.

      • rty32 15 hours ago

        Interesting. In Cody training sessions given by Sourcegraph, I saw OpenCtx mentioned a few times "casually", and the focus is always on Cody core concepts and features like prompt engineering and manual context etc. Sounds like for enterprise customers, setting up context is meant for infrastructure teams within the company, and end users mostly should not worry about OpenCxt?

        • sqs 15 hours ago

          Most users won't and shouldn't need to go through the process of adding context sources. In the enterprise, you want these to be chosen by (and pre-authed/configured by) admins, or at least not by each individual user, because that would introduce a lot of friction and inconsistency. We are still working on making that smooth, which is why we haven't been very loud about OpenCtx to end users yet.

          But today we already have lots of enterprise customers building their own OpenCtx providers and/or using the `openctx.providers` global settings in Sourcegraph to configure them in the current state. OpenCtx has been quite valuable already here to our customers.

  • Havoc 18 hours ago

    If it gets traction this could be great. Industry sure could do with some standardisation

  • alberth a day ago

    Is this basically open source data collectors / data integration connectors?

    • somnium_sn 21 hours ago

      I would probably more think of it as LSP for LLM applications. It is enabling data integrations, but the current implementations are all local.

  • recsv-heredoc a day ago

    Thank you for creating this.

  • bradgessler 12 hours ago

    If you run a SaaS and want to rapidly build out a CLI that you could plug into this ~and~ want something that humans can use, check out the project I’ve been working on at https://terminalwire.com

    tl;dr—you can build & ship a CLI without needing an API. Just drop Terminalwire into your server, have your users install the thin client, and you’ve got a CLI.

    I’m currently focused on getting the distribution and development experience dialed in, which is why I’m working mostly with Rails deployments at the moment, but I’m open to working with large customers who need to ship a CLI yesterday in any language or runtime.

    If you need something like this check it out at https://terminalwire.com or ping me brad@terminalwire.com.

  • juggli 6 hours ago

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

    • baq 6 hours ago

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

  • bentiger88 a day ago

    One thing I dont understand.. does this rely on vector embeddings? Or how does the AI interact with the data? The example is a sqllite satabase with prices, and it shows claude being asked to give the average price and to suggest pricing optimizations.

    So does the entire db get fed into the context? Or is there another layer in between. What if the database is huge, and you want to ask the AI for the most expensive or best selling items? With RAG that was only vaguely possible and didnt work very well.

    Sorry I am a bit new but trying to learn more.

    • simonw a day ago

      Vector embeddings are entirely unrelated to this.

      This is about tool usage - the thing where an LLM can be told "if you want to run a SQL query, say <sql>select * from repos</sql> - the code harness well then spot that tag, run the query for you and return the results to you in a chat message so you can use them to help answer a question or continue generating text".

    • orliesaurus a day ago

      it doesnt feed the whole DB into the context, it gives Claude the option to QUERY it directly

      • cma a day ago

        It never accidentally deletes anything? Or I guess you give it read only access? It is querying it through this API and some adapter built for it, or the file gets sent through the API, they recognize it is sqllite and load it on their end?

        • simonw a day ago

          It can absolutely accidentally delete things. You need to think carefully about what capabilities you enable for the model.

  • ironfootnz 18 hours ago

    L0L, this is basically OpenAI spec function calls with a different semantics.

  • mwkaufma 19 hours ago

    Spyware-As-A-Service

  • andrewstuart a day ago

    Can someone please give examples of uses for this?

    • singularity2001 a day ago

      let Claude answer questions about your files and even modify them

  • prnglsntdrtos a day ago

    really great to see some standards emerging. i'd love to see something like mindsdb wired up to support this protocol and get a bunch of stuff out of the box.

  • m3kw9 19 hours ago

    So this allows you to connect your sqllite to Claud desktop, so it executes sql commands on your behalf instead of you entering it, it also chooses the right db on its own, similar to what functions do

  • killthebuddha a day ago

    I see a good number of comments that seem skeptical or confused about what's going on here or what the value is.

    One thing that some people may not realize is that right now there's a MASSIVE amount of effort duplication around developing something that could maybe end up looking like MCP. Everyone building an LLM agent (or pseudo-agent, or whatever) right now is writing a bunch of boilerplate for mapping between message formats, tool specification formats, prompt templating, etc.

    Now, having said that, I do feel a little bit like there's a few mistakes being made by Anthropic here. The big one to me is that it seems like they've set the scope too big. For example, why are they shipping standalone clients and servers rather than client/server libraries for all the existing and wildly popular ways to fetch and serve HTTP? When I've seen similar mistakes made (e.g. by LangChain), I assume they're targeting brand new developers who don't realize that they just want to make some HTTP calls.

    Another thing that I think adds to the confusion is that, while the boilerplate-ish stuff I mentioned above is annoying, what's REALLY annoying and actually hard is generating a series of contexts using variations of similar prompts in response to errors/anomalies/features detected in generated text. IMO this is how I define "prompt engineering" and it's the actual hard problem we have to solve. By naming the protocol the Model Context Protocol, I assumed they were solving prompt engineering problems (maybe by standardizing common prompting techniques like ReAct, CoT, etc).

    • jappgar 5 hours ago

      I don't see I or any other developer would abandon their homebrew agent implementation for a "standard" which isn't actually a standard yet.

      I also don't see any of that implementation as "boilerplate". Yes there's a lot of similar code being written right now but that's healthy co-evolution. If you have a look at the codebases for Langchain and other LLM toolkits you will realize that it's a smarter bet to just roll your own for now.

      You've definitely identified the main hurdle facing LLM integration right now and it most definitely isn't a lack of standards. The issue is that the quality of raw LLM responses falls apart in pretty embarrassing ways. It's understood by now that better prompts cannot solve these problems. You need other error-checking systems as part of your pipeline.

      The AI companies are interested in solving these problems but they're unable to. Probably because their business model works best if their system is just marginally better than their competitor.

    • ineedaj0b a day ago

      data security is the reason i'd imagine they're letting other's host servers

      • killthebuddha 21 hours ago

        The issue isn’t with who’s hosting, it’s that their SDKs don’t clearly integrate with existing HTTP servers regardless of who’s hosting them. I mean integrate at the source level, of course they could integrate via HTTP call.

    • thelastparadise 20 hours ago

      Your point about boilerplate is key, and it’s why I think MCP could work well despite some of the concerns raised. Right now, so many of us are writing redundant integrations or reinventing the same abstractions for tool usage and context management. Even if the first iteration of MCP feels broad or clunky, standardizing this layer could massively reduce friction over time.

      Regarding the standalone servers, I suspect they’re aiming for usability over elegance in the short term. It’s a classic trade-off: get the protocol in people’s hands to build momentum, then refine the developer experience later.

  • punkpeye 19 hours ago

    I took time to read everything on Twitter/Reddit/Documentation about this.

    I think I have a complete picture.

    Here is a quickstart for anyone who is just getting into it.

    https://glama.ai/blog/2024-11-25-model-context-protocol-quic...

    • mdaniel 17 hours ago

      It would appear the HN hug knocked your host offline, given the 525 TLS Is Bogus and its 502 Bad Gateway friend

      I managed to get it to load: https://archive.ph/7DALF

    • zerop 14 hours ago

      fine. Examples, what can I use this for?

      • tyre 14 hours ago

        have you read either TFA or their blog post? There are plenty of examples.

  • bionhoward a day ago

    I love how they’re pretending to be champions of open source while leaving this gem in their terms of use

    “”” You may not access or use, or help another person to access or use, our Services in the following ways: … To develop any products or services that compete with our Services, including to develop or train any artificial intelligence or machine learning algorithms or models. “””

    • j2kun a day ago

      Presumably this doesn't apply to the standard being released here, nor any of its implementations made available. Each of these appears to have its own permissible license.

    • loeber a day ago

      OpenAI and many other companies have virtually the same language in their T&Cs.

      • SSLy a day ago

        that doesn't absolve any of them

        • monooso 21 hours ago

          Absolve them of what?

      • Imnimo a day ago

        OpenAI says, "[You may not] Use Output to develop models that compete with OpenAI." That feels more narrow than Anthropic's blanket ban on any machine learning development.

    • haneefmubarak a day ago

      Eh the actual MCP repos seem to just be MIT licensed; AFAIK every AI provider has something similar for their core services as they do.

    • cooper_ganglia 21 hours ago

      I think open-sourcing your tech for the common person while leaving commercial use behind a paywall or even just against terms is completely acceptable, no?

  • WhatIsDukkha a day ago

    I don't understand the value of this abstraction.

    I can see the value of something like DSPy where there is some higher level abstractions in wiring together a system of llms.

    But this seems like an abstraction that doesn't really offer much besides "function calling but you use our python code".

    I see the value of language server protocol but I don't see the mapping to this piece of code.

    That's actually negative value if you are integrating into an existing software system or just you know... exposing functions that you've defined vs remapping functions you've defined into this intermediate abstraction.

    • ethbr1 a day ago

      Here's the play:

      If integrations are required to unlock value, then the platform with the most prebuilt integrations wins.

      The bulk of mass adopters don't have the in-house expertise or interest in building their own. They want turnkey.

      No company can build integrations, at scale, more quickly itself than an entire community.

      If Anthropic creates an integration standard and gets adoption, then it either at best has a competitive advantage (first mover and ownership of the standard) or at worst prevents OpenAI et al. from doing the same to it.

      (Also, the integration piece is the necessary but least interesting component of the entire system. Way better to commodify it via standard and remove it as a blocker to adoption)

    • resters a day ago

      The secret sauce part is the useful part -- the local vector store. Anthropic is probably not going to release that without competitive pressure. Meanwhile this helps Anthropic build an ecosystem.

      When you think about it, function calling needs its own local state (embedded db) to scale efficiently on larger contexts.

      I'd like to see all this become open source / standardized.

      • jerpint a day ago

        im not sure what you mean - the embedding model is independent of the embeddings themselves. Once generated, the embeddings and vector store should exist 100% locally and thus not part of any secret sauce

  • keybits a day ago

    The Zed editor team collaborated with Anthropic on this, so you can try features of this in Zed as of today: https://zed.dev/blog/mcp

    • segmondy 19 hours ago

      So they want an open protocol, and instead of say collaborating with other people that provide models like Google, Microsoft, Mistral, Cohere and the opensource community, they collaborate with an editor team. Quite the protocol. Why should Microsoft implement this? If they implement their own protocol, they win. Why should Google implement this? If they implement their own protocol, they win too. Both giants have way more apps and reach in inside businesses than Anthropic can wish.

    • singularity2001 a day ago

      Looks like I need to create a rust extension wrapper for the mcp server I created for Claude?

  • ssfrr 21 hours ago

    I'm a little confused as to the fundamental problem statement. It seems like the idea is to create a protocol that can connect arbitrary applications to arbitrary resources, which seems underconstrained as a problem to solve.

    This level of generality has been attempted before (e.g. RDF and the semantic web, REST, SOAP) and I'm not sure what's fundamentally different about how this problem is framed that makes it more tractable.

    • segmondy 19 hours ago

      RPC for LLMs with the first client being Claude Desktop. ;-)

  • benocodes a day ago

    Good thread showing how this works: https://x.com/alexalbert__/status/1861079762506252723