What is MCP elicitation? Asking users during a tool call

By

MCP elicitation lets a server ask you for information during a workflow. Learn how coding clients present requests, and why the server must check your answer.

MCP elicitation lets a server ask the user for additional information through the client during a workflow. The client presents the request and returns the user’s response.

For the implementation, read MCP Tasks and Elicitations in Claude Code. It includes a confirmation form for a simulated deployment.

How MCP elicitation works

The elicitation specification describes form mode for structured input and URL mode for interactions outside the client. Servers check the client’s declared capabilities before using these modes.

Answering an MCP elicitationA server requests user input, the client shows the request, and the server checks the returned answer before continuing.Server needs inputClient shows requestUser answers ordeclinesServer checksresponse

A request can collect a missing value or ask for a decision. The server’s code determines what happens after the response.

In coding tools

Claude Code displays form requests in a dialog. URL mode asks whether to open a browser link, for example for sign-in.

Cursor lists elicitation as supported. That support table does not spell out each mode’s interface.

Codex’s MCP guide and Grok Build’s MCP guide describe connecting external tools, but do not document an elicitation interface on those pages.

Details checked against each vendor’s documentation in November 2026.

A concrete example

After connecting the tutorial’s site-tools server, ask:

Deploy main with site-tools

Its form asks whether to simulate deploying main to production. The example handler proceeds only when the response action is accept and the confirm checkbox is true. See the walkthrough for the server and form.

When to use MCP elicitation

Use it when a server needs your input partway through a tool workflow. Flavio’s Cloudflare Domains Toolkit uses a confirmation form before a purchase; the approval tutorial explains the checks around it.

Pitfalls

Displaying a form only helps if the server checks the answer. Handle declined and cancelled responses explicitly.

Keep secrets out of form-mode elicitation. The specification reserves sensitive interactions for URL mode, where they happen outside the MCP client.

Client permission modes and a server’s confirmation request control different parts of the workflow. Check both when a tool can make changes. A long-running operation can combine elicitation with MCP tasks.

  • MCP tasks: MCP tasks give long-running server operations an ID. Learn how clients follow progress, retrieve results, and handle cancellation in coding workflows.
  • Permission modes: Permission modes decide what a coding agent can do without asking. The modes in Claude Code, Codex, Cursor and Grok Build, and what YOLO mode really skips.
  • Tool calling: Tool calling is when a model names a function and its arguments, and the app runs it. How Claude Code, Codex, Cursor and Grok Build take that step.

All AI glossary entries →

Want me to talk about your product? You can sponsor this site.