Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.275 ·

New MCP connection failure diagnostics: error_code enum surfaced to hosts

MCP server connection failures now report a specific error code explaining why

TierYou'll noticehow much it should matter to you
Useful3my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaMCPwhat it touches
KindImprovementsin v2.1.275,
You'll notice

MCP server connection failures now report a specific error code explaining why

What

When a connection to an MCP server (Model Context Protocol, used to connect Claude Code to external tools and data) fails, the status output now includes an error_code field giving a specific reason, such as a rejected claude.ai login token, a rejected first-party Anthropic credential, or a connection that's pending approval.

Why

This makes it clear why an MCP connection is failing, such as needing to sign in again, instead of just showing a generic failure with no explanation.

Read from
Names in the bundleerror_code
What the documentation says
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up error_code, on Monitoring. | MCP server connect or failure | `mcp_server_connection` | `status`, `server_name`, `is_plugin`, `error_code` | monitoring-usage see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up error_code, on Monitoring.

See this entry in the whole of v2.1.275 →