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

MCP OAuth Token Clearing: Preserve Client Registration

Entry
JSON All of v2.1.172
EntryKind: in v2.1.172,
ImprovementsSection of the release
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 →

Feedback