Study FAQ
How does an MCP 2026-07-28 server ask for more client input during a request?
Also asked as 2
- What replaces server-initiated elicitation or sampling requests in MCP 2026-07-28?
- How should a client handle an MCP input_required result?
Answer
In MCP 2026-07-28, a server can request a continuation with resultType: "input_required" and at least one of inputRequests or requestState. If inputRequests is present, the client checks its policy, obtains the inputs for supported client features, and sends matching inputResponses if it retries. Echo any supplied requestState unchanged, including when the response carries state alone. Every retry uses a fresh JSON-RPC request ID and continues the original operation. In this revision servers send responses and notifications, while clients initiate JSON-RPC requests.
Before collecting additional information, check the announced client capabilities and whether the host permits the request. For a user-facing elicitation, preserve the user’s choice to decline or cancel. Bind any security-relevant continuation state to the original request, principal, and expiry, and verify its integrity server-side. Bound retries and time spent waiting. The original JSON-RPC correlation ID and a continuation value do not grant authority to read data or repeat an external action.
Handle resultType: "complete" as an ordinary result and route "input_required" to the continuation flow. Earlier protocol revisions used server-initiated requests for interactions like elicitation and sampling. Keep that behavior behind explicit compatibility for those revisions.
Full explanation
MCP Server Development and Choosing Between Tools, Skills, and MCP
Study guide · CCDV-F
Read the full explanation