8 lessons, each a self-contained pack — study notes, flashcards, and a spoken recap. Open offline; learn at your own pace.
Each card opens a full lesson: notes to read, cards to drill, and a recap to listen to. Start anywhere; they stand alone.
Sampling:** A technique that shifts the responsibility of calling a Language Model (LLM, e.g., Claude) from the server to the client.
Purpose:** To enhance User Experience (UX) by providing real-time feedback to the user while long-running tool calls (e.g., research functions) are executing on the MCP server.
I. Definition and Purpose of Roots
Format:** All communication between clients and servers uses **JSON** messages.
Messages:** Client and server communicate by exchanging structured data objects called JSON messages.
Definition:** Streamable HTTP transport allows message exchange between a client and a server over standard HTTP connections.
Challenge:** MCP functionality (e.g., sampling, notifications, logging) requires the server to initiate requests to the client. Standard HTTP protocols make this server-to-client communication difficult.
These flags control how your server handles client connections and data transmission, particularly when scaling.