YouTubevideo· Sep 27, 2025· 15:42· 2,900 views on YouTube

MCPs aren't just APIs (they are wrong)

Watch on YouTube ↗
0:00

React at a moment you like. The best moments light up here.

transcript

39 moments
  1. Now, I get it. I didn't understand MCP servers either. And apparently, it's not just me, or maybe not just you that think that MCPs are just not worth it because there's a lot of people that don't know the difference between using an API versus an MCP. And again, I was there right with you. Or maybe just what MCPs actually are capable of. Are they worth it? Or are they just web 3 all over again? On one hand, it's really hard to see, at least at a glance, how different MCPs are from an API.

  2. Why would my application just not interact with LLMs via an API? Why does it need MCPs? And then two, as a consumer, why would I use MCPs to interact with things via an LLM when I could just interact with the application itself, whether through programmatic ways like an API or even just using the tool.

  3. So I had to retrain my brain to think of MCPs not just as a way for LLMs to interact with a application but rather for me to use LLMs to interact with an application. So maybe that doesn't make perfect sense for you. So I built out an MCP server just to show you why this would be extremely difficult to do with APIs, but then also why you might start using them in your own personal life, too.

  4. So here were MCPs that I started to use and by this I mean I tried to use them frequently mostly because okay if I'm using claw desktop or even chat GBT recently came out with their own version of integrations MCPS uh there's ways that I can interact with tools that I use on a daily basis and these were the ones I started to learn okay this is valuable linear so I would use claw

  5. desktop and even claude code to say, "Okay, hey, give me a list of all of my open issues." And I use linear to think of video ideas and then I can interact with that list instead of having to export them and then, you know, or just like copy and paste, take a screenshot, whatever that might be. Okay, I get it. YouTube, same thing. I could then interact with my own YouTube APIs without having to export data as a CSV and use that. notion again, same thing.

  6. Without having to export information, copy and paste, I could just have it read and then I could analyze the data in that way. And you're kind of getting a gist of how I view MCPS, how I currently use them. But then maybe just a way of how you might think of building your own MCPS as well or where they're currently very useful because I think that's just it.

  7. It's being able to read data, analyze it, and do something with it within an LLM without having to do the manual task of exporting that data, of having an API and a readable format.

  8. Now, all of a sudden, you have an API with a little bit extra uh complexity, a little bit extra bonus things on top of it. So, here is the main reason why MCPs are not just an API for your LLM. Now, don't get me wrong, they kind of are. An LLM allows you to interact with an application using MCPS just in a more readable format.

  9. So, if I'm chatting with an LLM, I don't need to know an API, you know, syntax that I need for that particular application. uh the MCPS give that LLM the standardization for how it should interact with that application because it's not just the what how it's interacting it's the why.

  10. Why would you interact with your application in that particular way? And in this case, why would you build an MCP when you could just build an API and just, you know, have the LM figure out how to interact with that API, right?

  11. Well, that's not entirely true. So, I built a MCP demo server. After taking a look at this demo, I think you'll understand more why MCPs are not just an AI version of an API. Now I am using a brand new Laravel MCP package that allows you to just create MCPs with ease.

  12. It gives you the things that you normally need for an MCP so that you can uh create those programmatically within Laravel and have them kind of be all set up and ready for you to go so that you can add this either as a a web server or even a local server if you're wanting to test out your MCP again within your application. So, just as a quick brief, here's what MCPs are. MCPs usually have three things. One, resources. Here's where LLMs know how to interact with your application.

  13. The the knowing behind what it can then do. And so, that's a standardized way for MCPS to know two tools. This is going to be fall in the more doing category where uh it still might be read only things for the most part where you can read from your database or your application itself but it's going to be actually accomplishing what your resources tell the LM it can't do. And of course in the tools you can also uh have them be write mode as well.

  14. So, if you wanted to, let's say, schedule a calendar invite, that could be a tool, but it could also be a tool if you wanted to list existing calendars. And then lastly, prompts.

  15. This is going to be uh the LLM's way of understanding through your MCP, okay, how might I best phrase things to the user or how might I best um try to listen to what the user is actually telling me to do? Now, it's going to take the descriptions of tools and the descriptions of resources to try to figure out which one of the tools it should run in any given instance, but the prompt is then going to be the um standard for how it might then relay this information back to you.

  16. And so while Laravel's MCP package gives you the tools and uh standardization to make MCPs really easy and effortlessly, all of this is applicable across the board.

  17. Even if you weren't using Laravel or using Laravel's MCP server, this local MCP server that I have set up, I have running so my cloud code can interact with it. It's this schedule server class. And this schedule server, uh, usually LLMs need the name of it. They need specific instructions to tell the LLM how they should interact with the server. And this can be as detailed or as brief as you want. Again, detailed is probably the best thing for MCPS.

  18. And then lastly, within this layer of MCP package, we can list what are the tools, what are the resources, and what are the prompts that we might need for this LLM to interact with our application. So this is an application that uh let's say you have a team of and this only has three people but they have their own calendar and maybe that's pulling from a Google calendar API for example but you want to find uh a good meeting time for

  19. maybe one person and another person maybe all three people maybe different time zones. Uh but then you also need to find maybe a specific day. And so you might think, okay, that's really easy to do with an API. Well, yes, it could be. But then you go into all the uh ifs, ands, or buts where now you're interacting with specific time zones.

  20. And then what if you just want to do it within, you know, readable English where you're like, I just need to find a time with this other person on next Tuesday. um that's harder to do within an API unless you account for all of the possibilities. So let's take a look at tools first. For example, the find available time tool.

  21. Again, has a name, title, description, and this is going to be what the LM is looking for when order tool. It's saying, okay, if I'm need to find an available meeting time slot that works for all specified users, well, this is the tool that I want to call. Most LLMs need an a schema to be able to interact with this MCP and this gives okay here's the specific things that it can have

  22. users duration date from date to time slot size max results and then this is what that tool is actually doing and in this particular case I have uh John Mike and Sarah have their own JSON resource for any events that they might have on specific dates in the next couple of weeks, next week as well as just normal working hours and times that they normally have recurring events.

  23. Of course, this was just be using an API for existing calendar tool that you might have or even in your own application itself. Now, even just based on the names, you can see how resources differ from tools. again where these would be telling your MCP your your LLM via this MCP uh what can it actually do?

  24. In this case, here's what a calendar schema might look like. Here's what scheduling guidelines actually look like and best practices for your LLM to then interact with this MCP. And then okay, how are all the users information actually viewed, actually read? Again, this is the how is it all working within your application where the tools is okay. Now, what can I actually do to receive that information?

  25. And then prompts enable your server to share that reusable prompt templates that AI clients can then use to interact with language models. So, this is the standardized way to structure those common queries and interactions. And you can see that in this particular instance where this might be the schedule meeting prompt.

  26. Well, we have arguments for participants duration, purpose, urgency, but then this prompt request then just tells your LLM, okay, this is how this particular prompt might look like or when you receive a prompt like this from a user, here's what you might want to uh how you might want to format that after you use a tool. Now, you're using the prompt, then format to send that information back from the tool to the user.

  27. So all these things within MCPS the standardization to resource to be able to say okay here's how uh this LLM might use this particular applications tools and prompts. The tools then give you the information to do something with it. And then the prompts themselves say okay I have that information or I've done something with this tool. Now I need to do this in a way that the LLM expects in this case the user expects this information to be received back.

  28. And all that's really tough to do within an API because of the differences that then are branching out. Of course, if it's a very simple MCP of maybe just receiving information, if you're authenticated into that information and your LLM still can interact with that API, if it's just receiving a JSON resource, for example. But what happens if you need to do those extra steps of okay, maybe it's not just listing a JSON resource. So let's take a look.

  29. I have my LLM connected via cloud code to the MCP server that we're running within this timefinder application. So I can say uh let's see how many of my co-workers are available next Tuesday.

  30. You can see that we're starting to use a tool find available time and this is all the users. So these are the particular parameters that this tool expects. Let's go ahead and run it. And so now it has that information. It's doing what it needs to do with that information, that tool. But now it uses a prompt to retrieve that information, send it back to me. Both my co-workers, in this case, um I I believe I had told it back up a little bit further past this. I I am Mike. So both my co-workers, John and Sarah, are available next Tuesday.

  31. So we even we'll cancel out of this so we have no context. We'll go back into Claude and we'll maybe ask a different question like let's see uh who has the most free time out of all my co-workers. Who has the most free time on their calendar uh in any given week?

  32. So, this is one that this would be tough to do with an API because you might be able to receive all information. and you might be able to see all their calendars, their their day-to-day info and maybe an LLM is good enough to then parse that and figure it out. But in this case, you have tools already for this and that's where that differs from just a standard API. So now it's analyzing that calendar data.

  33. So it is reading it and it is doing analyzation, but it's expecting to do this. It's expecting to work in a way that the LLM can then interact with. And it looks like cloud code is having some errors. Let's let's go ahead and try that again.

  34. Well, cloud code issues aside, APIs still have a limited resource for giving the LLM what it's expecting because it's always going to be in the same format. wherewith in MCPs now your LLM is not only expecting that format because it is more standardized a model context provider but it also gives the ability to have different ways of actually receiving that information.

  35. So it's not just sending that information back and just having you know one or two different API endpoints that you're then hitting and receive that information back. It's a little bit more diverse. It allows your application to interact with your LLM through this standardized model context provider to say, "Hey, okay, you might have just been asking for this list and I have that for you, but now I also have this other tool at my disposal that I might be able to call in conjunction with it."

  36. So, are MCPs going to change how we do things in our day-to-day basis? Maybe, maybe not. But they're also helpful to know this is how LLMs expect to interact. And it's definitely more than just an API for LLMs.

  37. So regardless of if you use MCPS or even want to use MCPS within your personal life or specific applications that you might interact with within an LLM, it's just helpful to know that there is multiple ways to interact with your application or maybe applications that you already use. knowing that your LLMs cannot just interact and do things, but then you can also give LLMs the ability to interact with things that you're building, that you're making, that you're creating.

  38. So maybe build an MCP server today, maybe tomorrow, but if anything, you should know how they work.

  39. And hopefully this gives you a little bit of primer to dive in even more. So keep creating.

just you here