Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.268 ·

MCP error messages now redact detail more precisely using server config

Error messages from MCP server connection and OAuth problems now clamp sensitive detail based on the specific server's setup

Group of 2 Under the hood Internal Changes
JSON All of v2.1.268
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
MCPArea: what it touches
Internal ChangesKind: in v2.1.268,
Internal ChangesSection of the release

What

Errors from MCP (Model Context Protocol) server connections and OAuth flows now pass through helper functions that use the server's config object to decide how much detail to clamp or redact before showing or logging the error:

  • OAuth errors (a rejected custom redirectUri, a failed localhost fallback, or a failed OAuth completion) now route through this redaction logic, and a failed localhost OAuth fallback now throws an error instead of silently producing no result.
  • General MCP client reconnect/error-formatting calls now take the server's config alongside the error, letting the formatter tailor the message to the connection type, matching a 'detail withheld on this connection' pattern used for off-box connections.

Why

This avoids leaking sensitive connection detail in error messages while still giving useful, connection-appropriate context, and it fixes a case where a failed OAuth fallback used to fail silently instead of surfacing an error.

See this entry in the whole of v2.1.268 →

Feedback