You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MCP OAuth tokens expire in idle conversations with no way to re-authenticate #18442
When a Claude desktop conversation using MCP servers (like "Control your Mac" via osascript) sits idle for several hours, the OAuth tokens expire. Returning to the conversation results in:
API Error: 401 {"type":"error","error":{"type":"authentication_error","message":"OAuth token has expired. Please obtain a new token or refresh your existing token."}}
Expected behavior
Tokens should auto-refresh when returning to a conversation
OR /login should actually re-authenticate the MCP connections
Actual behavior
Running /login does nothing visible and subsequent messages still fail with 401
There is no way to revive MCP connections in a stale conversation
Users must start a new conversation and lose context
Impact
This defeats the purpose of conversation persistence. Users can't step away overnight and resume work the next day without losing their MCP-enabled context.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.
Activity
github-actions commentedon Jan 15, 2026
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
github-actions commentedon Jan 19, 2026
This issue has been automatically closed as a duplicate of #15007.
If this is incorrect, please re-open this issue or create a new one.
🤖 Generated with Claude Code
github-actions commentedon Jan 26, 2026
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.