All paths

Model Context Protocol (MCP)

Topic

Build, secure, verify, and operate stateless MCP systems from JSON-RPC envelopes through conformance release gates.

~23h17 lessons + 1 optional

There is a standard wire format for connecting models to tools and context, and this route teaches it the way an engineer meets it: bottom-up, with the envelope first. You start from the request/response shape every exchange rides on, then build a server in Python and TypeScript that honors it, and a client that discovers what a server offers and routes to it — including the fallback paths you need when an older host speaks an older dialect of the same standard.

The middle of the route is the discipline that separates toys from infrastructure: every request carries its own context, so gateways, registries, and admission control can scale horizontally without sticky state. Transports come in two flavors — a local pipe for development and plain HTTP for everything else — and you build both. From there the route turns outward: addressable resources and prompts as context, sampling as the inverse direction (the server asking the model), explicit scope and elicitation so a human stays in the loop, and a tasks extension for durable work on top of a stateless core.

The last third is what production actually demands. Security covers poisoned metadata, routing abuse, and request-state laundering; authorization covers issuer binding, PKCE, step-up, and enrollment in practice. The registry chapters treat the ecosystem as a supply chain — admission, drift, rollback — and the conformance chapters turn protocol correctness into versioned evidence and operations. The capstone asks you to hold all of it at once.

A note on eras, because this route takes them seriously: hosts and servers in the wild speak different vintages of the standard, and the client chapters build the dual-era fallback you will need in practice rather than the clean-room version. The same pragmatism runs through the reliability material — cancellation, flow control, back-pressure — and through the conformance chapters, which replace “it works on my machine” with versioned evidence, admission gates, and operations runbooks. If your job is to make tool connectivity boring, auditable, and cheap to operate, this is the route.

This is a topic route: one subject, gathered as a short deliberate sequence. Entries marked optional round the subject out — skip them without losing the thread.

How this route works

Every entry on this route is free to read — no account, no paywall, nothing locked. Open any entry and the reader keeps your place: the previous-and-next arrows follow the order you see here, so you can walk the route end to end or drop in mid-stream. Reading time is listed beside each entry, so pick something that fits the slot you have. If you create a free account, the route also remembers what you finished — check marks appear beside entries you have read, and your dashboard resumes at the next unfinished one. Anything marked optional is exactly that: useful context, never a prerequisite.