Claude Code v2.1.222 ·
Active MCP server/tool markers are cleared on conversation reset
Errors after a conversation reset are no longer mislabelled with the MCP server and tool from a previous turn.
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
Bug FixesKind: in v2.1.222,
Bug FixesSection of the release
What
Stale MCP attribution no longer survives a conversation reset, so a later error or event is not tagged with the server and tool from a previous turn.
Details
- The query loop's tool-state object gained an
onReset hook - The hook calls a new helper that clears
activeMcpServer and activeMcpTool on the options object, guarded by try/catch - The same helper is also invoked at the start of the API loop
Evidence
activeMcpServer
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.222 →