MCP β the Model Context Protocolode
π§© What MCP actually is
MCP stands for the Model Context Protocol. It's an open standard, introduced by Anthropic in November 2024, that lets any AI application connect to external tools and data sources through one common interface.
The best one-line analogy is the official one:
π MCP is "USB-C for AI." Before USB-C, every device had its own connector. MCP is the universal port: build one integration to the standard, and it works with every MCP-capable AI app.
Developers already know a close cousin: the Language Server Protocol (LSP). Before LSP, every editor needed a custom plugin for every language. LSP standardized it β write one language server, and all LSP editors get support. MCP does the same for connecting AI apps to external systems: write one integration, use it everywhere (Claude Code, Cursor, VS Code, and any other MCP host).
β What MCP is not (clearing up two common myths)
This is worth stating plainly, because these errors circulate:
- MCP is not your editor automatically gathering your file tree, linter errors, cursor position, and git info. That's your IDE's built-in context β a completely separate mechanism your editor has always done on its own. MCP is about reaching outside the editor to third-party tools and data.
- Multi-file "Agent mode" is not "only possible because of MCP." Autonomous agents existed before MCP shipped and work fine without it. MCP extends what an agent can reach; it doesn't power the agent loop itself.
Keep the distinction crisp: built-in IDE context = what your editor knows about your open project. MCP = a standard plug for connecting to external servers.
ποΈ The architecture: Host β Client β Server
MCP has three roles, communicating over JSON-RPC:
- Host β the AI application you use (Claude Code, Claude Desktop, Cursor, VS Codeβ¦). It's where the model lives.
- Client β the connector inside the host that speaks MCP; one client per server connection.
- Server β an external program that exposes capabilities. Servers are often third-party and run separately from your editor.
[ You ] β [ Host: Claude Code / Cursor / VS Code ]
β (MCP client)
βΌ JSON-RPC
[ MCP Server: GitHub / Postgres / Sentry / ... ]
β
βΌ
external tools & data
π§° What a server exposes: Tools, Resources, Prompts
An MCP server offers three kinds of capability:
- Tools β actions the model can call. "Open a GitHub issue," "run this SQL query," "search Sentry errors." This is where an agent gains real reach.
- Resources β data the model can read. Files, records, documents exposed for context.
- Prompts β reusable prompt templates the server provides for common tasks.
Concrete examples of real MCP servers:
- A GitHub server β let the agent read issues/PRs and open them.
- A Postgres server β let the model inspect a schema or run read-only queries.
- A Sentry server β pull recent production errors into context.
- A docs server (e.g. Context7) β fetch current library documentation.
π Why a standard is the point
- Write once, use everywhere. A single MCP server works across every MCP host β no re-integrating per tool.
- Vendor-neutral by design. This is genuinely portable plumbing: the same Postgres server serves Claude Code, Cursor, and VS Code identically. Lean into it β MCP is the course's best example of a standard that outlives any product.
- Composable capability. Add the servers a task needs; the agent gains exactly those tools and no more.
β οΈ But: MCP is also a footgun β trust matters
Installing an MCP server hands a model tools and data access. That's power, and power cuts both ways:
- Untrusted servers can exfiltrate data or take harmful actions.
- Prompt injection through MCP/agents is a leading 2026 threat β an attacker who plants text in an issue, PR, or fetched web page can hijack an over-privileged agent into misusing its tools.
So treat MCP the way you'd treat installing any software with access to your systems: prefer official/first-party servers, scope credentials narrowly, and keep a human in the loop for sensitive actions. This gets its own full treatment in AI Security & Trust.
π Learn more (authoritative sources)
- modelcontextprotocol.io β the official spec and docs. Versioned and governed; go here, not to a video, when in doubt.
- github.com/modelcontextprotocol β reference servers and SDKs.
π‘ Anchor on the spec and the architecture (Host/Client/Server; Tools/Resources/Prompts), not any one server's feature list β features churn, the protocol is stable.
Next: a concrete, useful MCP server β Context7.
Member discussion