If claude.ai rejects your session token, you now get a clear message telling you to run /login instead of endless retries.
What's wrong with this entry?
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.
- New
ClaudeAiProxyBearerRejectedErrorclass with codeCLAUDEAI_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
McpAuthErrorandMcpError. - Connection failures report
errorCode: "CLAUDEAI_BEARER_REJECTED"ontengu_mcp_server_connection_failed.
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.
-
v2.1.224
Remote Control tells you when a credential expired instead of just dropping
Both mention login
-
v2.1.224
Remote Control errors are typed as auth or terminal
Both mention login
-
v2.1.225
Remote Control re-arms itself after a re-login
Both mention login