Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.172 Home All releases olderv2.1.170 v2.1.173newer
Claude Code v2.1.172

MCP OAuth Token Clearing: Preserve Client Registration

What

When clearing MCP OAuth tokens, Claude Code can now optionally preserve the client registration (client ID) while discarding only the access/refresh tokens. This avoids a full re-registration flow when tokens simply need refreshing.

Details
  • When preserveClientRegistration: true is passed, only accessToken, refreshToken, expiresAt, and scope are cleared
  • Log message: "Cleared stored tokens (preserved client registration)"
Evidence

Updated token-clear function (search for "Cleared stored tokens (preserved client registration)")

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.172 →