Model Context Protocol

The open protocol for connecting models to tools, data, and prompts across vendors.

Sign in to track your progress across sections.

13 articles

MCP in one sitting

Listed inModel Context Protocol (MCP)Model Context Protocolon

Hosts, clients and servers, and the three primitives a server exposes: tools, resources and prompts. Includes a working TypeScript server in about forty lines, and the mistakes that make a server unusable in practice.

Intermediate9 min
#mcp
#tools
#integration

MCP Server

Listed inMCP ServerModel Context Protocolon

Tools are model-controlled, resources are application-controlled. That column decides which primitive a capability belongs to.

Intermediate4 min
#mcp
#security

MCP Host

Listed inMCP HostModel Context Protocolon

The six responsibilities the specification gives the host, why one client per server is the isolation boundary, and what happens when a server asks you for a completion.

Beginner6 min
#architecture

Building an MCP Server

Listed inBuilding an MCP ServerModel Context Protocolon

The input schema tells the model what to send as well as validating what arrives. Returning tools in a stable order protects callers' prompt caches, and an error that names the rule lets the model correct itself.

Intermediate5 min
#implementation