Switching accounts would cancel in-flight MCP work instead of finishing it under the new identity, but it's dark.
Account-change aborts for tool calls, re-auth and reconnects depend on a counter that only advances with the MCP discovery cache on, and it is off.
tengu_mcp_discovery_cache_enable Not enough to sayNothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.
This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.238: not a boolean we can read
Read once, for one account on one subscription tier, against v2.1.238. It isn't a statement about your account. What a flag value here can and cannot tell you
What's wrong with this entry?
Claude Code now refuses to carry MCP tool calls, re-authentication, and reconnects across a switch of the signed-in account, so work started under one identity is never completed under another. A tool call that reaches a re-auth path is cancelled, pending re-auth started under the old account is refused rather than reused, and a reconnect that spans the switch fails and asks you to try again. The whole path depends on an account-change counter that only advances while the MCP discovery cache is on, and that cache is off in this build, so none of it can be observed on a default install.
- Aborted tool calls report "MCP tool call aborted: account changed before reauth" or the same message ending "during reauth".
- A reconnect interrupted by a switch fails with error code
IDENTITY_CHANGEDand the message "Reconnect cancelled: the account changed while connecting. Choose Reconnect again." - Cancelled reconnects are recorded under the telemetry reason
mcp_reconnect_identity_changed. - Purges of the MCP discovery cache on a 401 or 403 response are skipped when the account has already moved on, so stale-credential cleanup does not clobber the new identity.
- A guard on disabled servers rides on the same counter and is likewise inert here.
- Turn the path on by setting the
MCP_DISCOVERY_CACHEenvironment variable to true, or by receiving a server value for thetengu_mcp_discovery_cache_enableflag; with neither, the strings ship but never appear.
Reconnect cancelled: the account changed while connecting. Choose Reconnect again., mcp_reconnect_identity_changed
Strings lifted out of the shipped bundle, so the claim above can be checked against them.