MCP
The Model Context Protocol connecting models to tools and data.
- What is MCP?Intermediate
MCP is an open protocol that lets any AI app discover and use tools, files, and prompts from external systems through a shared client-server language.
- Why MCP ExistsIntermediate
MCP exists to kill the N×M connector problem — without a shared protocol, every AI app rebuilds the same GitHub, Slack, and database integrations from scratch.
- MCP ArchitectureIntermediate
MCP has a host that contains clients, each talking to one server over stdio (local) or Streamable HTTP (remote) — and since 2026 the HTTP core is stateless.
- Tools, Resources, and PromptsIntermediate
MCP servers expose three primitives — tools that act, resources that are read into context, and prompts that are reusable starting recipes.
- MCP Authentication & AuthorizationAdvanced
Remote MCP uses OAuth 2.1 with audience-bound tokens; local stdio servers use env credentials — never pass tokens through.
- Building an MCP ServerAdvanced
An MCP server wraps one system behind clear tools, resources, and prompts, served over stdio or HTTP with an official SDK.
- Consuming an MCP ServerIntermediate
A host consumes MCP by connecting a client per server, mapping the catalog into function calling, and enforcing allow-lists and approvals.
- MCP + Agents, IDEs, and ProductsIntermediate
MCP is the plug; agents, IDEs, and products are hosts that decide when to call — a product can also publish a server so other hosts reach it.
- MCP Security Risks & Best PracticesAdvanced
MCP's real risks are poisoned tool descriptions, confused-deputy OAuth, token passthrough, and untrusted servers — treat catalogs as untrusted.