← All lessons
Tools & MCP~14 min
MCP Transports, Lifecycle, and Advanced Capabilities
Choose the right MCP transport and reason about initialization, sampling, and roots.
What you will be able to do
- ✓Select the correct transport for local (stdio) vs remote (Streamable HTTP) MCP servers and know it replaced HTTP+SSE
- ✓Identify JSON-RPC 2.0 as the MCP wire format and describe the initialize capability-negotiation handshake
- ✓Explain sampling: a server requesting an LLM completion from the host, with a human-in-the-loop checkpoint
- ✓Explain roots as client-declared filesystem boundaries that scope a server under least privilege
3 concepts·6 hands-on exercises·3-question check