Claude Code’s VSCode extension advertises MCP elicitation but auto-declines every prompt
hjmurmur · ghdev · 2026-07-20
Claude Code declares MCP elicitation support in VSCode, but auto-declines every request
A reproducible bug report says the Claude Code VSCode extension advertises the MCP elicitation capability during initialization, yet silently auto-declines every elicitation/create request without showing UI.
Key points:
- The same session can already render permission prompts and AskUserQuestion dialogs.
- ServerSession.checkclientcapability(...) returns true, so servers believe elicitation is supported.
- ctx.elicit(...) returns a normal decline result instead of raising an error, making it indistinguishable from a real user cancellation.
The practical impact is that MCP servers using a two-phase destructive flow (“ask first, proceed on accept”) get stuck. The reporter worked around it by treating decline as “declined or unavailable” and falling back to a confirmation-token flow, which weakens semantics for clients that do support real elicitation.
More from coding & agent
- Reticle builds a verification layer that lets AI coding agents check their own generated code — Scobleizer · 2026-10-27
- Dev training a guard model to block prompt injection, tool and memory poisoning — gnukeith · 2026-10-27
- Dev trains a ~4GB-VRAM sentinel model to guard against prompt injection and poisoned memory — gnukeith · 2026-10-27
- Ex-Big Tech managers may thrive in the AI era: manage agents like you managed teams — lxfater · 2026-10-27
- Claude debugs airline and hotel sites; Fasano's date picker is all NaN and invalid dates — lilyraynyc · 2026-10-27
- SF 'Code Engineering' event picks up where 1,000-person harness engineering meetup left off — LangChain · 2026-10-27