Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.222 Home All releases olderv2.1.221 v2.1.223newer

Dedicated error when claude.ai rejects a session bearer token

You'll notice
Useful4 Signal0
MCP

If claude.ai rejects your session token, you now get a clear message telling you to run /login instead of endless retries.

/login
What

MCP connections proxied through the claude.ai connector now surface a specific error telling you to re-login, instead of a generic auth failure that gets retried.

Details
  • New ClaudeAiProxyBearerRejectedError class with code CLAUDEAI_BEARER_REJECTED.
  • Message: "claude.ai rejected the session token — it may lack connector scopes or be invalid. Run /login."
  • Two retry classifiers return false for it, so it is neither retried nor treated as a generic auth failure.
  • Added to the known-error name allowlists, alongside McpAuthError and McpError.
  • Connection failures report errorCode: "CLAUDEAI_BEARER_REJECTED" on tengu_mcp_server_connection_failed.
Evidence

CLAUDEAI_BEARER_REJECTED

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.222 →