Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.257 ·

MCP OAuth/XAA logging now redacts URLs and scopes, and tracks presented tokens

MCP OAuth debug logs now redact scopes, URLs and tokens, with handed-out secrets tracked so they can be scrubbed.

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaMCPwhat it touches
KindBug Fixesin v2.1.257,
Group of 3 You'll notice

MCP OAuth debug logs now redact scopes, URLs and tokens, with handed-out secrets tracked so they can be scrubbed.

MCP/XAA discovery and connection error messages that previously interpolated raw URLs (issuer, token endpoint, resource) now pass them through a zn(...) helper before inclusion in error text, and the MCP OAuth client's debug logging also runs scope values through a rw("scope", ...) redaction helper, covering messages like 'Using scope from metadata:' and 'Overrode authorization scope from...'.

A new _presented tracker records access tokens, refresh tokens, client secrets, and code verifiers whenever they are handed out (e.g. this._presented.record(e?.client_secret), this._presented.record(k.access_token)), in addition to the existing _lastServedAccessToken/_lastServedRefreshToken tracking, apparently to support redaction or duplicate/leak detection for tokens.

See this entry in the whole of v2.1.257 →

Feedback