anthropics / anthropics/claude-ai-mcp
Custom connector doesn't prompt reauth when OAuth token expires — silently loses tool access
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 471
- Forks
- 77
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
When a custom MCP connector's OAuth access token expires, the server correctly returns `401` with a `WWW-Authenticate` header pointing to `/.well-known/oauth-protected-resource` (per the MCP auth spec). Claude doesn't act on this signal — the tool silently disappears from the conversation with no reauth prompt and no visible error explaining why. The only fix is manually going to Settings → Connectors and disconnecting/reconnecting the connector.
Expected: Claude should either automatically redo the OAuth flow using the discovered protected-resource metadata, or at minimum surface a "this connector needs reauthorization" prompt to the user instead of failing silently.
This matches a known limitation referenced in third-party MCP server docs ("some clients including the Claude app and Claude Code do not yet auto re-initialize on a 404 and require a manual reconnect").
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Start at the custom MCP connector OAuth handling and the 401/WWW-Authenticate path described in the issue. Trace the Settings → Connectors reconnect flow and protected-resource metadata discovery; done means expired tokens trigger OAuth reauthorization or a visible prompt rather than silently removing tools.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Bereich
- api, authentication
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100