Claude Code v2.1.221 ·
MCP slash-command prompts extracted, now abortable
You can now cancel a running MCP prompt slash command without seeing a bogus error message.
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
MCPArea: what it touches
ImprovementsKind: in v2.1.221,
ImprovementsSection of the release
What
Running an MCP prompt as a slash command can now be aborted cleanly, and aborting no longer looks like a failure.
Details
- The prompt-command construction moved into its own function.
- Fetching the prompt passes the command's abort signal and a context label to the client connection.
- An aborted prompt no longer logs mcp_get_prompt_failed and no longer surfaces an "Error running command" notice; it rethrows.
Evidence
context: "MCP prompt command"
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.221 →