Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.216 ·

MCP OAuth: Revoke Replaced Tokens at Logout

Entry
JSON All of v2.1.216
EntryKind: in v2.1.216,
ImprovementsSection of the release
What

When an MCP server's OAuth tokens are replaced (e.g., during re-authentication or token refresh), the old access and refresh tokens are now explicitly revoked at the server's revocation_endpoint before they are discarded.

Details
  • Discovers the revocation endpoint from OAuth server metadata
  • Supports both client_secret_basic and client_secret_post authentication methods
  • Revokes refresh token first, then access token
  • Logs failures with Failed to revoke refresh token: / Failed to revoke access token: but does not block the replacement
Evidence

Token revocation (search for "Failed to revoke replaced tokens:" or "No replaced tokens to revoke").

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

Feedback