What is MCP elicitation?

MCP elicitation is a Model Context Protocol client feature letting a server ask the user, through the client and mid-request, for extra information or consent, either as a structured form defined by a JSON schema or by directing the user to an external URL for sensitive interactions.

Unlike MCP tools, where the client asks the server to act, here the server asks the user for input. Control stays with the client: users see which server asks for what and can accept, decline or cancel.

Topic
Agents and protocols
Also known as
Elicitation
Origin
Model Context Protocol specification, 2025

How MCP elicitation works

  1. The client declares elicitation support and its modes, form or URL, during initialisation.
  2. Mid-request, the server's reply carries an elicitation request.
  3. The client shows which server is asking; in form mode users can review answers first.
  4. The user's accept, decline or cancel decision returns to the server, which continues.

In more detail

The out-of-band security model of URL mode

The critical security property of URL mode is that sensitive interaction happens out-of-band in the user's browser directly with the target service: passwords, OAuth codes or API keys never pass through the MCP client or enter the LLM's context window. Once finished, the client receives only a completion signal or the server resumes on retry.

The restricted JSON Schema subset in form mode

To ensure every MCP client, from terminal CLIs to web UIs, can reliably render forms, elicitation form mode deliberately restricts `requestedSchema` to a flat JSON Schema object containing primitive fields (`string`, `number`, `integer`, `boolean` and simple enums), disallowing deeply nested objects or complex arrays.

The three response states and headless clients

An elicitation response returns one of three explicit user actions: `accept` (accompanied by form content in form mode), `decline` (user explicitly refused the request) or `cancel` (user dismissed/aborted the interaction). Servers must handle `decline` and `cancel` gracefully rather than entering infinite re-prompt loops and headless/non-interactive clients must not advertise elicitation capability.

Commonly confused terms

TermHow it differs
MCP samplingMCP sampling lets a server ask the client's LLM to generate a text completion, whereas MCP elicitation asks the human user for structured information or consent, not the model.
Tool parameter validationTool parameter validation rejects malformed arguments with an error back to the LLM so the model can retry, whereas elicitation pauses the flow to collect data or consent directly from the user without routing secrets through the model.

Why MCP elicitation matters for on-premises AI

Asking within an agent flow for a missing parameter or consent beats restarting it. The specification sets clear rules: servers must not use form mode for passwords, API keys, access tokens or payment credentials and must use URL mode instead; clients must show which server is asking, offer decline and cancel options and get consent before navigating to a URL. Servers must also bind requests to client and user identity.

ON-PREMISES EXAMPLE

When an HR assistant calls an MCP tool creating a leave request, the server asks for the missing dates in form mode, then sends the user to the organisation's login page in URL mode for a payroll sign-in step.

Common questions

How does MCP elicitation differ from an MCP tool?

With a tool the client asks the server for an action. With elicitation the server asks the user for input through the client while handling a request.

Can a password be requested by an elicitation form?

No. The specification forbids requesting passwords, keys, tokens or payment data in form mode; URL mode must be used.

Sources

In the glossary: Glossary, M to Q

What does this term mean for your infrastructure?

We can work out together in a technical assessment how it maps onto your data, hardware and security requirements.

Request a technical assessment →

This site sets no cookies. Visitor numbers are counted in aggregate using a cookieless method that does not identify anyone. See the Privacy Policy for details.