العربية
Back

AI

MCP Clients and the Elicitation Feature

Client versus host, and the elicitation feature that lets a server ask the user for information in form and URL modes.

Last reviewed:

Host and client

MCP clients are instantiated by host applications to communicate with particular servers. The host, such as Claude.ai or an IDE, manages the user experience and coordinates multiple clients, and each client handles one direct connection to one server.

What elicitation is

A feature the client offers to servers: a server can pause and request specific information from the user mid-work, such as a travel booking server asking for seat preference, room type or contact number, instead of requiring everything up front or failing when data is missing.

The two modes

  • Form mode: the server asks the client to collect structured data; the request includes a schema the client uses to build a form and validate the response.
  • URL mode: the server gives a URL for the user to open; the interaction happens out of band and its data never passes through the client, suiting credential entry or OAuth authorization.

The flow

When a server needs input while processing a request such as tools/call, it responds with an InputRequiredResult carrying elicitation/create requests. The client gathers the input and retries the original request with inputResponses. Clients declare supported modes in the elicitation capability on each request, and servers must not use any other mode. An empty object {} declares form mode only.

Common mistakes

  • Collecting passwords through form mode instead of URL mode (our reading of the sensitive-flow guidance).
  • Using a mode the client did not declare.

Next steps

  • For the other side: server features.
  • To build a client: build an MCP client.
  • For safety: MCP security.

Latest updates

No dated update on this topic was found on the official page read on 2026-11-30. We add updates when they appear.

Similar tools

Standalone pages for similar items are added after their official sources are read. We name nothing without a full page.

Related pages

Sources

Wording is ours, from the official source. Images and video belong to their owners and are credited with a link to the official page.

#dev#mcp#client#elicitation#protocol

Frequently asked questions

When is URL mode used?

For sensitive flows such as credential entry or third-party OAuth authorization, since the interaction happens out of band and its data never passes through the client. (MCP site)

MCP Security: Common Attacks and Mitigations

What is the difference between host and client?

The host is the application users interact with; a client is a protocol-level component that handles one direct connection to one server. (MCP site)

Model Context Protocol (MCP): Connect AI Apps to Tools and Data