You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature Request]: Add support for MCP Elicitation #2799
For those who are unaware (obviously not @anthropics) Elicitation allows MCP servers to request additional information from users during interactions - similar to how CLI tools sometimes prompt for missing config values. This would help with several common scenarios:
Dynamic configuration - MCP servers could request project paths, settings or other nice-to-haves when needed instead of requiring everything upfront in config files.
Interactive workflows - When Claude Code is working on a task and an MCP server needs clarification (e.g., "which database to connect to" or "what naming convention to use"), it could ask directly instead of failing.
Controlled data sharing - The elicitation protocol includes accept/decline/cancel responses, giving users explicit control over what information they share with MCP servers.
The feature is already in the draft spec and hopefully this gets included soon - huge unlock!
Much needed for both Claude Code and Claude Desktop. I have implemented one tool that uses elicitation and it works well with VSCode not with Claude Desktop. Here is my tool.
+1
Just to add a new case to consider: MCP elicitation can be helpful in a Just-In-Time (JIT) authorization scenario.
Recently, we implemented Human-in-the-Loop interactions through MCP elicitation with API-native authentication flows based on OAuth 2.0 first-party applications.
With this approach, for critical operations the MCP server can request a JIT authorization step. The flow works roughly as follows:
a) The user asks Claude to perform a critical action (e.g., execute tool X over MCP X).
b) The MCP server detects that stronger authentication is required and uses MCP elicitation to request human-in-the-loop input from the user, following the authentication steps provided by the Identity Provider (IdP).
c) The user completes the authentication step (e.g., authenticator app, OTP, passkeys, etc.).
d) The IdP issues a new token with elevated privileges → the action succeeds.
The goal: secure, interactive authorization for AI agents without breaking developer workflows, backed by cryptographic proof and human-in-the-loop verification when it matters most.
I'm having trouble getting elicitation to work against my own local MCP server in v2.1.77 (Claude seems convinced it's still not). Can anyone confirm this is actually working now?
this would solve a real pain point. right now when our MCP server needs user input (like picking which window to automate), we have to hack around it with tool descriptions that tell Claude to ask the user. native elicitation would let the server request the info directly. would be especially useful for first-run setup flows where the server needs config values that aren't in env vars yet.
While MCP Elicitation (server-initiated prompts) requires protocol support, a PostToolUse hook can simulate it by detecting when an MCP tool needs more info:
INPUT=$(cat)
TOOL=$(echo "$INPUT"| jq -r '.tool_name // empty')
OUTPUT=$(echo "$INPUT"| jq -r '.tool_output // empty')ifecho"$TOOL"| grep -q '__'&&echo"$OUTPUT"| grep -qiE '(missing required|please provide|authentication needed|select one of|which .* do you want)';thenecho"[MCP Elicitation] Server needs input: $(echo "$OUTPUT"| head -c 200)">&2fiexit 0
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.
Activity
jsulopzs commentedon Jul 6, 2025
+1
zach-lm commentedon Jul 17, 2025
+1
AkatQuas commentedon Jul 21, 2025
https://code.visualstudio.com/updates/v1_102#_support-for-elicitations
vscode already supports elicitation at v1.102 in the June 2025.
Now, go get it, Claude, be brave.
hotwa commentedon Jul 29, 2025
Is finish in latest version?
hotwa commentedon Jul 29, 2025
I use latest fastmcp,with claude code. it seems not support User Elicitation。
nileshsimaria commentedon Aug 2, 2025
Much needed for both Claude Code and Claude Desktop. I have implemented one tool that uses elicitation and it works well with VSCode not with Claude Desktop. Here is my tool.
https://github.com/Juniper/junos-mcp-server/blob/main/jmcp.py#L371
vfarcic commentedon Aug 7, 2025
+1
FrancisBourre commentedon Aug 11, 2025
+1
alew3 commentedon Aug 15, 2025
+1
qlmmlp commentedon Aug 22, 2025
+1
je2ryw commentedon Aug 26, 2025
+1
70 remaining items
embesozzi commentedon Mar 13, 2026
+1
Just to add a new case to consider: MCP elicitation can be helpful in a Just-In-Time (JIT) authorization scenario.
Recently, we implemented Human-in-the-Loop interactions through MCP elicitation with API-native authentication flows based on OAuth 2.0 first-party applications.
With this approach, for critical operations the MCP server can request a JIT authorization step. The flow works roughly as follows:
a) The user asks Claude to perform a critical action (e.g., execute tool X over MCP X).
b) The MCP server detects that stronger authentication is required and uses MCP elicitation to request human-in-the-loop input from the user, following the authentication steps provided by the Identity Provider (IdP).
c) The user completes the authentication step (e.g., authenticator app, OTP, passkeys, etc.).
d) The IdP issues a new token with elevated privileges → the action succeeds.
The goal: secure, interactive authorization for AI agents without breaking developer workflows, backed by cryptographic proof and human-in-the-loop verification when it matters most.
coygeek commentedon Mar 14, 2026
Anthropic just dropped v2.1.76 with:
Carrasco-R commentedon Mar 17, 2026
Looks like this saga can end
mancej commentedon Mar 17, 2026
I'm having trouble getting elicitation to work against my own local MCP server in v2.1.77 (Claude seems convinced it's still not). Can anyone confirm this is actually working now?
embesozzi commentedon Mar 17, 2026
Yes, it’s working fine. Here’s a demo of MCP Elicitation for Just-In-Time (JIT) Authorization using Claude Code for critical tools.
claude-jit-authz.mp4
mancej commentedon Mar 17, 2026
Interesting, I have it working fine in Cursor, and in integration tests, but not in Claude code. Must be something on my end -- Ty for sharing!
m13v commentedon Mar 18, 2026
this would solve a real pain point. right now when our MCP server needs user input (like picking which window to automate), we have to hack around it with tool descriptions that tell Claude to ask the user. native elicitation would let the server request the info directly. would be especially useful for first-run setup flows where the server needs config values that aren't in env vars yet.
m13v commentedon Mar 18, 2026
our MCP server where elicitation would solve real problems: https://github.com/mediar-ai/mcp-server-macos-use/blob/main/Sources/MCPServer/main.swift - currently hacks around the lack of user input by putting instructions in tool descriptions.
shz0209 commentedon Mar 19, 2026
@mancej you need to add
"tengu_mcp_elicitation": truein your .claude.json fileyurukusa commentedon Mar 29, 2026
While MCP Elicitation (server-initiated prompts) requires protocol support, a
PostToolUsehook can simulate it by detecting when an MCP tool needs more info:For proactive MCP configuration checks:
mohit-gupta-glean commentedon Apr 22, 2026
Elicitation still does not work in Claude Desktop. I am able to use it in Claude Code.
claude commentedon Apr 25, 2026
This issue was fixed as of version 2.1.76.
github-actions commentedon May 2, 2026
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.