Fetching from the wire…
Public story · 2026-06-28 · high
Broken MCP server auth now surfaces at startup, not mid-session, and the same login flow can run unattended in CI setup scripts.
Why now: It shipped in the current Claude Code docs update as more teams run MCP servers inside CI instead of just local sessions.
Claude Code added a claude mcp login command that runs the OAuth flow for a configured MCP server straight from the terminal, per Claude Code's docs.
That's useful for anyone wiring MCP servers into CI or setup scripts. The login flow no longer needs hand-edited OAuth config files, so it can run unattended.
A new startup notice also checks server auth before a run begins. It flags a broken connection up front instead of letting it fail partway through a session.
The startup check is the more useful fix of the two. Broken MCP auth has mostly shown up as a mid-session surprise, not something you'd catch before starting. Catching it earlier saves more time than a scriptable login command does on its own. Worth watching whether more of Claude Code's MCP tooling gets the same before-you-run treatment.
This landed in the current Claude Code docs update, right as more teams start running MCP servers inside CI instead of just local sessions.
Each link below shares sources, entities, or timing with this story.
Cursor uses MCP / Shared entities / Same source domain / Shared topic / Earlier coverage
Linked by a graph relationship (Cursor uses MCP); both cover Claude Code Docs, MCP, OAuth; reported by the same outlet (code.claude.com).
Claude uses MCP / Shared entities / Same source domain / Shared topic / Earlier coverage
Linked by a graph relationship (Claude uses MCP); both cover Claude Code Docs, MCP; reported by the same outlet (code.claude.com).
Anthropic released MCP / Shared entities / Same source / Earlier coverage
Linked by a graph relationship (Anthropic released MCP); both cover Claude Code Docs, MCP; cite the same source (Claude Code Docs).
Claude Code uses MCP / Shared entities / Same source domain / Shared topic / Earlier coverage
Linked by a graph relationship (Claude Code uses MCP); both cover Claude Code Docs, MCP; reported by the same outlet (code.claude.com).
Claude uses MCP / Shared entities / Same source domain / Shared topic / Earlier coverage
Linked by a graph relationship (Claude uses MCP); both cover Claude Code Docs, MCP; reported by the same outlet (code.claude.com).
Claude Code uses MCP / Shared entity: Claude Code Docs / Same source / Shared topic / What happened next
Linked by a graph relationship (Claude Code uses MCP); both cover Claude Code Docs; cite the same source (Claude Code Docs).
Claude uses MCP / Shared entity: MCP / Same source domain / Shared topic / What happened next / Tension
Linked by a graph relationship (Claude uses MCP); both cover MCP; reported by the same outlet (code.claude.com).
Claude uses MCP / Shared entities / Shared topic / Earlier coverage
Linked by a graph relationship (Claude uses MCP); both cover MCP, OAuth; overlapping topics (claude, config, server).