What Are MCP Servers? Complete Beginner Guide + Real Example — Transcript
Full transcript
- 0:00Hey everyone, welcome back to NDC. I've
- 0:02been seeing a lot of questions about MCP
- 0:04servers. So today I wanted to talk about
- 0:06what they are, why they're useful, how
- 0:08to set them up so you can use them in
- 0:10your projects. So your AI coding
- 0:12assistant can read code and write code,
- 0:14but it can't build your project. Can't
- 0:16check your GitHub issues, can't query
- 0:18your database. It's a brain with no
- 0:20hands, and MCP essentially gives it
- 0:22hands. So for example here in Google
- 0:23Anti-gravity I'm going to ask it to
- 0:25check the GitHub issues for this current
- 0:27project even providing it with the link
- 0:29and query the database from superbase
- 0:31and check payments on Stripe. So we can
- 0:35see here it couldn't actually access the
- 0:38repository in this case it's actually
- 0:39private even though it's synced through
- 0:41anti-gravity it still couldn't access
- 0:43those issues as well as for the
- 0:45superbase and stripe access it doesn't
- 0:47have direct access to the project or the
- 0:49dashboard and this is exactly why the
- 0:53MCP is so important see it even says
- 0:55right here I am like a brain without
- 0:57hands it can write the SQL for us it
- 1:00can't actually see the data or execute
- 1:03the check itself itself if we had this
- 1:05MCP server with a superbase stripe or
- 1:08whatever service you're using connected
- 1:10to this environment to be able to plug
- 1:12in and use that tool set. So before we
- 1:15talk about the how, let's talk a little
- 1:17bit about the what and why of MCP. So
- 1:21MCP actually stands for model context
- 1:23protocol. And here's the only analogy
- 1:25you need. Before USBC, every device had
- 1:27its own cable. Every connection was
- 1:30essentially custom. Then USB came along
- 1:32and gave us one universal port. Any
- 1:34device plugs into any computer. MCP is
- 1:38kind of like the USBC for AI tools.
- 1:40Before MCP, every AI tool needed a
- 1:43custom integration to every service.
- 1:45With MCP, a service builds one server
- 1:48and every AI tool can use it. Cloud
- 1:50Code, Visual Studio Code, Cursor,
- 1:52Anti-gravity, and the latest Xcode, they
- 1:55all speak MCP.
- 1:57And the cool thing is there's over 8,000
- 1:59MCP servers right now. GitHub, Slack,
- 2:02File System Access, Figma, Strike,
- 2:04Superbase. If a service exists, most
- 2:06likely there's an MCP server for it.
- 2:08That's the concept. Now, let me show you
- 2:10what it actually looks like. We're going
- 2:11to connect GitHub MCP server to Visual
- 2:13Studio Code and watch the AI use it to
- 2:16do real things on GitHub. Then, we'll
- 2:18connect the same server to Cloud Code in
- 2:20the terminal to prove it's universal. By
- 2:22the end, you will fully understand MCP
- 2:25because you'll have seen it work. So,
- 2:26let's go ahead and dive on into this.
- 2:28So, in the root of my project, I'm going
- 2:30to create a new file here, and I'm going
- 2:32to call it.vscode.
- 2:34We're going to do /mcp.json.
- 2:38Going to go ahead and add it. We can
- 2:39even see in the bottom right, it's
- 2:40already prompting us to add a server.
- 2:43Also, make sure that your Visual Studio
- 2:44Code is the most upto-date. So, this is
- 2:46where Visual Studio Code actually looks
- 2:48for MCP server configurations. Every
- 2:50server you want to connect goes in this
- 2:52file. We're going to add the MCP server
- 2:55for GitHub. It's only like five lines.
- 2:57From here, we're going to declare that
- 2:58we have some servers. We'll add a colon
- 3:00and another brace. Then we need to give
- 3:02it a name. In this case, I'm just going
- 3:04to call mine GitHub so we can easily
- 3:05reference it. Add our colon and our
- 3:08brace once again. Then we need to
- 3:10include the type. Now, for the type,
- 3:12it's actually just going to be the HTTP.
- 3:14This is because it's a remote server
- 3:16hosted by GitHub. Then, we also need to
- 3:18include a URL. So, we're going to add a
- 3:20comma after and then our URL. For this
- 3:23one, I'm going to be doing the https
- 3:25colonapi.githubcopilot.com
- 3:32and then /mcp.
- 3:35One of my braces got deleted on
- 3:36accident. There we go. Let's fix that.
- 3:38Now we've saved it. You'll actually
- 3:40notice that this little start button
- 3:41kind of appears in line. We can click
- 3:44it. Visual Studio Code is actually going
- 3:46to initialize the server. Now, you'll
- 3:49probably get a popup here saying that
- 3:51GitHub um wants to authenticate. We can
- 3:54click allow. That should open up GitHub
- 3:56in your browser. I'm going to go ahead
- 3:58and authorized. I've already signed in
- 4:00through Visual Studio Code. If you
- 4:01haven't before, it might just be a few
- 4:03more steps to get logged in. And now we
- 4:05can see that we are running. We have
- 4:08access to 43 different tools, two
- 4:10prompts, and even more. So, I'm going to
- 4:13open up Copilot Chat. If you're on ask
- 4:15mode, I would change it to agent mode.
- 4:18Also check out the tools where we have
- 4:20our config tools. If we go to the
- 4:23GitHub, look at how many different tools
- 4:25we just got access to. Remember on here
- 4:28it said that we had 43 tools. By
- 4:30connecting the GitHub MCP server, we
- 4:33have all of these tools now available to
- 4:36us at our disposal. So let's go ahead
- 4:40and use the list issues. So I'm going to
- 4:43go ahead and say list_issues
- 4:46for this project.
- 4:48If you want to, you can also provide the
- 4:50URL or the repository name and location.
- 4:54So in my case, it's NDC swift/dev
- 4:58tools. So let's go ahead and send that
- 5:00off to Copilot. Now it's going to
- 5:02optimize the tool selection because it
- 5:04knows it has access to the MCP server.
- 5:06It's going to go ahead and say, "Hey, I
- 5:08have access to these issues because I
- 5:11have the MCP server."
- 5:14We can see that I have two current open
- 5:16issues in my dev tools. Phase 4 has a
- 5:20few different things, when they were
- 5:22created, different labels. So, this is
- 5:24what MCP servers do. They expose tools,
- 5:28actions that our AI can actually call.
- 5:30The GitHub server exposes GitHub
- 5:32actions. A database server would
- 5:35essentially expose query tools. A file
- 5:37system server exposes read and write
- 5:39tools. The pattern is always the same.
- 5:42The MCP server gives your AI new
- 5:44capabilities it didn't have before. We
- 5:46can even create new issues. Let's go
- 5:47ahead and create one real quick. Create
- 5:50a new issue that the blogs their tagging
- 5:54system currently doesn't work and needs
- 5:56to be updated to. Click on the tag and
- 5:58filter via tagging.
- 6:01Let's go ahead and send that off. Going
- 6:03to go ahead and open up my repository on
- 6:06the other side here. Let's look at our
- 6:09issues. So, currently it had those two
- 6:12back in Visual Studio Code. We're going
- 6:13to go ahead and allow it to create those
- 6:16issues here.
- 6:18So, we can see that issue has been
- 6:20created. A new GitHub issue has been
- 6:21opened. Let's go back to Safari. Let's
- 6:24refresh it. And we can see, hey, the
- 6:27blog tag filter is broken. And it even
- 6:29added the tag of bug and the
- 6:31enhancement. We can click on it. We can
- 6:33see the desired behavior and any notes
- 6:36that may exist. One more thing to
- 6:38quickly note. See how we put the type as
- 6:40HTTP. This means that the server is
- 6:43actually running remotely hosted by
- 6:45GitHub. But most MCP servers run locally
- 6:48on your machine, a small process on your
- 6:50computer. Your code stays on your
- 6:52machine. Your data stays private. The
- 6:55only reason this one is remote is
- 6:56because it needs to talk to the GitHub
- 6:58API. I'll show you a local one in a
- 7:00minute. Next, we're going to do a prompt
- 7:03that you could never access without MCP.
- 7:06So, I'm going to ask it to look at all
- 7:08my GitHub repos for the most recent
- 7:09commits and summarize the top three most
- 7:12recent ones. So, we can see what happens
- 7:13in the chat. Copilot recognize a task.
- 7:15Requires GitHub data it doesn't have. It
- 7:17looks at the MCP tools available. Again,
- 7:20you can be explicit, but remember, if
- 7:22you look at the tools, you can actually
- 7:24see everything that it has access to.
- 7:26And you can enable or disable these as
- 7:28well. So, it calls the tool through the
- 7:30MCP server. The server hits the GitHub
- 7:32API with your credentials cuz we have to
- 7:34sign in. Real results come back from
- 7:36your real repos. Copilot reads them and
- 7:38gives you a summary. That's it. Your AI
- 7:40just queried actual GitHub repos. Now,
- 7:43we set up our server manually here, but
- 7:45in Visual Studio Code, make sure you
- 7:47update. You can actually go to your
- 7:48extensions. Now, I already have MCP
- 7:51servers installed. Otherwise, you can do
- 7:53at MCP. When you do this, it'll prompt
- 7:56you to enable or disable the servers, as
- 7:59well as when you're searching in the
- 8:00extensions with the ATM MCP, it's going
- 8:03to show you all of the different MCP
- 8:05servers that are available. So, for
- 8:07instance, if you wanted to just install
- 8:09the MCP server on GitHub, you go ahead
- 8:11and install it from this page here.
- 8:13Again, you would need to authenticate
- 8:15same as we did before. If you wanted to
- 8:17do things like Unity, I rarely recommend
- 8:19Superbase. Uh the other one I've been
- 8:21using is also the Stripe server. If
- 8:23instead you're using anti-gravity, you
- 8:25can go to the right side on your
- 8:27additional options. Click on the three
- 8:29dots, MCP servers, access them there. So
- 8:32again, you have things like superbase.
- 8:36When you're installing any of these, you
- 8:37may just need that authorization access
- 8:40or the token. And one of my favorite
- 8:42parts is a lot of these actually just
- 8:44have the click to get access link here.
- 8:46We can click on this. Going to open up
- 8:48Superbase and it's actually going to
- 8:51bring us to our tokens. Now I'm already
- 8:53signed into Superbase. You of course
- 8:54would need to sign up or set up a
- 8:56project ahead of time, but you get the
- 8:57idea. And here's the thing that makes
- 8:59MCP special. It isn't just locked to say
- 9:02Visual Studio Code. The same server
- 9:03works in every tool. Let me prove it. So
- 9:06I'm going to open up my terminal. Now, I
- 9:08already have Claude Code installed in my
- 9:10terminal. From here, you're going to
- 9:12want to add the following. You're going
- 9:13to reference cloud MCP to add, and then
- 9:16we're going to use the HTTP of GitHub.
- 9:18Once again, we're using that same API,
- 9:21GitHub Copilot URL, and then we're
- 9:23including the authorization bearer. Now,
- 9:26here I just have your GitHub pat, which
- 9:28is the personal access token. Of course,
- 9:31you would need to actually replace this
- 9:32information with your actual personal
- 9:35access token.
- 9:37If you don't know how to access your
- 9:39personal token, you want to go to
- 9:40GitHub. From there, you'll want to go to
- 9:43your settings.
- 9:46Scroll down developer settings.
- 9:50From here, you can see your personal
- 9:51access tokens. You could either do the
- 9:53token classic or the find green tokens.
- 9:56You can see I have a few of them here.
- 9:58You'll just need to generate a new token
- 10:00followed by a description, the owner,
- 10:03expiration as well as repository access.
- 10:06So if you want public repos only, all
- 10:08repos or specific repos, totally up to
- 10:11you. And you can add different
- 10:14permissions as well. So whether that's
- 10:16actions, code spaces, issues, pages,
- 10:19pull requests, etc., etc. So for this
- 10:22one, I'm going to do issues, but it's
- 10:25totally up to you what you want to
- 10:26include. Then you're going to generate
- 10:28the token. Now, of course, mine is going
- 10:30to be blurred out. However, just note,
- 10:33copy this personal access token now as
- 10:35you will not be able to see this again.
- 10:38So, you'll want to copy it. Then, you'll
- 10:40want to paste it in that terminal
- 10:42command. Now, mine throws back an error
- 10:44cuz I've actually already set this up.
- 10:46However, if we actually open up Claude
- 10:48now in our terminal, go ahead and trust
- 10:50this space. we can actually use the
- 10:53slashMCP
- 10:56and we can actually see the different
- 10:57MCP servers we're connected to. So for
- 11:00me right now uh I just have Cloud AI. I
- 11:02don't have my Gmail or Google Calendar
- 11:04set up, but we can actually see that
- 11:05GitHub is connected. Once you're
- 11:08connected, you can actually view the
- 11:09tools. So once again, there's those 43
- 11:11tools that we saw before. Uh we have
- 11:14like list branches, list issues, merge,
- 11:16pull request. You can use the arrow keys
- 11:18to go up and down from these. You can
- 11:20also reauthenticate, clear the
- 11:22authentication, reconnect or disable.
- 11:25So, same server URL, same protocol, just
- 11:27a different client. Just as a note, the
- 11:29- S user flag makes it available in
- 11:32every project that we opened. You do
- 11:34need that GitHub personal access token
- 11:35that we just created. So, make sure you
- 11:37save it somewhere. But once you add it,
- 11:40you should be good to go. Now that we've
- 11:41verified the MCP connection and tools,
- 11:44let's go ahead and have Claude do some
- 11:46work for us. analyze the current issues
- 11:49and create a markdown plan of
- 11:52implementation to fix those issues.
- 11:56I'd then like you to create that
- 11:57markdown file in the following
- 12:00directory. Now, I'm just going to go
- 12:01ahead and grab the directory path name
- 12:03and just paste it to claude here. Um,
- 12:05but you can also use the /add-dir
- 12:08if you want, but I've already set that
- 12:10up prior. So, let's go ahead and see if
- 12:12it can access the issues that are
- 12:15currently available on GitHub. So, after
- 12:17some time, it created this step-by-step
- 12:19plan. It's put it in the terminal, and
- 12:21we're actually just going to add that to
- 12:23our project. So, it's all in one place.
- 12:25Now, we have that implementation plan
- 12:28MD. And we have all of the different
- 12:30issues that we created and read earlier.
- 12:32It was able to access them and then
- 12:34create the plan. Of course, depending on
- 12:36what you're using this for, you can
- 12:37actually just have it say, "Go ahead,
- 12:39you know, look at these different issues
- 12:41and code out the solutions using XYZ."
- 12:43Totally up to you how you want to use
- 12:45Claude in this case. But, but the point
- 12:47is, Claude Code calls the MCP server
- 12:50tools, reads your PRs, issues, and gives
- 12:53you the status report or makes those
- 12:55changes. Same server, same tools, just
- 12:58using a different AI tool from Copilot.
- 13:01So, this is what open standard means in
- 13:04practice. You set up the server once,
- 13:06Visual Studio Code can use it, cloud
- 13:08code can use it, cursor can use it, and
- 13:10even Xcode 26.3 can use it. If you
- 13:13switch editors tomorrow, your MCP
- 13:15servers still work. This is the standard
- 13:17universal layer. This is the key
- 13:20takeaway. Okay, I mentioned that we were
- 13:22going to do a local server. So, back in
- 13:25our project here where we have our
- 13:28implementation plan, let's go ahead and
- 13:31add an additional server. So after the
- 13:32GitHub one, I'm going to add a comma.
- 13:35And let's go ahead and add one for the
- 13:37file system.
- 13:40We'll then give it a command here. And
- 13:43I'm going to call this one npx.
- 13:46And I'm also going to add some
- 13:48arguments. Within the arguments, I'm
- 13:50going to add a few things. The first one
- 13:52is minus y followed by at model context
- 13:57protocol.
- 14:01And then I'm going to do the
- 14:02/server-file
- 14:04system.
- 14:07I'll add a comma. And then from here,
- 14:09this is where you'd want to have your
- 14:10workspace folder. You can paste any
- 14:12directory here. I'm just going to use a
- 14:14placeholder, but if you wanted to
- 14:16instead have this read as to your
- 14:18desktop or to a specific folder, you
- 14:21would want to replace that. So, just
- 14:23really quickly notice the difference.
- 14:25There's no type HTTP, no URL. And so we
- 14:28have the commands and the arguments that
- 14:29are passed to the server. The MPX starts
- 14:32the server package on your machine. This
- 14:34last argument is essentially the
- 14:36directory. Again, I'm using placeholder.
- 14:38You can make it anywhere that the server
- 14:40can access. This server runs entirely on
- 14:43your computer. Nothing would ever leave
- 14:45your machine.
- 14:47If we go ahead and save, you'll notice
- 14:50that we get the start. We have the 14
- 14:52tools and more. So, we could start this
- 14:54server locally just like we did with the
- 14:56GitHub one. So you can use the file
- 14:57system tools for reading and writing
- 14:59files. Your AI just got significantly
- 15:01more capable with two small JSON blocks
- 15:04and you can keep stacking. Every server
- 15:06you add gives you more AI tools. And you
- 15:09can do the same thing in common code if
- 15:10you want there too. Let's talk about
- 15:13where you can find more servers. So
- 15:16again, as I mentioned inside Visual
- 15:18Studio Code itself, if you use the ATM
- 15:20MCP, you can actually view all the MCP
- 15:23servers available. Again, I really
- 15:25recommend things like Stripe. Uh Mondays
- 15:28is even great. Hugging face. If there's
- 15:31a service that exists, most likely
- 15:32there's an MCP for it. The second one is
- 15:35Pulse MCP. We can see we have MCP
- 15:38servers and clients. You can search and
- 15:41find whatever you're looking for. So, if
- 15:43you want to find, for instance, the
- 15:44Slack MCP, there we go. There's Slack,
- 15:47Slack conversations, etc., etc. This is
- 15:50a community directory with over 8,000
- 15:52servers indexed. You can search by the
- 15:54server's name if you want to know is
- 15:56there a server MCP for say notion right
- 15:59we can search for that and there we go
- 16:01we have the official notion MCP server
- 16:03the third is the official servers on
- 16:06GitHub so github.com modelcontext
- 16:09protocol/servers
- 16:11and you can scroll down here and there's
- 16:13tons of different options even the
- 16:15reference servers for file system get
- 16:18the archived ones third party servers
- 16:21you can see on the right side here. Um,
- 16:24you can scroll for quite a long time.
- 16:26So, for this one, I definitely recommend
- 16:28command or control F depending on what
- 16:29you're using uh to find what you wanted.
- 16:32Uh, so let's go ahead and see if we can
- 16:34find the notion one here as well. There
- 16:36we go. Tons of different options.
- 16:39Definitely search on this one. Now, I
- 16:41also want to mention the GitHub MCP
- 16:44registry. So, this is GitHub's own
- 16:48discovery hub for MCP servers. You can
- 16:50also browse, filter, and install. All
- 16:52these links are in the description
- 16:53below. Just know that the ecosystem is
- 16:56massive and growing weekly. Start with
- 16:58the two we just set up, GitHub and file
- 17:00system. Those cover a lot of your daily
- 17:02work and then integrate the other ones,
- 17:04right? Don't install 20 servers on one
- 17:07day. Work through each one project by
- 17:09project. Like I said, I love the
- 17:11Superbase one uh and the Stripe one
- 17:13because I was able to, you know, manage
- 17:15my tables, see my users, manage my
- 17:18authentication, and then also handle
- 17:20those different payments through Stripe.
- 17:22And I never had to leave Visual Studio
- 17:24Code except for when I had to generate
- 17:27the tokens. And then once I had that, I
- 17:29could just sit in Visual Studio Code the
- 17:30whole time. It was much easier. Let's
- 17:32talk a little bit about some of the use
- 17:34cases that you may want to use MCPs for.
- 17:37So we saw the GitHub one, create issues,
- 17:39review PRs, search repos, check any
- 17:42issues, all from your AI without
- 17:45switching to the browser. File system
- 17:46was also the other great one that we set
- 17:48up. Your AI can read and write files
- 17:50directly, batch operations, configs,
- 17:52file organization even. Now, if you're
- 17:55doing things like database access, so
- 17:58let's look at things like my SQL. Any
- 18:01kind of SQL server lets your AI actually
- 18:03query that data directly. you know, you
- 18:06might have to be like, "Hey, show me
- 18:07users who have signed up this week."
- 18:09This becomes a real query with real
- 18:11results. There's also documentation. I'd
- 18:14recommend checking out context 7. Now,
- 18:16what context 7 does is it's a
- 18:19documentation database. It's an MCP
- 18:22server that fetches the current docs for
- 18:24any library. Your AI stops hallucinating
- 18:27on any old outdated APIs and can read
- 18:29the actual current documentation
- 18:31instead. cuz if you're getting really
- 18:33old Swift code, you can use contact 7
- 18:35and access the most up-to-date Swift API
- 18:38and documentation. Now, there's some
- 18:40other ones such as, you know, Slack,
- 18:43notion, even things like Figma. The list
- 18:46keeps on going. If you use a service in
- 18:48your development or your workflow, say
- 18:50for a website or for a project, most
- 18:52likely there's an MCP server that
- 18:54connects your AI to it. And for iOS
- 18:56developers, the Xcode build MCP actually
- 18:59gives your AI 76 tools to build, test,
- 19:02debug, and deploy iOS apps without even
- 19:04opening Xcode. Apple has also shipped a
- 19:07native MCP bridge in Xcode 26.3. I will
- 19:11have a video coming up when Xcode 26.3
- 19:14has its public release. So that's MCP,
- 19:16one universal protocol. Every AI coding
- 19:19tool supports it. Servers give your AI
- 19:21real capabilities, actions it can take
- 19:23into the real world. You saw it
- 19:25basically five lines of JSON and Visual
- 19:27Studio Code, one command in Cloud Code,
- 19:30the same server worked in both because
- 19:33MCP is a universal layer. Your AI went
- 19:36from suggesting code to creating issues,
- 19:38checking those issues, handling them on
- 19:40your actual repos. So definitely start
- 19:42with the GitHub and file system, two
- 19:44servers, massive productivity jump, and
- 19:47add more as you need them. The
- 19:48registries, links, even some sample code
- 19:51is in the description below. As I
- 19:53mentioned before, if you're an iOS dev,
- 19:55the next video I'll be covering on MCP
- 19:57goes into Xcode 26.3 as Apple just
- 20:00shipped the native AI agent support
- 20:02built on this exact standard. Subscribe
- 20:04so you don't miss that one when it
- 20:06drops. Dream big, code bigger, and we'll
- 20:08see you in the next one.
About this transcript
This page contains the full transcript of What Are MCP Servers? Complete Beginner Guide + Real Example by Noah Does Coding, generated from the public captions YouTube serves with the video. The transcript has 3,691 words across 529 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.