What's wrong with this entry?
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.
- When
preserveClientRegistration: trueis passed, onlyaccessToken,refreshToken,expiresAt, andscopeare cleared - Log message: "Cleared stored tokens (preserved client registration)"
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.