intermediateMCP Advanced — Sampling, Elicitation, Resources, Prompts
What is 'elicitation' in MCP, and what user experience problem does it solve?
Elicitation lets an MCP server pause mid-operation and ask the client to prompt the human user for additional input (e.g. missing information needed to complete a booking) rather than failing outright or guessing. This turns a hard stop into an interactive back-and-forth without the server needing its own separate UI.
Ready to master this question?
Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.
Sign in to generate a response