Picture this: you ask your AI editor to read a GitHub issue, check a table in your Postgres database, and grab a layout from Figma.
Two years ago, every AI app had to write its own custom glue code for every single tool. Now you paste one URL or command into a config file, and the same connector works in Cursor, Claude, and VS Code.
What's doing the connecting? MCP, short for Model Context Protocol.
The whole idea in one picture#
Remember the drawer of cables we all used to have? One charger for your phone, a different one for your camera, another for your headphones. If you had 3 laptops and 5 devices, you needed 15 cables.
Then USB-C showed up. Every laptop has the same port, every device uses the same plug, and everything fits together.
MCP is USB-C for AI apps. Build a connector for a tool once, and any AI app that speaks MCP can plug into it.
That's really all MCP is. It's not a new AI model, and it's not a framework. It's a shared rulebook for how an AI app talks to outside tools.
The problem it solves#
An AI model by itself is stuck in a box: it can only read the text you paste into the chat. To do real work, it needs to reach outside—into your files, your database, your issue tracker, or your Slack.
Without a standard, every AI app has to build its own GitHub plugin, its own Slack plugin, and its own Postgres plugin. And every tool maker has to build a different plugin for every AI app.
With MCP, the tool maker builds one MCP server, and every AI app builds one MCP client.
AI-generated illustration. Without a standard plug, every app needs a custom cable for every tool.
How it works#
There are three moving parts, and they map straight onto the USB-C picture:
- The AI app (the laptop): Cursor, Claude Desktop, VS Code, or your own app. In MCP terms this is the host, and it runs an MCP client inside it.
- The MCP server (the device): a small program that wraps a tool—like GitHub, Postgres, or Figma—and speaks MCP.
- The protocol (the cable): plain JSON messages going back and forth.
When you plug in an MCP server, the conversation is surprisingly simple:
- Discovery: the AI app asks, "What can you do?" The server replies with a list of actions and the inputs each one expects.
- Tool call: when you ask a question, the model picks a tool and sends a JSON request.
- Result: the server runs the real work (queries Postgres, calls GitHub's API) and hands the result back to the model.
// 1. Model asks the MCP server to run a tool
{ "tool": "get_issue", "arguments": { "repo": "bitlyst", "number": 42 } }
// 2. Server calls GitHub and sends back plain data
{ "title": "Fix dark mode flash", "state": "open" }
An MCP server can expose three things:
- Tools: actions the model can run, like
create_issueorrun_query. - Resources: read-only data the model can look at, like a file or a database schema.
- Prompts: reusable prompt templates the server offers up.
In day-to-day use, tools are 90% of what you'll see.
In practice#
Connecting a server is usually a few lines in your editor's config:
{
"mcpServers": {
"github": { "url": "https://api.githubcopilot.com/mcp/" }
}
}
Once it's plugged in, the AI can discover and use it without you writing any glue code.
Two honest things to keep in mind before you plug in twenty servers:
- Every tool costs context. The AI has to read the list of available tools so it knows what it can call. Too many servers means a crowded prompt and slower, noisier answers. Only keep the ones you actually use.
- MCP is a plug, not a lock. It doesn't make a tool safe by itself. Treat an MCP server like any other code with access to your accounts: only connect servers you trust, and review write actions before approving them.
Say it in an interview#
"MCP, or Model Context Protocol, is a standard way for AI apps to connect to external tools and data—like USB-C for AI. Instead of every AI app writing custom integrations for every service, a service exposes one MCP server with its tools, resources, and prompts, and any MCP-compatible client can discover and call them over JSON messages. The trade-off is that every connected tool adds to the model's context, and you still have to manage permissions carefully."
Cheat sheet#
| Question | Short answer |
|---|---|
| What is MCP? | A standard protocol between AI apps and external tools |
| The mental model | USB-C for AI: one plug instead of custom cables per app |
| Who runs what? | AI app = client; tool wrapper = MCP server |
| What can a server expose? | Tools (actions), Resources (read-only data), Prompts (templates) |
| What's the catch? | Too many tools crowd the context window; trust only servers you vet |
Advanced · optional
Going deeper#
Everything above is enough to explain this in an interview. This part is for the curious: full numbers, edge cases and what's still unproven.
Local vs. remote MCP servers#
MCP speaks JSON-RPC 2.0, and it can travel over two main transports:
stdio(local): your AI app starts the MCP server as a child process on your machine and talks to it over standard input and output. Great for local files, local databases, or CLI tools.- Streamable HTTP (remote): the MCP server runs on the web behind a normal URL, with OAuth or a bearer token for auth. Great for team services like GitHub, Linear, or Sentry—no local install needed.
Why not just give the AI a REST API?#
You can, and people did. The catch is that every REST API has its own auth flow, its own docs format, and its own way of describing endpoints. You end up writing a custom wrapper for each API in every AI app.
MCP standardizes discovery: every server answers tools/list in the exact same JSON Schema format, so the AI app can plug in a brand-new tool at runtime without a single line of app-specific code.





Start the discussion
Questions, corrections, a better approach? I read and reply to every comment.