Elicitation lets a server request additional information from the user through the client, during a request, instead of guessing a missing value. It has two modes. Form mode collects structured data through the client with a JSON schema. URL mode sends the user to an external URL for sensitive interactions, such as signing in or paying, where the data must not pass through the MCP client. Check which mode a server uses before you answer.
What you need
- A server that needs a value only the user can supply
- A note of whether the value is sensitive, such as a password or payment detail
- The client elicitation capability and its supported modes
Step 1: Check the mode matches the sensitivity
For ordinary structured input such as a name, date or choice, form mode is right. For credentials, payment or sign-in, the server must use URL mode, so the data never passes through the client or the model context.
Step 2: Read the form schema before answering
In form mode, check the requested schema: it is limited to flat objects whose properties are strings, numbers, booleans or enums, with multi-select enums as the only arrays. Answer only the fields the task needs.
Step 3: Handle all three response actions
Confirm the server handles accept, decline and cancel. Decline means the user explicitly refused, cancel means the dialog was dismissed without a choice, and the server must not assume the request will always succeed.
Worked example: synthetic elicitation check for a missing value
The table below is a synthetic example. It shows the expected result of checking an elicitation request; no request was made.
| Check | Observed | Result |
|---|---|---|
| Value needed | Project start date | Ordinary input |
| Mode | Form mode | Fits |
| Schema | Flat object, date field | Valid |
| Decline handled | Offers an alternative | Pass |
Expected result (UNTESTED). form mode is used for an ordinary date, the schema is a valid flat object, and a decline is handled. This check was not run live; the table shows the expected result for the synthetic example.
Limits
- Servers must not send elicitation requests with modes the client has not declared support for.
- Form mode schemas cannot express nested structures or arrays other than multi-select enums.
- URL mode data is not exposed to the client, and the client must not pre-fetch the URL or open it without consent.
- Elicitation requests must be bound to the client and user identity, and clients must show which server is asking.
