Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.246 ·

Permission prompts deny cleanly when the MCP server behind --permission-prompt-tool is gone

If the server behind --permission-prompt-tool disconnects, checks now deny cleanly instead of using a stale tool.

Use it now Improvements
JSON All of v2.1.246
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.246,
What probably matters to youSection of the release
What

If the MCP server that supplied the tool named by --permission-prompt-tool is no longer connected in the session, permission checks are now denied with a message saying so, instead of being resolved against a stale tool.

Details
  • The wrapper checks the server's connection state at check time, and is also constructed in a do-nothing "deny" form up front when the server is already absent at startup.
  • No flag involved; behaviour follows the session's MCP connection state.
Evidence

its MCP server is not connected in this session.

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Read from
Names in the bundle--permission-prompt-tool
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up --permission-prompt-tool, on Hooks reference. The `AskUserQuestion` tool is the typical case: Claude wants to ask the user something, but there is no terminal to answer in. A `-p` run offers `AskUserQuestion` only when it has a [permission host](/docs/en/headless#turn-off-permission-p… hooks see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up --permission-prompt-tool, on Hooks reference.

See this entry in the whole of v2.1.246 →

Feedback