In short
Latent Space Podcast Episode Summary
Episode Title
The Creators of Model Context Protocol
Podcast Overview
Latent Space
The AI Engineer Podcast is geared toward AI Engineers, discussing the latest advancements in AI technologies, interviews with industry leaders, and insights into evolving standards such as the Model Context Protocol (MCP).
Episode Description In this episode, hosts Alessio and Swix converse with David Soria Parra and Justin Spahr-Summers, the creators of the Model Context Protocol (MCP) from Anthropic. The discussion covers the rapid adoption of MCP, its origin story, development challenges, and future implications for AI applications.
---
Key Highlights
Introduction to MCP
- Definition: MCP is designed to enhance AI applications by facilitating integration with a system of plugins, acting as a universal connector for AI functionalities.
- Current Status: MCP has gained significant traction, surpassing OpenAPI on GitHub stars, indicating a strong community preference.
Origin Story of MCP
- Creation: Developed primarily by David and Justin, who aimed to empower internal integrations and address frustrations with existing tools.
- Inception: The idea originated from a conversation about the need for a protocol to extend AI applications, evolving from initial development tooling frustrations.
Technical Insights
- Development Challenges: Early stages involved significant groundwork, including building out SDKs across multiple programming languages.
- Influences: Heavily inspired by the Language Server Protocol (LSP), leveraging its design principles while addressing the specific needs of AI applications.
MCP vs OpenAPI
- Comparison:
- OpenAPI focuses on granular API specifications which may not adequately represent higher-level AI concepts like those in MCP.
- MCP prioritizes application-level interactions, integrating tools, prompts, and resources in a more cohesive manner.
Building MCP Servers
- Encouragement for Developers: Emphasis on simplicity, suggesting developers start with a basic implementation, gradually enhancing functionality as they learn.
- Client-Server Interactions: Discussion on building rich AI experiences by enabling clients to invoke tools and resources effectively.
Future Roadmap
- Stateful vs Stateless: Acknowledging the shift toward enhancing server capabilities while ensuring operational simplicity.
- Authorization: Ongoing discussions about implementing OAuth and considering how to manage user permissions effectively.
---
Noteworthy Concepts
Key Terms
- MCP (Model Context Protocol): A new standard for AI application integrations, aiming to streamline interactions between AI models and external tools.
- Statefulness: The evolving nature of systems to retain information across interactions, contrasting with traditional stateless APIs.
- Tools and Resources: Distinction between tools (invoked by models) and resources (data that can be referenced or pulled into context).
Challenges in Adoption
- Overlapping Tools: Managing confusion when multiple tools serve similar functions, necessitating clear naming and documentation.
- Scalability of Servers: Balancing the technical complexities of maintaining long-lived connections while providing enhanced user experiences.
---
Key Takeaways
- The rise of MCP reflects a significant shift in how AI applications can interact flexibly with external systems.
- Developers are encouraged to experiment with the protocol, contributing to its evolution through practical applications and community engagement.
- Future developments will focus on improving user experiences through better resource management, authorization protocols, and expanding server capabilities.
---
Wishlist for Future Development
- Sampling Clients: More clients that support diverse sampling techniques for richer AI interactions.
- Integration with Game Engines: Building MCP servers for engines like Godot to enhance game development experiences.
---
Conclusion The episode encapsulates the rapid evolution and promise of the Model Context Protocol in the AI landscape, highlighting the collaborative spirit of its founders and the community’s enthusiastic response. As MCP continues to grow, it is positioned to redefine how AI applications are constructed and integrated across various platforms.
Written by AI. May contain mistakes. Listen to the episode to check what was said.
Transcript
Automatic transcript. May contain errors.0:00Welcome back. MCP, MCP, MCP. After the NYC summit, we wrote a popular piece explaining why we think the model context protocol from Anthropic seems to have won the agent open standard wars of 2023 to 2025. It seems everyone is now jumping on the MCP bandwagon, from cursor and windsurf to open AI to Google DeepMind. Our AI engineer community is hungry for more, so we are doing two things to explore the MCP phenomenon. First, today's guests, Justin Sparr-Summers and David Soria-Para, are the co-creators of the Model Context Protocol, who were kind enough to do their first ever podcast with us, about the origin, challenges and future of MCP, and gamely indulged all the questions that we asked from the latent space community.
0:53Second, SWIX has announced that there will be a dedicated MCP track at the 2025 AI Engineer World's Fair, taking place June 3rd to 5th in San Francisco, where the MCP core team and major contributors and builders will be meeting. Join us and apply to speak or sponsor at AI.engineer. Watch out and take care. Hey everyone, welcome back to Latent Space. This is Alessio, partner and CTO at Decibel, and I'm joined by my co-host, Swix, founder of SmallAI. Hey, morning. And today we have a remote recording, I guess, with David and Justin from Anthropic over in London. Welcome. Hey. Good to be here. Welcome.
1:37You guys have created a storm of hype because of MCP, and I'm really glad to have you on. Thanks for making the time. What is MCP? Let's start with a crisp definition from the horse's mouth, and then we'll go into the origin story. But let's start off right off the bat. What is MCP? Yeah, sure. So Model Context Protocol, or MCP for short, is basically something we've designed to help AI applications extend themselves or integrate with a system of plugins, basically. The terminology is a bit different. We use this client-server terminology, and we can talk about why that is and where that came from.
2:14But at the end of the day, it really is that it's like extending and enhancing the functionality of AI application. David, would you add anything? Yeah, I think that's actually a good description. I think there's like a lot of different ways for how people are trying to explain it. But at the core, I think what Justin said is like extending AI applications is really what this is about. And I think the interesting bit here that I want to highlight is it's AI applications and not models themselves that this is focused on. That's a common misconception that we can talk about a bit later. But yeah, another version that we've used and gotten to like is like MCP is kind of like the USB-C port of AI applications and that it's meant to be this universal connector to a whole ecosystem of things.
2:57Yeah, specifically an interesting feature is, like you said, the client and server. And it's a sort of two way, right? Like in the same way that set of two USB-C is two way, which could be super interesting. Yeah, let's let's go into a little bit of the origin story. There's many people who've tried to make standards around agents. Many people try to build open source. I think there's an overall also, my sense is that Anthropic is going hard after developers in the way that other labs are not. And so I'm also curious if there was any external influence or was it just you two guys just in a room somewhere riffing?
3:31It is actually mostly like us two guys in a room riffing. So this is not part of a big strategy. You know, if you roll back time a little bit and go into like July 2024, I was like started at Anthropic like three months earlier or two months earlier. And I was mostly working on internal developer tooling, which is what I've been doing for like years and years before. And as part of that, I think there was an effort of like, how do I empower more like employees at Anthropic to use, you know, to integrate really deeply with the models we have? Because we've seen these like how good it is, how amazing it will become even in the future.
4:08And of course, you know, just dogfoot your own model as much as you can. And as part of that, from my development tooling background, I quickly got frustrated by the idea that, you know, on one hand side, I have Cloud Desktop, which is this amazing tool with artifacts, which I really enjoyed. But it was very limited to exactly that feature set. And it was there was no way to extend it. And on the other hand side, I like work in IDEs, which could greatly like act on like the file system and a bunch of other things. but then they don't have artifacts or something like that and so what i constantly did was just copying things back and forth on between cloud desktop and the ide and that quickly got me honestly just very frustrated and part of that frustration wasn't like how do i go and fix this what what do we need and back to like this development developer like focus that i have i really thought about like well i know how to build all these integrations but what do i need to do to let these applications let me do this and so it's very quickly that you see that this is clearly like an m times n problem like you have multiple like applications and multiple integrations you want to build and like what is better there to fix this than using a protocol and at the same time i was actually working on an lsp related thing internally that didn't go anywhere but you put these things together in someone's brain and let them wait for like a few weeks and out of that comes like the idea of like let's build some some protocol and so back to like this little room like it was literally just me going to a room with justin and go like i think we should build something like this this is a good idea and justin lucky for me just really took an interest in the idea and and took it from there to like to to build something together with me that's really the inception story it's like it's us to from then on just going and building it over over the course of like a month and a half of like building the protocol, building the first integration.
6:01Like Justin did a lot of the, like the heavy lifting of the first integrations in cloud desktop. I did a lot of the first proof of concept of how this can look like in an IDE. And if you, we could talk about like some of the tidbits you can find way before the inception of, like before the official release, if you were looking at the right repository at the right time. But there you go. That's like some of the rough story. What was the timeline? I know November 25th was like the official announcement date. When did you guys start working on it? Justin, when did we start working on that? I think it was around July, I think.
6:35Yeah, as soon as David pitched this initial idea, I got excited pretty quickly and we started working on it, I think almost immediately after that conversation. And then, I don't know, it was a couple, maybe a few months of building the really unrewarding bits, if we're being honest, because for establishing something that's like this communication protocol, has clients and servers and SDKs everywhere, there's just a lot of laying the groundwork that you have to do. So that was a pretty slow couple of months. But then afterward, once you get some things talking over that wire, it really starts to get exciting and you can start building all sorts of crazy things.
7:11And I think this really came to a head. I don't remember exactly when it was, maybe approximately a month before release, there was an internal hackathon where some folks really got excited about mcp and started building all sorts of crazy applications i think the coolest one of which was like an mcp server that can control a 3d printer or something and so like suddenly people are feeling this power of like cloud connecting to the outside world in a really tangible way and that really added some some juice to us into the release yeah and we'll go into the technical details but i just want to wrap up here you mentioned you could have seen some things coming if you were looking in the right places We always want to know what are the places to get alpha, how to find MTP early.
7:52I'm a big Zed user. I like the Zed editor. The first MTP implementation on IDE was in Zed. It was written by me and it was there like a month and a half before the official release, just because we needed to do it in the open because it's an open source project. And so it was named slightly differently because we were not set on the name yet, but it was there. I'm happy to go a little bit. Anthropic also had some preview of a model with Zed, right? Some kind of fast editing model. I confess, you know, I'm a Cursor, a Windsurf user. I haven't tried Zed. What's your, you know, unrelated or, you know, unsolicited two-second pitch for Zed?
8:32That's a good question. It really depends what you value in editors. For me, I wouldn't even say I like, I love Zed more than others. I like them all like complementary in a way or another. Like I do use Windsurf, I do use Zed. But I think my main pitch for Zed is low latency, super smooth experience editor with a decent enough AI integration. Got it. I mean, and maybe, you know, I think that's all it is for a lot of people. I think a lot of people obviously very tied to the VS Code paradigm and the extensions that come along with it. Okay, so I wanted to go back a little bit, you know, on some of the things that you mentioned, Justin, which was building MCP on paper, you know, obviously, we only see the end result.
9:15It just seems inspired by LSP. And I think both of you have acknowledged that. So how much is there to build? And when you say build, is it a lot of code or a lot of design? Because I felt like it's a lot of design, right? Like you're picking JSON RPC, like how much is you based off of LSP? And you know, what was the sort of hard parts? Yeah, absolutely. I mean, we definitely did take heavy inspiration from LSP. David had much more prior experience with it than I did working on developer tools. So, you know, I've mostly worked on products or sort of infrastructural things. LSP was new to me. But as a, as a, like, or from design principles, it really makes a ton of sense because it does solve this M times N problem that David referred to where, you know, in the world before LSP, you had all these different IDEs and editors, and then all these different languages that each wants to support or that their users want them to support.
10:05And then everyone's just building like one-off integrations. And so like you use Vim and you might have really great support for like, honestly, I don't know, C or something. And then like you switch over to JetBrains and you have the Java support, but then like you don't get to use the great JetBrains Java support in Vim and you don't get to use the great C support in JetBrains or something like that. So LSP largely, I think, solved this problem by creating this common language that they could all speak and that you can have some people focus on really robust language server implementations. and then the IDE developers can really focus on that side and they both benefit.
10:38So that was like our key takeaway for MCP is like that same principle and that same problem in the space of AI applications and extensions to AI applications. But in terms of like concrete particulars, I mean, we did take JSON RPC and we took this idea of bidirectionality, but I think we quickly took it down a different route after that. I guess there is one other principle from LSP that we try to stick to today, which is like this focus on how features manifest more than the semantics of things, if that makes sense. David refers to it as being presentation focused, where like basically thinking and like offering different primitives, not because necessarily the semantics of them are very different, but because you want them to show up in the application differently.
11:20Like that was a key sort of insight about how LSP was developed. That's also something we try to apply to MCP. But like I said, then from there, like, yeah, we spent a lot of time, really a lot of time And then we could go into this more separately, like thinking about each of the primitives that we want to offer an MCP and why they should be different, like why we want to have all these different concepts. That was a significant amount of work. That was the design work as you alluded to. But then also already out of the gate, we had three different languages that we wanted to at least support to some degree.
11:51That was TypeScript, Python. And then for the Zed integration, it was Rust. So there was some SDK building work in those languages, a mixture of clients and servers to build out to try to create this like internal ecosystem that we could start playing with and then yeah i guess just just trying to make everything like robust over like i don't know this whole like concept that we have for local mcp where you like launch sub processes and stuff and making that robust that took some time as well yeah maybe adding to that i think the lsp influence goes even a little bit further like we did take actually quite a look at criticisms on lsp like things that lsp didn't do right and things that people felt they would love to have different and really took that to heart to like see, you know, what are the, some of the things that we wish, you know, we, we should do better.
12:35We took a, you know, like a lengthy, like look at like their very unique approach to JSON-RPC, I may say. And then this, we decided that this is not what we do. And so there's like these differences, but it's clearly very, very inspired because I think when you're trying to build and focus, if you're trying to build something like MCP, you kind of want to pick the areas you want to innovate in, but you kind of want to be boring about the other parts in pattern matching LSP to the problem allows you to be boring in a lot of the core pieces that you want to be boring in. Like the choice of JSON-RPC is very non-controversial to us because it's just like, it doesn't matter at all.
13:13Like what you, what the actual like bites on the bar that you're speaking, it makes no difference to us. The innovation is on the, the primitives you choose and these types of things. And so we, there's way more focus on that that we wanted to do so having some prior art is good there basically it does i wanted to to double click i mean there's so many things you can go into obviously i am passionate about protocol design i wanted to show you guys this i mean i think you guys know but you know you already referred to the m times n problem and i can just share my screen here about anyone working in developer tools has faced this exact issue where you see the god box basically like the fundamental problem and solution of yeah all infrastructure engineering is you have things going to end things and then you put the godbox and they'll all be better right so here is one problem for uber one problem from graphql one problem from a temporal where i used to work at and this is from react and i was just kind of curious like you know did you solve n times n problems at facebook like i it sounds like david you did that for a living right like this is just n times n for a living yeah yeah to to some some degree for sure i did good what a good example of this but like i did a bunch of this kind of work on like source control systems and these type of things and so there were there were a bunch of these type of problems as well and so you just shove them into something that everyone can read from and everyone can write to and you build a god box somewhere and it works yeah but yeah this is just in developer tooling you absolutely right in developer tooling this is everywhere right and that you know it shows up everywhere and and what was what's interesting is i think everyone who makes the god box then has the same set of problems which is also you now have like composability off and the remote versus local you know that there's there's this very common shared set of problems so i kind of want to take a meta lesson on how to do the god box but you know we can we can talk about the sort of development stuff later i wanted to double click on again the presentation that justin mentioned of like how features manifest and how you said some things are the same, but you just want to reify some concepts so they show up differently.
15:22And I had that sense, you know, when I was looking at the MCP docs, I'm like, why do these two things need to be the difference in other paradigms? They're basically the same. I think a lot of people treat tool calling as the solution to everything, right? And sometimes you can actually sort of view kinds of different kinds of tool calls as different things. and sometimes they're resources. Sometimes they're actually taking actions. Sometimes they're something else that I don't really know yet. But I just want to see, like, what are some things that you sort of mentally group as adjacent concepts and why were they important to you to emphasize?
15:57Yeah, I can chat about this a bit. I think fundamentally, every sort of primitive that we thought through, we thought from the perspective of the application developer first. Like, if I'm building an application, whether it is an IDE or, you know, call it desktop or some agent interface or whatever the case may be, what are the different things that I would want to receive from like an integration? And I think once you take that lens, it becomes quite clear that that tool calling is necessary, but very insufficient. Like there are many other things you would want to do besides just get tools and plug them into the model.
16:29And you want to have some way of differentiating what those different things are. So the kind of core primitives that we started MCP with, we've since added a couple more, but the core ones were really tools, which we've already talked about. It's like adding tools directly to the model or function calling is sometimes called resources, which is basically like bits of data or context that you might want to add to the context. So excuse me, to the model context. And this is the first primitive where it's like we decided this could be like application controlled. Like maybe you want a model to automatically search through and find relevant resources and bring them into context.
17:06But maybe you also want that to be an explicit UI affordance in the application where the user can like, you know, pick through a dropdown or like a paperclip menu or whatever and find specific things and tag them in. And then that becomes part of like their message to the LLM. Like those are both use cases for resources. And then the third one is prompts, which are deliberately meant to be like user initiated or like user substituted text or messages. So like the analogy here would be like, if you're an editor, like a slash command or something like that, or like an at, you know, auto-completion type thing, where it's like I have this kind of macro, effectively, that I want to drop in and use.
17:42And we have sort of expressed opinions through MCP about the different ways that these things could manifest. But ultimately, it is for application developers to decide, okay, you get these different concepts expressed differently. And it's very useful as an application developer because you can decide the appropriate experience for each. And actually, this can be a point of differentiation too. Like we were also thinking, you know, from the application developer perspective, They, you know, application developers don't want to be commoditized. They don't want the application to end up the same as every other AI application.
18:13So like, what are the unique things that they could do to like create the best user experience, even while connecting up to this big open ecosystem of integration? Yeah. And I think to add to that, I think there are two aspects to that that I want to mention. The first one is that, interestingly enough, like while nowadays tool calling is obviously like probably like 95 % plus of the integrations. And I wish there would be, you know, more clients doing tool resources, doing prompts. The very first implementation in Zed is actually a prompt implementation. It doesn't deal with tools. and and we found this actually quite useful because what it allows you to do is for example build an mcp server that takes like a back trace from sentry or any other like online platform that that tracks your your crashes and just lets you pull this into the context window beforehand and so it's quite nice that way that it's like a user driven interaction that you does the user decide when to pull this in and don't have to wait for the model to do it and so it's It's a great way to craft the prompt in a way.
19:20And I think similarly, you know, I wish, you know, more MCP servers today would bring prompts as examples of like how to even use the tools that they're providing at the same time. The resources bits are quite interesting as well. And I wish we would see more usage there because it's very easy to envision, but yet nobody has really implemented it. A system where like an MCP server exposes, you know, a set of documents that you have, your database, whatever you might want to as a set of resources. And then like a client application would build a full RAC index around this, right? This is definitely an application use case we had in mind as to why these are exposed in such a way that they're not model driven.
19:58Because you might want to have way more resource content than is, you know, realistically usable in a context window. And so I think, you know, I wish applications and I hope applications will do this in the next few months, use these primitives, you know, way better because I think there's way more rich experiences to be created that way. Yeah, I completely agree with that. And I would also add that I'll go into it if I have it. I think that's a great point. And everybody just, you know, has a hammer and wants to do tool calling on everything. I think a lot of people do tool calling to do a database query.
20:34They don't use resources for it. What are like the, I guess, maybe like pros and cons or like when people should use a tool versus a resource, especially when it comes to like things that do have an API interface. Like for a database, you can do a tool that does a SQL query versus when should you do that or a resource instead with the data? So like the way we separate these is like tools are always meant to be initiated by the model. It's sort of like at the model's discretion that it will like find the right tool and apply it. So if that's the interaction you want as a server developer, where it's like, okay, this, you know, suddenly I've given the LLM the ability to run SQL queries, for example, that makes sense as a tool.
21:15But resources are more flexible, basically. And I think, to be completely honest, the story here is practically a bit complicated today because many clients don't support resources yet. But like, I think in an ideal world where all these concepts are fully realized and there's like full ecosystem support, you would do resources for things like the schemas of your database tables and stuff like that. As a way to like either allow the user to say like, okay, now, you know, Claude, I want to talk to you about this database table. Here it is. Let's have this conversation. Or maybe the particular AI application that you're using, like, you know, it could be something agentic like Claude Code is able to just like agentically look up resources.
21:58sources and find the right schema of the database table you're talking about. Like both those interactions are possible. But I think like anytime you have this sort of like, you want to list a bunch of entities and then read any of them, that makes sense to model as resources. Resources are also, they're uniquely identified by a URI always. And so you can also think of them as like, you know, sort of general purpose transformers even. Like if you want to support an interaction where a user just like drops a URI in and then you like automatically figure out how to interpret that, you could use MCP servers to do that interpretation.
22:35One of the interesting side notes here back to the Zeta example of resources is that has like a prompt library that you can do people can interact with. And we just exposed a set of default prompts that we want everyone to have. And as part of that prompt library. via resources for a while. So that like you boot up Z and Z will just populate the prompt library from an MCP server, which was quite a cool interaction. And that was, again, a very specific, like both sides needed to agree upon the URI format and the underlying data format. But that was a nice and kind of like neat little application of resources.
23:15There's also going back to that perspective of like, as an application developer, what are the things that I would want? We also apply this thinking to like what existing features of applications could conceivably be kind of like factored out into MCP servers if you were to take that approach today. And so like basically any IDE where you have like an attachment menu that I think naturally models as resources. It's just, you know, those implementations already existed. Yeah, I think the immediate like, you know, when you introduced it for Cloud Desktop and I saw the at sign there, I was like, oh, yeah, that's what cursor has.
23:48But this is for everyone else. And, you know, I think like that is a really good design target because it's something that already exists and people can map on pretty neatly. I was actually featuring this chart from Mahesh's workshop that presumably you guys agreed on. I think this is so useful that it should be on the front page of the docs. Like probably should be. I think that's a good suggestion. Do you want to do you want to do a PR for this? I love it. Yeah, do a PR. I've done a PR for just Mahesh's workshop in general, just because I'm like, you know. I know, I approve. Yeah, thank you.
24:22Yeah, I mean, like, but, you know, I think for me as a developer relations person, I always insist on having a map for people. Here are all the main things you have to understand. We'll spend the next two hours going through this. So one image that kind of covers all this, I think is pretty helpful. And I like your emphasis on prompts. I would say that it's interesting that like, I think, you know, in the early days of like ChatGPT and Claude, people often came up with, oh, you can't really follow my screen, can you? In the early days of ChatGPT and all that, like a lot of people started like, you know, GitHub for prompts, like we'll do prompt manager libraries.
25:01And like those never really took off. And I think something like this is helpful and important. I would say like I've also seen prompt file from Humanloop, I think, as other ways to standardize how people share prompts. But yeah, I agree that like there should be more innovation here. And I think probably people want some dynamicism, which I think you afford, you allow for. And I like that you have multi-step. This is the main thing that got me like these guys really get it. But I think you maybe have published some research that says, actually, sometimes to get the model working the right way, you have to do multi-step prompting or jailbreaking to behave the way that you want.
25:47And so I think prompts are not just single conversations. They're sometimes chains of conversations. Yeah. Another question that I had when I was looking at some server implementations, the server builders kind of decide what data gets eventually returned, especially for tool calls. for example the google maps one right if you just look through it they decide what you know attributes kind of get returned and the user cannot override that if there's a missing one that has always been my gripe with like sdks in general when people build like api wrapper sdks and then they miss one parameter that maybe it's new and then i cannot use it how do you guys think about that and like yeah how much should the user be able to intervene in that versus just letting the server designer do all the work?
26:29I think we probably bear responsibility for the Google Maps one because I think that's one of the reference servers we've released. I mean, in general, for things like for tool results in particular, we've actually made the deliberate decision, at least thus far, for tool results to be not like sort of structured JSON data, not matching a schema really, but as like a text or images or basically like messages that you would pass into the llm directly and so i guess the the correlation that is you really should just return a whole general of data and trust the llm to like sort through it and sift and like you know extract the information it cares about because that's what that's exactly what they excel at and we really try to think about like yeah how how to you know use llms to their full potential and not maybe over specify and then end up with something that doesn't scale as llms themselves get better and better so really yeah i suppose what should be happening in this example server which again will request welcome it'd be great it's like if all these result types were literally just passed through from the api that it's calling and then the llm can can do whatever it wants with the data yeah yeah that to me is like the usbc part of this you know which is like hey this is kind of the file so to speak on this on the server which is what the api returns and then you're kind of funneling it through without doing too much in the middle yeah but at the same time it's like you need to do some work on some of the pieces because sometimes they have like weird you know encoding or like all these different things that maybe the server should handle but yeah it's a hard it's a hard design decisions on where to draw the line i'll maybe throw ai under the bus a little bit here and just say that claude wrote a lot of these example servers as well no surprise at all But I do think, sorry, I do think there's an interesting point in this that I do think people at the moment still to mostly still just apply their normal software engineering API approaches to this.
28:34And I think we still need a little bit more relearning of how to build something for LLMs and trust them, particularly, you know, as they are getting significantly better year to year. And I think two years ago, maybe that approach would have been very valid. But nowadays, just throw data at that thing that is really good at dealing with data is a good approach to this problem. And I think there's just unlearning 20, 30, 40 years of software engineering practices that go a little bit into this to some degree. If I could add to that real quickly, just one framing as well for MCP is thinking in terms of how crazily fast AI is advancing.
29:13I mean, it's exciting. It's also scary. like thinking, us thinking that like the biggest bottleneck to, you know, the next wave of capabilities for models might actually be their ability to like interact with the outside world to like, you know, read data from outside data sources or like take stateful actions. Working at Anthropic, we absolutely care about doing that safely and with the right control and alignment measures in place and everything. But also as AI gets better, people will want that. That'll be key to like becoming productive with ai is like being able to connect them up to all those things so mcp is also sort of like a bet on the future and where this is all going and how important that will be yeah yeah i would say any api attribute that says formatted underscore should kind of be gone and we should just get the raw data from all of them because why you know why are you formatting for me the model is definitely smart enough to format an address so i think that should go to the end user?
30:10Yeah, I have, I think Alessio is about to move on to like server implementation. I wanted to, I think we're still talking about sort of MCP design and goals and intentions. And we've, I think we've indirectly identified like some problems that MCP is really trying to address, but I wanted to give you the spot to directly take on MCP versus OpenAPI, because I think obviously there's, this is a top question. I wanted to sort of recap everything we just talked about and give people a nice little segment that people can say, like, this is a definitive answer on MCP versus OpenAPI? Yeah, I think fundamentally, I mean, OpenAPI specifications are a very great tool.
Read the full transcript
30:48And like I've used them a lot in developing APIs and consumers of APIs. I think fundamentally, or we think that they're just like too granular for what you want to do with LLMs. Like they don't express higher level AI specific concepts, like this whole mental model that we've talked about with the primitives of MCP and thinking from the perspective of the application developer, like you don't get any of that when you encode this information into an open API specification. So we believe that models will benefit more from the purpose built or purpose design tools, resources, prompts, and the other primitives than just kind of like, here's our REST API, go wild.
31:22I do think there's another aspect. I think that, and I'm not an open API expert, so everything might not be perfectly accurate, But I do think that we're like, there's been, and we can talk about this a bit more later. There's a deliberate design decision to make the protocol somewhat stateful because we do really believe that AI applications and AI-like interactions will become inherently more stateful. and that the current state of need for statelessness is more a temporary point in time that will, to some degree, that will always exist. But I think more statefulness will become increasingly more popular, particularly when you think about additional modalities that go beyond just pure text-based interactions with models.
32:12It might be video, audio, whatever other modalities exist out there already. And so I do think that like having something a bit more stateful is just inherently useful in this interaction pattern. I do think they're actually more complementary OpenAPI and MCP than if people wanted to make it out. Like people look for these like, you know, A versus B and like, you know, have all the developers of these things go in a room and fistfight it out. But that's rarely what's going on. I think it's actually they're very complementary and they have their little space where they're very, very strong. And I think, you know, just use the best tool for the job.
32:48And if you want to have a rich interaction between an AI application, it's probably like it's probably MCP that's the right choice. And if you want to have like an API spec somewhere that is very easy and like a model can read and interpret and that's what worked for you, then open API is the way to go. One more thing to add here is that we've already seen people. I mean, this happened very early. People in the community built like bridges between the two as well. So like if what you have is an open API specification and no one's, you know, building a custom MCP server for it, there are already like translators that will take that and re-expose it as MCP and you could do the other direction too.
33:25Awesome. Yeah. I think there's the other side of MCPs that people don't talk as much about because it doesn't go viral, which is building the servers. So I think everybody does the tweets about, well, I connect the cloud desktop to X MCP. It's amazing. how would you guys suggest people start with building servers i think the spec is like so there's so many things you can do that it's almost like how do you draw the line between being very descriptive as a server developer versus like going back to our discussion before like just take the data and then let the model manipulate it later do you have any suggestions for people i i think there i have a few suggestions i think that one of the best things i think about mcp and something that we got right very early is that it's just very very easy to build like something very simple that might not be amazing but it's pretty it's good enough because models are very good and get this going within like half an hour you know and so i think that the best part is just like pick the language of you know of your choice that you love the most pick the sdk for it if there's an sdk for it and then just go build a tool of the thing you that matters to you personally and that you want to see the model like interact with build the server throw the tool and don't even worry too much about the description just yet like do a bit of like write your little description as you think about it and just give it to the model and just throw it to standard IO protocol transport wise into like an application that you like and see it do things.
34:49And I think that's part of the magic that, or like, you know, empowerment and magic for developers to get so quickly to something that the model does something that you care about that I think really gets going and gets you into this flow of like, okay, I see this thing can do cool things. Now I go and can expand on this and now I can go and like really think about like which are the different tools I want which are the different resources and prompts I want okay now that I have that okay now do I what what do my evals look like for how I want this to go how do I optimize my prompts for the evals using like tools like that this is infinite depth that you can do but just start as simple as possible and just go go build a server in like half an hour in the language of your choice and and how the model interacts with the things that matter to you and I think that's that's where the fun is that?
35:38And I think people, I think a lot of what MCP makes great is it just adds a lot of fun to the development piece to just go and have models do things quickly. I also, I'm quite partial again to using AI to help me do the coding. Like I think even during the initial development process, we realized it was quite easy to basically just take all the SDK code. But again, you know, what David suggested, like, you know, pick the language you care about and then pick the SDK. And once you have that, you can literally just drop the whole SDK code into an LLM's context window and say, okay, now that you know MCP, build me a server that does this, this, this.
36:20And like the results I think are astounding. Like, I mean, it might not be perfect around every single corner or whatever, and you can refine it over time. But like, it's a great way to kind of like one shot something that basically does what you want and then you can iterate from there. and and like david said there has been a big emphasis from the beginning on like making servers as easy and simple to build as possible which certainly helps with lms doing it too we often find that like really getting started is like you know 100 200 lines of code in the language of your choice it's really quite easy yeah but if you don't have an sdk again give that like give the subset of the spec that you care about to the model and like another sdk and just have it build you an sdk and it usually works for like that subset building a full sdk is a different story but like to get a model to tool call in Haskell or whatever like language you like, it's probably pretty straightforward.
37:11Yeah, sorry. No, I was gonna say I co-hosted a hackathon at the AGI house on personal agents and one of the personal agents somebody built was like an MCP server builder agent where they will basically put the URL of API spec and it will build an MCP server for them. Do you see that today? It's kind of like, yeah, most servers are just kind of like a layer on top of an existing API without too much opinion and how yeah do you think that's kind of like how it's going to be going forward just like AI generated exposed the API that already exists or are we going to see kind of like net new mcp experiences that you couldn't do before I think go for it I think both like I think there there will always be value in like oh I have you know I have my data over here I want to use some connector to bring it into my application over here that use case will certainly remain i think you know this this kind of goes back to like i think a lot of things today are maybe defaulting to tool use when some of the other primitives would be maybe more appropriate over time and so it could still be that connector it could still just be that sort of adapter layer but could like actually adapt it onto different primitives which is one one way to add more value but then i also think there's plenty of opportunity for use cases which like do you know or for mcp servers that kind of do interesting things in and of themselves and aren't just adapters.
38:30Some of the earliest examples of this were like, you know, the memory MCP server, which gives the LLM the ability to remember things across conversations, or like someone who's a close coworker built the, how I should have said, not a close coworker, someone built the sequential thinking MCP server, which gives a model the ability to like really think step-by-step and get better at its reasoning capabilities. This is something where it's like, It really isn't integrating with anything external. It's just providing this sort of way of thinking for a model. I guess either way, though, I think AI authorship of the servers is totally possible.
39:10I've had a lot of success in prompting just being like, hey, I want to build an MCB server that does this thing. And even if this thing is not adapting some other API, but is doing something completely original, it's usually able to figure that out, too. Yeah, I do think that the, to add to that, I do think that a good part of what MCP servers will be, will be these like just API wrapper to some degree. And that's good and valid because that works and it gets you very, very far. But I think we're just very early like in exploring what you can do. I mean, I think as client support for like certain primitives get better, like we can talk about sampling with my favorite topic and greatest frustration.
39:51at the same time. I think you can just see it very easily see like way, way, way richer experiences. And we have built them internally for as prototyping aspects. And I think you see some of that in the community already. But there's just, you know, things like, hey, summarize my, you know, my favorite subreddits for the morning MCP server that nobody has built yet. But it's very easy to envision and the protocol can totally do this. And these are like slightly richer experiences. And I think as people like go away from like the oh i just want to like i'm just in this new world where i can hook up the things that matter to me to the llm to like actually want a real workflow a real like like more richer experience that i i really want to expose to the model i think then you will see these things pop up but again that's a there's a little bit of a chicken and egg problem at the moment with like what a client support versus you know what servers like authors want to do yeah that that was kind of my next question on composability like how how do you guys see that do you have plans for that what's kind of like the import of mcps so to speak into another mcp like if i want to build like the subreddit one there's probably going to be like the reddit api mcp and then the summarization mcp and then how do i how do i do a super mcp yeah so so this is an interesting topic and i think they're so there are there are two aspects of it i think that the one aspect is like how can I build something agentically that you requires an LLM call in like a one form or fashion like for summarization or so but I'm staying model independent and for that that's where like part of this by directionality comes in in this more rich experience where we do have this facility for servers to ask the client again who owns the LLM interaction right like we talk about cursor who like runs the loop with the LLM for you there that for the server author to ask the client for a completion and basically have it like summarize something for the server and return it back.
41:52And so now what model summarizes this depends on which one you have selected in cursor and not depends on what the author brings. The author doesn't bring an SDK, doesn't have you had an API key. It's completely model independent how you can build this. This is one aspect to that. The second aspect to building richer systems with MCP is that you can easily envision an mcp server that serves something to like something like cursor or windsurf or a cloud desktop but at the same time also is an mcp client at the same time and itself can use mcp servers to create a rich experience and now you have a recursive property which we actually quite carefully in design principles try to retain you you know you see it all over the place and authorization other aspects to the spec that we retain this like recursive pattern and now you can think about like okay i have this little bundle of applications both a server and a client and i can add these in chains and build basically graphs like dags out of mcp servers that can just richly interact with each other agentic mcp server can also use the whole ecosystem of mcp servers available to themselves and i think that's a really cool environment cool thing you can do and people have experimented with this and i think you see hopefully more of this particularly when you think about like auto selecting auto installing there's a bunch of these things you can do that make and make a really fun experience i i think practically there are some niceties we still need to add to the sdks to make this really simple and like easy to execute on like this kind of recursive mcp server that is also a client or like kind of multiplexing together the behaviors of multiple mcp servers into one host as we call it these are things we definitely want to add we haven't been able to yet but like i think that would go some way to showcasing these things that we know are already possible, but not necessarily taken up that much yet.
43:40Okay. This is very exciting and very, I'm sure a lot of people get a lot of ideas and inspiration from this. Is an MCP server that is also a client, is that an agent? What's an agent? There's a lot of definitions of agents. Because in some ways you're requesting something and it's going off and doing stuff that you don't necessarily know. It's like a layer of extraction between you and the ultimate raw source of the data. You could dispute that. I don't know if you have a hot take on agents. I do think that you can build an agent that way. For me, I think you need to define the difference between an MCP server plus client that is just a proxy versus an agent.
44:16I think there's a difference. And I think the difference might be in, you know, for example, using a sample loop to create a more richer experience, to have a model call tools while like inside that MCP server through these clients. I think then you have an actual agent. Yeah. I do think it's very simple to build agents that way. Yeah. I think there are maybe a few paths here. It definitely feels like there is some relationship between MCP and agents. One possible version is maybe MCP is a great way to represent agents. Maybe there are some features or specific things that are missing that will make the ergonomics of it better.
44:53And we should make that part of MCP. That's one possibility. Another is maybe MCP makes sense as kind of like a foundational communication layer for agents to compose with other agents or something like that. Or there could be other possibilities entirely. Maybe MCP should specialize and narrowly focus on kind of the AI application side and not as much on the agent side. I think it's a very live question. And I think there are sort of trade-offs in every direction. Going back to the analogy of the God box, I think one thing that we have to be very careful about in designing a protocol and kind of curating or shepherding an ecosystem is like trying to do too much.
45:28I think it's a very big, yeah, you know, you don't want a protocol that tries to do absolutely everything under the sun because then it'll be bad at everything too. And so I think the key question, which is still unresolved, is like, to what degree are agents really naturally fitting into this existing model and paradigm? Or to what degree is it basically just like orthogonal? It should be something. I think once you enable two-way and once you enable client server to be the same in delegation of work to another MCP server, it's definitely more agentic than not. But I appreciate that you keep in mind simplicity and not trying to solve every problem on this one.
46:03Cool. I'm happy to move on there. I mean, I'm going to double click on a couple of things that I marked out because they coincide with things that we wanted to ask you anyway. So the first one is just a simple how many MCP things can one implementation support? So this is the sort of wide versus deep question. And this is direct relevance to the nesting of MCPs that we just talked about. In April 2024, when Cloud was launching one of its first context, the first million token context example, they said you can support 250 tools. And, you know, so to me, that's wide in the sense that you don't have tools that call tools.
46:42You just have the model and a flat hierarchy of tools. But then obviously you have tool confusion. It's going to happen when tools are adjacent, you call the wrong tool, you're going to get the bad result. Right. Do you have a recommendation of like a maximum number of MCP servers that are enabled at any given time? I think, to be honest, like, I think there's not one answer to this because to some extent, it depends on the model that you're using. To some extent, it depends on like how well the tools are named and described for the model and stuff like that to avoid confusion. I mean, I think that the dream is certainly like you just furnish all this information to the LLM and it can make sense of everything.
47:23This kind of goes back to like the future we envision with MCP is like all this information is just brought to the model and it decides what to do with it. But today, the reality or the practicalities might mean that like, yeah, maybe you maybe in your client application, like the AI application, you do some filtering over the tool set. Or like maybe you run like a faster, smaller LLM to like filter to what's most relevant and then only pass those tools to the bigger model. or you could use an mcp server which is a proxy to other mcp servers and does some filtering at that level or something like that i think hundreds as you referenced is still a fairly safe bet at least for claude i can't speak to the other models but yeah i don't know i think over time we should just expect this to get better so we're wary of like constraining anything and preventing that that sort of long yeah obviously it highly it highly depends on the overlap of the description right?
48:14Like if you have like very separate servers that do very separate things and the tools have very clear unique names, very clear, well-written descriptions, you know, your mileage might be more higher than if you have a GitLab and a GitHub server at the same time in your context. And then the overlap is quite significant because they look very similar to the model and confusion becomes easier. There's different considerations too, depending on the AI application. If you're trying to build something very agentic, Like maybe you are trying to minimize the amount of times you need to go back to the user with a question or, you know, minimize the amount of like configurability in your interface or something.
48:51But if you're building other applications, you're building an IDE or you're building a chat application or whatever. Like, I think it's totally reasonable to have affordances that allow the user to say, like, at this moment, I want this feature set or at this different moment, I want this different feature set or something like that. And maybe not treat it as like always on the full list, always on all the time. Yeah, that's where I think the concepts of resources and tools get to blend a little bit, right? Because now you're saying you want some degree of user control, right? Or application control.
49:20And other times you want the model to control it, right? So now we're choosing just subsets of tools? I don't know. Yeah, I think it's a fair point or a fair concern. I guess the way I think about this is still like, at the end of the day, and this is a core MCP design principle is like, ultimately, the client application, and by extension, the user, ultimately, they should be in full control of absolutely everything that's happening via MCP. when we say that tools are model controlled what we really mean is like tools should only be invoked by the model like there really shouldn't be an application interaction or a user interaction where it's like okay as a user i now want you to use this tool i mean occasionally you might do that for prompting reasons but like i think that shouldn't be like a ui affordance but i think the client application or the user deciding to like filter out things that mcb servers are offering totally reasonable or even like transform them.
50:13Like you could imagine a client application that takes tool descriptions from an MCB server and like enriches them, makes them better. We really want the client applications to have full control in the MCB paradigm. That in addition though, like I think there, one thing that's very, very early in my thinking is there might be an addition to the protocol where you want to give the server author the ability to like logically group certain primitives together potentially to inform that because they might know some of these logical groupings better and that could like encompasses prompts, resources and tools at the same time.
50:46I mean, personally, we can have a design discussion on there. I mean, personally, my take would be that those should be separate MCP servers and then the users should be able to compose them together. But we can figure it out. Is there going to be like a MCP standard library, so to speak, of like, hey, these are like the canonical servers. Do not build this. We're just going to take care of those. And those can be maybe the building blocks that people can compose or... Do you expect people to just rebuild their own MCP servers for like a lot of things? I think we will not be prescriptive in that sense.
51:17I think there will be inherently, you know, there's a lot of power. Well, let me rephrase it. Like I have a long history in open source and I feel the bizarre approach to this problem is somewhat useful, right? And I think so that the best and most interesting option wins. And I don't think we want to be very prescriptive. I do. We'll definitely foresee and this already exists that there will be like 25 GitHub servers and like 25, you know, Postgres servers and whatnot. And that's all cool and that's good. And I think they all add in their own way. But effectively, eventually over months or years, the ecosystem will converge to like a set of very widely used ones who basically, I don't know if you call it winning, but like that will be the most used ones.
52:01And I think that's completely fine because be prescriptive about this. I don't think it's any useful, any use. I do think, of course, that there will be like MCP servers and you see them already that are driven by companies for their products. And, you know, they will inherently be probably the canonical implementation. Like if you want to work with Cloudflow workers and use an MCP server for that, you'll probably want to use the one developed by Cloudflare. Yeah. I think there's maybe a related thing here too, just about like one big thing we're thinking about. We don't have any like solutions completely ready to go.
52:34is this question of like trust or like, you know, vetting is maybe a better word. Like, how do you determine which MCP servers are like the kind of good and safe ones to use, regardless of if there are an implementations of GitHub MCP servers, that could be totally fine, but you want to make sure that you're not using ones that are really like sus, right? And so trying to think about like how to kind of endow reputation or like, you know, if hypothetically anthropic is like we've vetted this it meets our criteria for for secure coding or something how can that be reflected in in kind of this open model where everyone in the ecosystem can benefit don't really know the answer yet but that's very much toppled out but i think that's like a great design choice of ncps which is like language agnostic like already and there's not to my knowledge an anthropic official ruby sdk nor an open ai sdk and alex rudal that are great does a great job building those but now with mcps it's like you don't actually have to translate an sdk to all these languages you just do one one interface and kind of bless that interface as as anthropic so yeah that was that was nice i have a quick answer to this thing so like obviously there's like five or six different registries already popped up you guys announced your official registry that's gone the way and a registry is very tempting to offer download counts, likes, reviews, and some kind of trust thing.
53:57I think it's kind of brittle. Like no matter what kind of social proof or other thing you can offer, the next update can compromise a trusted package. And actually that's the one that does the most damage, right? So abusing the trust system is like setting up a trust system creates the damage from the trust system. And so I actually want to encourage people to try out MCP Inspector, because all you got to do is like actually just look at the traffic and like i think that's that goes for a lot of security issues yeah absolutely i think it's like this very classic just supply chain problem that like all registries effectively have and the you know there are different approaches to this problem like you can take the apple approach and like vet things and like have a like an army of of both system and review teams to do this and then you effectively build an app store right that's that's one approach to this type of problem.
54:48It kind of works in a very certain set of ways, but I don't think it works in an open source kind of ecosystem for which you always have a registry kind of approach, like similar to NPM and Packagist and PyPy. And they all have inherently these, like, these supply chain attack problems, right? Yeah, yeah, totally. Quick time check. I think we're going to go for another, like, 20, 25 minutes. Is that okay for you guys? Okay, awesome. Cool. I wanted to double click, take the time. So I'm going to sort of, we previewed a little bit on like the future coming stuff. So I want to leave the future coming stuff to the end, like registry, the stateless servers, remote servers, all the other stuff.
55:23But I wanted to double click a little bit more on the launch, the core servers that are part of the official repo. And some of them are special ones, like the ones we already talked about. So let me just pull them up already. So for example, you mentioned memory, you mentioned sequential thinking. And I think I really, really encourage people to look at these, what I call special servers. Like they're not normal servers in the sense that they wrap some API and it's just easier to interact with those than to work with the APIs. And so I'll highlight the memory one first, just because like I think there are a few memory startups, but actually you don't need them if you just use this one.
56:02It's also like 300 lines of code. It's super simple. And obviously then if you need to scale it up, you should probably do some more battle tested thing. But if you're interested, if you're just introducing memory, I think this is a really good implementation. I don't know if there's like special stories that you want to highlight with, with some of these. I think, no, I don't think there's a particular special. I think a lot of these, not all of them, but a lot of them originated from that hackathon that I mentioned before, where folks got excited about the idea of MCPE. People internally inside Anthropik who wanted to have memory or like wanted to play around with the idea.
56:39could quickly now prototype something using MCP in a way that wasn't possible before. Someone who's not like, you know, you don't have to become the end-to-end expert. You don't have access. You don't have to have access to this like private, you know, proprietary code base. You can just now extend Claude with this memory capability. So that's how a lot of these came about. And then also just thinking about like, you know, what is the breadth of functionality that we want to demonstrate at launch? Totally. And I think that is partially why it made your launch successful because you launch with a sufficiently spanning set of here's examples and then people just copy paste and expand from there i would also highlight the file system mcp server only because it has edit file and basically i think people were very excited when we had eric who built your sort of sweet bench projects on the podcast as well and people were very interested in this sort of like file editing tool that is basically open source via this project and and i think a lot of there's some libraries out there there's some other implementations that like you know this is core ip for them and now it's just you guys just put it out there it's just really cool yeah i i really i mean honestly the file system server is one of my favorites because i think it really speaks to like a limitation that i was feeling you know i was like hacking on a game as a side project and really wanted to connect it to like Claude and artifacts like David talked about before just giving Claude or like suddenly being able to give Claude the ability to like actually interact with my local machine was huge I really love that sort of capability yeah I mean this is this is the classic example of like this server directly comes out of the frustration that both created MCP and that server there was a very clear direct path of like here's the frustration we're currently having to mcp plus the server that that we both have felt and justin in particular so that regard is close to our heart as like as as a spiritual inception point of the protocol itself so okay and then i think the last thing i'll highlight is sequential thinking which you already talked about this is this gives like branching which is kind of interesting it gives sort of you know i need more need more space to write which is kind of super interesting and i think one thing i also wanted to clarify was anthropic this week well this past week put out a new engineering blog with a think tool and there's a bit of community confusion how sequential thinking overlaps with the think tool i just think that it's just different teams doing similar things in different parts of the world but i just want to let you guys clarify i think I mean, there's definitely like, sorry, let me start over.
59:27As far as I know, there is no common lineage between these two things, but I think it just speaks to a larger thing that like, there are many different strategies to get an LLM to be more thoughtful or hallucinating less or whatever it might be to kind of like express these different dimensions more fully or more reliably. And I don't know, I think this is like the power of MCP that like you could build different servers that do these different things or have like, you know, different products or different tools within the same server that do these different things. And like ask the LLM to apply a particular like mental model or thinking pattern or whatever for different results.
1:00:08So I don't know. I think I guess don't know that there will be like one ideal prescribed method like LLM, here's how you should think all the time. I think there will be different applications for different purposes, and MCP allows you to do that, right? Yeah, I think in addition, there's also like the way that the approach to this, that some of the MCP servers, they're filling a gap that existed at a point in time that the models later catch up to by themselves. Because, you know, they have this training time and preparation, at least research that goes into making models do things natively. so to speak.
1:00:50And you can get a lot of mileage of something as simple as a sequential thinking tool like server. It's not simple, but it's like it's doable within a few days, which is definitely not the time frame you look at adding thinking to a model natively. I guess to come up with an example on the fly, like I could imagine building, you know, if I'm working with a model that is not particularly reliable, or, you know, maybe someone considers the generation today overall, not particularly reliable. Like I could imagine building an MCP server that gives me like best of three, you know, tries like three times to answer a query with the model and then picks the best one or something like that.
1:01:27Like you could get this kind of like recursive and composable LLM interactions with MCP. Awesome. Okay, cool. I think so, you know, sorry, thanks for indulging on like some of the servers. I just wanted to double click on these. I think we have time for just like future roadmap things people were most excited about this recent update moving from stateful to stateless servers you guys picked sse as your sort of launch protocol and transport transport and obviously transport is pluggable the behind the scenes of that like was it jared palmer's tweet that caused it or were you already working on it no we have we have github discussions going back like you know in public going back months really talking about this this dilemma and the trade-offs involved.
1:02:11We do believe that the future of AI applications and ecosystem and agents, all of these things I think will be stateful or will be more in the direction of statefulness. So we had a lot of I think honestly this is one of the most contentious topics we've discussed as the core MCP team and gone through multiple iterations on and back and forth, but ultimately just came back to this conclusion that like if the future looks more stateful we we don't want to move away from that paradigm completely now we have to balance that against it's it's been operationally complex or like it's hard to deploy an mcp server if it requires this like long-lived persistent connection this this is the original like sse transport design is basically you deploy an mcp server and then a client can come in and connect and then basically you should remain connected indefinitely, which is that's like a tall order for anyone operating at scale.
1:03:09It's just like not a deployment or operational model you really want to support. So we were trying to think like, how can we balance the belief that statefulness is important with sort of simpler operation and maintenance and stuff like that? And the new sort of, we're calling it the streamable HTTP transport that we came up with still has SSE in there, but it has a more like a gradual approach where like a server could be just plain HTTP, like, you know, have one endpoint that you send HTTP posts to and then, you know, get a result back. But then you can like gradually enhance it with like, okay, now I want the results to be streaming or like now I want the server to be able to issue its own requests.
1:03:50And as long as the server and client both support the ability to like resume sessions like you know to disconnect and come back later and pick up where you left off then you get kind of the best of both worlds where it can still be the stateful interaction and stateful server but allows you to like horizontally scale more easily or like deal with spotty network connections or whatever the case may be yeah yeah and yet as you mentioned session id how do you think about auth going forward for some mcps i just need to like paste my api key in the command is there kind of like a but yeah what do you see as the future of that Is there going to be like the.m equivalent of like for MCPs or?
1:04:28Yeah. We do have authorization as a specification in the current draft of the next provision of the protocol. It's mostly at the moment focused on user to server authorization using like OAuth 2.1 or like, you know, a subset of modern OAuth basically. And I think that has seems to be working well for people and people building on top of that. And that will solve a lot of these issues because you don't really want to have people bring API keys, particularly when you have like when you think about a world, which I truly believe will happen, where the majority of servers will be remote servers. So you need some sort of authorization with that server.
1:05:07Now, for the local case, because the authorization is defined on the transport layer and so requires framing, which means like headers effectively. This does not work in Santa.io. But in Cynna.io, you run locally and you can do whatever you want anyway. And you might just pop open a browser and deal with it that way. And then there's also like some thinking that is somewhat not fully decided on about, you know, even using HTTP locally, which would solve that problem. And Justin is laughing because he's very much in favor of this, where I'm very much not in favor of this. So there's some debate going on there.
1:05:44But like authorization, I think, you know, we have something. I think it's like it's as everything in the protocol is like fairly minimal, like trying to solve a very practical problem. It tries to be very minimal in what it does. And then we go from there and add based on practical pain points people have on top of the protocol and don't try to overdesign it from the beginning. So we'll just see how far our current aspect gets us basically. Yeah, I want to build on that a bit because I think that last point is really important. And like, you know, when you're designing a protocol, you have to be extremely conservative.
1:06:16because if you make a mistake, you basically can't undo that mistake or you break backwards compatibility. So it's far easier to like only accept things or like only add things that you're extremely certain about and let people kind of do ad hoc extensions until maybe there's more like consensus that something is worth adding to the core thing and like supporting indefinitely going forward. And with auth in particular, and this example of API keys, I think this is really illustrative because we did a lot of this sort of like brainstorming, like, okay, if I have this use case, could I accomplish that with this version of auth?
1:06:52And I think the answer is yes for like the API key example. Like you can have an MCP server, which is an OAuth authorization server. And at the like slash authorized web page, it just has like a text box for you to put in an API key. Like that would be a totally valid OAuth flow for the MCP server. maybe not the most ergonomic or not what people would ideally like but because it does fit into the existing paradigm and is possible today we're wary about like adding too much other too many other options that both then clients and servers need to think about yeah have you guys gave scopes any thought if it's like we had an episode with dermesh shai yesterday from hnai and hubspot and he was given the example of like email like he has all of his emails and you know he would like to have more granular scope for, hey, you can only access these types of emails or like emails to this person.
1:07:42Today, most scopes are like rest driven, basically. It's like what endpoints can you access? Do you see a future in which the model kind of access like the scope layer, so to speak, and kind of dynamically limits the data that passes through? I think the, I think there is a potential need for scopes. That goes back to like, we have discussions around this, but what we're currently trying to do is just like rooting them in very specific example and like have a good set of like, these are actual problems that you cannot currently solve with the current implementations. And that's like the bar we set to add to the protocol.
1:08:17And I think that, and then, you know, based on that prototype, using that extensibility that we have at the moment where every structure that's returned is extensible and then build on top of that and prove that this will have a good user experience and then we put it at the protocol. That's usually been for the most part the case. It's actually not quite the case for authorization in general. That's been a bit more top-down. But I can totally see why people want it. It's just a matter of like showcasing the specific examples and like what the potential solutions would be so that we don't accidentally run into this like, yeah, this approach where like it sounds roughly right and we put it in and it was actually not really right.
1:08:54And now you're back to this like adding, it's easy, removing as hard in protocol design. And so we're just a little bit, we're just a little bit, you know, careful around this, so to speak. That being said, you know, every time I hear it, like in the rough description, it makes sense. I would love to have a very practical end-to-end user example of this and where it falls apart at current implementation, then we can have a discussion. There's a little bit of wariness from my perspective, too. Maybe not with scopes specifically. I think those could make a lot of sense as long as we have the use cases in mind.
1:09:25But I do think, you know, in thinking about composability and logical groupings of things, I think it does often make sense for MCP servers to be quite small things. And if you want lots of collections of functionality for those to be discrete servers that you kind of combine together as a user or in the application layer. And so some of the pushback about auth has been like, well, if I need to authorize with like 20 different things on the other side, how can I do that? It's like, well, maybe that's not what the server should be doing. And maybe it shouldn't be connecting to 20 different things.
1:09:57Maybe those should be separate servers that combine up somehow. Lots of discussion there. Where should people go if they want to get involved in these debates? Is it just the specification repo discussion page? That's a good start. I want to caveat it slightly that on the internet, it's very easy to be part of a discussion and having an opinion without then actually doing the work. And so I think there, we're, both Jensen and I are very old school open source people that like, it's, it's merit driven in the sense that if you have done work and if you, if you showcase this with like practical examples and work in SDKs towards the extensions you want to make, you have a good chance that it gets in.
1:10:41If you're just there to have an opinion, you're very likely just being ignored, to be frank, because there's a limit to how much discussion points we can read. Of course, we value the discussion and we want to have the discussion. But we also need to manage our time and our engagement. And we obviously select for the people who are doing the most work. we're trying to figure out you know that honestly like I think even compared to open source work I've done in the past just the sheer volume of conversation and notifications around MCP stuff is extraordinary which is great on one hand but I think we do need to figure out more scalable structures to both engage with the community but also keep conversations high signal and like effective and I guess there's something else to be aware of related to David's point is like I do believe that a big part of running a successful open source project is sometimes making hard decisions that people will be unhappy about and you kind of just have to like you know learn to to like figure out like what what are the things what what is like the actual vision for the project where where do we as the kind of like maintainers or like shepherds or whatever believe that it's going and just commit to that and like understand that some people won't agree with that vision and that's totally fine but then maybe maybe there will be other projects that are more in line with what they're hoping for or something like that i think that's a very interesting and quite good point is like they're like a like a project like mcp is an entry into like into a solution space of the problems in that in the general like space and it's it is one of many entries in a way.
1:12:28And if you do not like the direction, you know, that we and like people that are very close, you know, in the development of the protocol choose, then there's always place for more, right? That's the beauty of open search, right? The good old, you know, for Git approach. We do always want to hear the feedback and we need to make it scalable, I think, but also just the recognition that like, sometimes we will be going with our intuition about what is the right choice. There might be a lot of flame in the open source discussions about it, but that's just the nature of projects like this sometimes.
1:13:03Yeah, fortunately, neither of you are new to that. I would also say there's a lot of history to be drawn from Facebook open source, right? And both of you, if you weren't directly involved, you know everyone who was directly involved. I would say React, we eventually started, because I was obviously deeply part of the React ecosystem, we eventually started working groups where it was open, it was conducted in discussions, and each member of the working group had a voice that represented a significant part of the community but also showed that they did the work they had a significance they weren't like sort of drive-by people with no skin in the game and i think that was helpful for a while i'm not sure it's like an actively managed thing because of react's own issues with the multi-company situation they're in the other thing that actually is to me is more interesting is graphql because mcp where like currently has the hype that graphql had and i lived through that one and eventually you know Facebook donated GraphQL to an open source foundation.
1:13:56And I think that there's a question of like, do we want to do that? There's trade-offs, right? It's not a clear yes or no. I would say that most people are happy with Anthropic and you guys, obviously, because you created it, you guys being the stewards. But at some point, at some scale, you're going to hit some ceiling there where you're like, okay, like, you know, this is owned by one company. And, you know, eventually people want to like, the truly open standard is a nonprofit. There's multiple stakeholders. is a good governance process, all of which is governed by like Linux Foundation, Apache, whatever.
1:14:26So I want to ask like any thoughts there? I personally would say it's too early. You know, like what are your thoughts? Yeah, I think governance in general is a super interesting problem in the open source space. I think there are two things. On one side, we really, really want to make this and have this be an open standard and open protocol and open project with, you know, participation from everyone who wants to be Partake. And I think that actually is working quite well so far. If you look at the pull request, if you look, for example, a lot of the inputs on the streamable HTTP thing came from companies like Shopify and others that had discussed and worked on this and brought proposals to the table.
1:15:11And I think that works really well. The thing that we are a bit wary about is any type of official standardization, particularly going through an actual standardization body or any type of like foundational work that starts having processes as part of this to stay somewhat fair to everyone, that can add process that in a fast moving field like AI can be detrimental to the project. And that's what we worry about. We worry about processes that are slowing us down. And so we're trying to find this nice middle ground of like, how can we have participation? that we luckily do have from everyone, work towards everyone's, you know, everyone's like problems that they have potentially with the governance model and figure the right path forward out without accidentally slowing down the project.
1:16:03I think that's what we're trying to do. But yeah, we genuinely, we are very genuine in our desire to have this be an open project. And like, yes, it was initiated by Anthropic and David and I work at Anthropic, But like, we don't want it to be seen as like, this is anthropics protocol. I think it's very important for the whole ecosystem that this is something that like any AI lab could have a stake in or contribute to or make use of. But yeah, it's just, it's balancing that against avoiding death by committee, basically. And so like, I think there are a lot of models for doing this successfully in open source.
1:16:38I think most of the delicacies are really around like, you know, sort of corporate sponsorship and corporate say, and we'll kind of navigate that as it comes up. But we absolutely want this to be like a community project. That being said, I want to highlight this, that at the moment, as we speak, there's plenty of people that are not Anthropic employees who have commit access and admin access to the repositories right there. You know, some of the people from Pydantic have commit access to the Python SDK because they did a lot of really good work there. And we had a lot of contributions from block and others to the specifications.
1:17:10SDKs like the Java SDK and the C Sharp SDKs, they're completely done by different companies. Like the C Sharp one is done by Microsoft. It's a very recent addition last week and they do everything there. They have full admin rights over that. The same goes with JetBranch doing the Kotlin one and Spring AI doing the Java one. So it is actually, if you really look at it, it's already like a multi-company big project with everyone. And there was a lot of people beyond just us to having commit access to and rights to the project as is. Yeah. Awesome, guys. This was great. Just to wrap up, do you have any MCP server wish list?
1:17:48What do you want people to build you that is not there yet? Or client. Client or server. I want more sampling clients. That's all I want. I want cool. I want someone to build a client that is sampling and someone else that builds me a server that does summarize my Reddit threads or summarize. right? Like I'm an old EVE Online player. Summarize what happened in EVE Online in the last week for me. I wish that someone would do that. But for that, I want a sampling client. I want this model independent. Not because I wanted to use any other model than Claude, because Claude is by far the best, but I just want to have a sampling client for the sake of having a sampling client.
1:18:27Justin, what about you? Well, I'll echo that and just even broadly say, like, I think just more clients that support the full breadth of the spec would be amazing. I mean, we kind of designed things so that things could be adopted incrementally anyway, but like still, it would be great if, you know, all these primitives that we've put this thought into do get manifested somehow. That would be amazing. But going back to, you know, some of my initial motivation for working on MCP and like excitement about the file system server, you know, like I like hacking on a game as a side project. So I would really love to have an MCP client and or MCP server with like the godot engine which i was using to build the game and just like have really easy like ai integration with that or like have you know claude run and play test my game or something like claude plays pokemon who knows hey at least you have them already built to have claude already built your 3d model from now on with blender right but yeah i mean honestly even like shader code and stuff already i was just like this is not my wheelhouse it's amazing what you can do when you enable builders yeah we're actually working on a cloud place pokemon hackathon with David Hershey.
1:19:30So I'd be able to bring MCP into that. I had no plans, but if he wants to, he can. Awesome, guys. Well, thank you for the time. Yeah. Keep up the good work. Thank you both. This was fun. Yeah. Thank you. I really appreciate it. Cheers.
From the publisher
Today’s guests, David Soria Parra and Justin Spahr-Summers, are the creators of Anthropic’s Model Context Protocol (MCP). When we first wrote Why MCP Won, we had no idea how quickly it was about to win.
In the past 4 weeks, OpenAI and now Google have now announced the MCP support, effectively confirming our prediction that MCP was the presumptive winner of the agent standard wars. MCP has now overtaken OpenAPI, the incumbent option and most direct alternative, in GitHub stars (3 months ahead of conservative trendline):
For protocol and history nerds, we also asked David and Justin to tell the origin story of MCP, which we leave to the reader to enjoy (you can also skim the transcripts, or, the changelogs of a certain favored IDE). It’s incredible the impact that individual engineers solving their own problems can have on an entire industry.
Timestamps
00:00 Introduction and Guest Welcome
00:37 What is MCP?
02:00 The Origin Story of MCP
05:18 Development Challenges and Solutions
08:06 Technical Details and Inspirations
29:45 MCP vs Open API
32:48 Building MCP Servers
40:39 Exploring Model Independence in LLMs
41:36 Building Richer Systems with MCP
43:13 Understanding Agents in MCP
45:45 Nesting and Tool Confusion in MCP
49:11 Client Control and Tool Invocation
52:08 Authorization and Trust in MCP Servers
01:01:34 Future Roadmap and Stateless Servers
01:10:07 Open Source Governance and Community Involvement
01:18:12 Wishlist and Closing Remarks




