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 & Non-Blocking Asynchronous Tasks Standard MCP tools are strictly synchronous: the host issues a tools/call request and blocks...
- 03Elicitation & HITL9 min · 100 XP
Interactive Elicitation & Human-in-the-Loop (HITL) In autonomous agent workflows, tools frequently encounter situations where information is ambiguous...
- 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...