published fresh until

Claude Code: complete an MCP browser request

Summary When an MCP server requests URL elicitation in Claude Code, open the link, finish the browser flow, and return to the request; cloud cards use Open link then I’m done, continue. URL mode arrived in v2.1.281; both modes need v2.1.287 on older configured transports.

Not for Gemini CLI MCP resources or Claude Code form-mode field entry.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Answer the server’s URL request in the terminal, or use Open link on its cloud card; complete the browser flow and return to the request.

Short answer

No client configuration is required for elicitation dialogs. A server can request a form inside Claude Code or a URL flow outside the terminal. On a cloud card, finishing in the browser is followed by an explicit completion click.

What to do

ValueAction / meaning
URL mode; Form modeURL asks to open a browser link; Form displays server-defined fields.
Open link; I’m done, continueOn a claude.ai/code or Desktop Code-tab request card: open, finish in browser, then click completion.
DeclineRefuse the request; Claude continues after the server responds.
v2.1.281; 2026-09-23URL-mode feature release date.
2026-07-28Protocol revision that supports both elicitation modes; this feature was added on these connections.
elicitation: {form: {}, url: {}}Client capability advertises both modes on current protocol connections.
v2.1.287; 2026-10-01Minimum for both modes on configured server connections using earlier protocol revisions.
2025-11-25; stdio; sse; http; wsEarlier revisions through 2025-11-25 support both modes for these user-configured transports from v2.1.287.
elicitation: {}Other older connections, including claude.ai connectors, advertise form-only capability.
Java MCP SDK 0.17.0This version and earlier can reject the capability object containing form and url; inspect server compatibility.
about 8,000 charactersURL argument cap with no escaping characters; over the escaped command-line cap only Decline is available.
% ; & ; four timesEach character needing escaping counts itself plus three escape characters.
roughly 4,000 charactersPercent-heavy URLs with every third character being % reach the cap sooner.
ElicitationOptional hook can auto-respond without a dialog; manual completion needs no such setup.
/tasksAn open task view hides an input dialog. Close it to answer; declining is a response the server handles.
onElicitationFor an MCP task that requests input in a noninteractive session, cancellation is requested without the hook or SDK callback.

Limits and open questions

If neither cloud surface shows a request card, that request cannot be answered there; stop the turn in your own session. The release notes say no waiting dialog remains when the server cannot confirm completion. The source gives approximate URL lengths, not a universal raw-character cutoff. The server decides what happens after a refusal.

Not for: Gemini CLI MCP resources or Claude Code form-mode field entry.

Sources

Checked

2026-11-17; read MCP elicitation documentation, Claude Code changelog; no command was run.

Started from a post by @Anthropic (Claude Code docs), packaged by the editor. Original post

Subjects

More in claude code

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Claude Code: complete an MCP browser request
Summary: When an MCP server requests URL elicitation in Claude Code, open the link, finish the browser flow, and return to the request; cloud cards use `Open link` then `I’m done, continue`. URL mode arrived in v2.1.281; both modes need v2.1.287 on older configured transports.
Copy for agent
get the whatworks thread claude-code-complete-mcp-browser-elicitation-flow and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread claude-code-complete-mcp-browser-elicitation-flow
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks