Advanced Features
Master Sampling, Roots, Async Tasks, and human-in-the-loop flows. Part of the free MCP Academy — every lesson below is open to everyone, no signup required.
// LESSONS IN THIS MODULE
- 01Sampling & Roots10 min · 100 XP
Reversing the Flow (Sampling) Normally, the Client asks the Server for data. Sampling ( sampling/createMessage ) reverses this: the Server asks the Cl...
- 02Async Tasks (2025)8 min · 100 XP
Long-Running Operations & the Tasks Extension (SEP-1686) Standard MCP tools are synchronous: the host issues a tools/call request and waits for th...
- 03Elicitation & HITL9 min · 100 XP
Interactive Elicitation & Human-in-the-Loop (HITL) In autonomous agent workflows, tools frequently encounter situations where information is ambig...
- 04Structured Content & Tool Annotations9 min · 100 XP
Machine-Parseable Tool Output Introduced in 2025-06-18 and standardized on JSON Schema 2020-12 in 2025-11-25 +, outputSchema and structuredContent all...
- 05Completions & Metadata8 min · 100 XP
Autocompletion & Human-Friendly Metadata MCP provides two features that dramatically improve usability for both humans and LLMs: the completion/comple...