MCP vs. CLI Explained in 5 Minutes (for beginners)
Опис відео▼
What is the difference between CLI and MCP? By the end of this video, I'm going to explain as if you've never developed in your entire life what the difference is and why you should even care. So, it's fight night, baby. Put your gloves on. CLI verse MCP. CLI. Welcome back, y'all. All right. I'm not here to waste your time, so I'm just going to tell you one sentence the difference between the two, and then we're going to do two very specific examples. Two, two. Number one, CLI. Why do we use CLI? CLI, command line interface. the hands-on autonomous agent uses to act when you're not there. So, think of CLI, the ability to set up something like OpenClaw or Cloud Co-worker, you know, whatever. These little agents that just run autonomously on your computer 24/7. You now give them something like CLI. It's able to input it into its terminal, whether it's on your virtual machine or on your piece of hardware like your laptop, and it can act on your behalf with no user input. Pretty cool. Therefore, what is MCP or the real use case between MCP? Master control program. Is that from Tron master control program? Hold up. Oh, that's Tron, baby. Model, context, protocol, zoom in, editor, zoom in. Yeah, I love Tron. Okay, Tron Aries. I made Aries. If you don't know what Aries is, it was a AI autonomous software coding bots that was actually able to make real software. What's software, Corbin? Techniff. And we're going to be jumping into that a little later. But the point being is that MCP essentially think of it like you have your AI model, Chat, GBT, Claude, Cursor, like wherever you're working in. What an MCP does is that it essentially extends its abilities, its abilities and actions. So imagine you're playing Clash of Clans and you have like an archer tower. Now you're adding a cannon. So now I can do cannon functionality. All right, let's break down a real use case so you can just see fundamentally or pragmatically why there's a difference in where we use it. I am going to actually save CLI for last cuz it's the coolest. So we'll start with MCP. Are you team MCP or CLI? All right, bye-bye box. So here's a situation and here's one very specific example. Stripe. If you don't know what Stripe is, Stripe essentially powers a lot of payment processing. Just think of it like a checkout. You know, Shopify checkout. This is Stripe checkout. A lot of developers use it. Here's a specific example. We have Claude. I don't know what you have. You have chlexity. It doesn't matter. The point is that you have a AI model. This AI model we know is really good. It's really cool. It does a lot of cool stuff. But as you know, when using an AI model like Claude, sometimes it's not specialized enough on a certain topic. Therefore, it hallucinates, the quality is either outdated, everything of this nature. So, one very specific example of why you would use MCP over CLI is in a developer's workflow. Eg. I'm creating an app. I need to get paid. Classic situation. I would use something like stripes MCP here. So what I do is I simply integrate the open source of MCP into claude. This gives me the up-to-date specific information on Stripe and the knowledge of Stripe. This sounds ambiguous. Corbin, what do you mean? Literally what it does is that it will take your AI model and you know with AI models the more context it has the better it performs and then it will plug in all of the API documentation of how to even do stripe checkout redirect session purchase event everything it has via this MCP. So we take a really smart model and then essentially just give it the resources it needs. But the big thing you need to take away between MCP and CLI and especially in these new workflows is simply this. MCP there is a human involved. I am talking to Claude so I learned more about Stripe. Hey, I need to do some code. CLI there isn't a human involved. I mean yeah of course you can have a human involved right? Like in the 70s they used to use CLI to develop stuff. But the point being is that the way it's being used now and why we see a surge of use cases for CLI is now autonomously. Get away from me. The AI agent can use the CLI to do cool things when you're asleep or you're literally watching a movie on Netflix. Someone suggest me a good movie on Netflix. Two-piece or One Piece. So, here's a specific example of CLI. I got open claw here or whatever your version of an AI agent. I set up a chrome job. I'm going to have another video on what a chrome job is and the implications of a chron job. pointing is that this little open is my little baby claw always does something at 8 a.m. And what I wanted to do at 8 a.m. is I wanted to access techniff CLI, techniff's database via its own little terminal in its machine, its laptop, whatever. Point being is that via CLI. I'm not even here like at 8 a.m. I'm probably like cooking up some coffee. You feel me? We're getting coffee and it's using CLI as a tool to access something like techniff. I come over to technithift all tech news in the entire world sources expost forms everything in one place. I go to technith CLI. I simply just copy the directions. I would then paste it over here to open claw for to understand like how do I use techniff CLI. It would then be able to at 8 a.m. not only source by top stories because these are specific actions that I'm giving via techn CLI like stories events search. The AI is smart enough to know how to leverage these different endpoints within the CLI to provide you value. Point being, something like techniff happens and at 8 a.m. it uses the CLI provided by techniff and then gives you a summary of what's new in tech or whatever you request. Two big things I suggest you to watch this video on CLI to have a deeper understanding of what command line interface is and what it truly means in the next 10 years. TLDDR, second big thing. MCP, humans involved. CLI, humans not involved. So, as you know, these style videos, make sure you leave a like. I'll see you in the next. Did Corbin quite literally just make it a simple equation where you just know what CLI and MCP is? Oh, Corbin, but there's nuance about MCP. I don't care type of video.




