claude-code - 💡(How to fix) Fix MCP OAuth no longer auto-opens browser on Windows (v2.1.140) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#58822Fetched 2026-05-14 03:38:37
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×3closed ×1commented ×1

Running /mcp to reconnect an OAuth MCP server prints "A browser window will open for authentication" but no browser tab opens. The URL is shown for manual copy (press c), which works, but the auto-launch step is broken. This used to work in earlier versions.

Root Cause

Running /mcp to reconnect an OAuth MCP server prints "A browser window will open for authentication" but no browser tab opens. The URL is shown for manual copy (press c), which works, but the auto-launch step is broken. This used to work in earlier versions.

RAW_BUFFERClick to expand / collapse

Summary

Running /mcp to reconnect an OAuth MCP server prints "A browser window will open for authentication" but no browser tab opens. The URL is shown for manual copy (press c), which works, but the auto-launch step is broken. This used to work in earlier versions.

Environment

  • Claude Code: v2.1.140 (Opus 4.7, 1M context)
  • OS: Windows 11 Pro (10.0.26200)
  • Shell: PowerShell

Repro

  1. Run /mcp against an OAuth-based MCP server
  2. CLI prints "A browser window will open for authentication" and the auth URL
  3. No browser tab opens; have to press c and paste manually

What I tried

  • Closed all browser windows and retried — same behavior
  • Full reboot pending

Related

  • #42548
  • #36307

Happy to provide more details or logs.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix MCP OAuth no longer auto-opens browser on Windows (v2.1.140) [1 comments, 2 participants]