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 reverses this: the Server can ask the Client's LLM to generate t...
- 02Async Tasks (2025)8 min · 100 XP
Long-Running Operations Standard Tools block the LLM until they return. If a Tool triggers a 20-minute database migration, the connection will time ou...
- 03Elicitation & HITL9 min · 100 XP
Elicitation Sometimes a Tool realizes mid-execution that it needs clarification or missing data (e.g., "Which branch should I merge?"). Elicitation al...
- 04Structured Content & Tool Annotations9 min · 100 XP
Machine-Parseable Tool Output The 2025-2026 MCP spec introduced outputSchema and structuredContent , allowing tools to return both human-readable text...
- 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...