# MCP_ELICITATION_CLIENT_UNSUPPORTED

<!-- Generated by docs/modules/diagnostics from the package catalogs. Write a guide in docs/diagnostics/<CODE>.md instead of editing this file. -->

`elicit()` of an MCP tool throws `MCP_ELICITATION_CLIENT_UNSUPPORTED`. The tool wants to ask the person for values, but the MCP client did not declare the `elicitation` capability when it connected. The Agent reads the code and the message as a tool error.

## Why it happens

A client that can show a form to the person says so in `initialize` with `capabilities.elicitation`. MCP does not let a server send `elicitation/create` to a client that did not declare it. Some clients, and most scripts, do not declare it.

## Fix it

Use an MCP client that supports elicitation in form mode.

To keep the tool useful in every client, accept the values as optional tool arguments too, and call `elicit()` only when they are missing. Then the Agent can ask the person in the chat and pass the values.

## Related

- [Ask the person for values](https://vitehub.dev/docs/mcp/server-api#ask-the-person-for-values)
- [MCP server limits and errors](https://vitehub.dev/docs/mcp/limits-and-errors)

## Source

`MCP_ELICITATION_CLIENT_UNSUPPORTED` belongs to the `mcp` package. Its catalog entry is in [`src/error-diagnostics.ts`](https://github.com/vite-hub/vitehub/blob/main/packages/mcp/src/error-diagnostics.ts#L21). It is raised in [`src/runtime.ts`](https://github.com/vite-hub/vitehub/blob/main/packages/mcp/src/runtime.ts#L133).

See [all MCP server diagnostics](https://vitehub.dev/docs/mcp/diagnostics).

<!-- vitehub-docs:section-links -->
## In this section

- [Overview](https://vitehub.dev/raw/docs/mcp.md)
- [Get started](https://vitehub.dev/raw/docs/mcp/get-started.md)
- [Configure](https://vitehub.dev/raw/docs/mcp/configure.md)
- [Server API](https://vitehub.dev/raw/docs/mcp/server-api.md)
- [Limits and errors](https://vitehub.dev/raw/docs/mcp/limits-and-errors.md)

Next: [MCP_ELICITATION_HOST_UNSUPPORTED](https://vitehub.dev/raw/docs/mcp/diagnostics/mcp_elicitation_host_unsupported.md)

All pages: [llms.txt](https://vitehub.dev/llms.txt)
