Web UI hides manual OAuth sign-in during reconnect errors and account switching
Problem
The Web UI has no reliable way to switch OAuth accounts or retry sign-in when the upstream's health action is restart rather than login.
For example, after signing into Notion with the wrong account, a reconnect failed with:
failed to connect: OAuth authorization during MCP init failed: context deadline exceeded
The server still reported authenticated: true, but its diagnostic was MCPX_HTTP_TIMEOUT and the suggested action was restart. The detail page's Login action disappeared, and the server card had no manual sign-in option. A background reconnect can also hide or disable the primary sign-in action.
Expected behavior
Keep a manual Sign in / Sign in again option in the server card's More actions menu and the detail page's Actions menu for enabled OAuth HTTP upstreams. It should work while connected, reconnecting, logged out, or displaying an OAuth error classified as a generic timeout. Continue to exclude disabled, stdio and non-OAuth servers.
Reuse the existing OAuth login endpoint; this is a UI recovery/account-switching issue. Remote browser opening and HTTPS callback routing are tracked separately in #1595 and #1597.
Related work checked
Searched open and closed issues/PRs and repository Discussions. #628/#630 address sign-in classification, and #1366/#1367 address quarantined-server login. Those do not provide a persistent manual action for switching accounts or recovering from generic reconnect errors.
Observed on v0.70.0 on Linux with a browser accessing the Web UI through Tailscale.