Future-Proof Your Career: AI Manager Masterclass
Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Learn to implement MCP Elicitations in Spring AI through building a complete coffee shop ordering system that dynamically requests missing information from users. Discover how to handle scenarios where MCP tools are called without all required parameters by implementing a standardized approach for servers to request additional details during interactions. Build an MCP server with elicitation support using Spring Boot, create tool parameters with @MCPTool and @MCPToolParams annotations, and develop a Spring AI client using the @MCPElicitation annotation. Master both form mode and URL mode elicitations as defined in the MCP specification, test implementations using the MCP Inspector, and handle elicitation requests and responses in real-world applications. The tutorial demonstrates how to create a system that intelligently prompts users for missing details like coffee size, type, and milk preferences, transforming potential tool failures into interactive user experiences.
Syllabus
MCP Elicitations in Spring AI: Request Missing Information from Users
Taught by
Dan Vega