Skip to content

Add automatic browser opening for OAuth authentication#461

Open
jcwatson11 wants to merge 1 commit into
taylorwilsdon:mainfrom
jcwatson11:browser-auth-flow
Open

Add automatic browser opening for OAuth authentication#461
jcwatson11 wants to merge 1 commit into
taylorwilsdon:mainfrom
jcwatson11:browser-auth-flow

Conversation

@jcwatson11
Copy link
Copy Markdown

Summary

  • Automatically open browser when OAuth authentication is needed
  • Support incognito/private window mode via AUTH_BROWSER_TYPE env var (normal default, incognito optional)
  • Fall back to clipboard copy if browser fails to open
  • Proactive auth check on startup when USER_GOOGLE_EMAIL is configured

Test plan

  • Manual test: removed credentials, restarted MCP, verified browser opened automatically
  • Existing tests pass (74 passed)

Opens browser automatically when auth is needed instead of requiring
manual URL copy. Supports incognito mode via AUTH_BROWSER_TYPE env var.
Falls back to clipboard copy if browser fails to open.
@taylorwilsdon
Copy link
Copy Markdown
Owner

This would be for stdio use cases in legacy mode? In OAuth mode it already does this with the clients that I use.

@jcwatson11
Copy link
Copy Markdown
Author

Yeah. I found that the web browser prompt doesn't work when used as an MCP from Claude CLI.

@jcwatson11
Copy link
Copy Markdown
Author

Was this change declined? Seems like this was closed automatically.

@taylorwilsdon
Copy link
Copy Markdown
Owner

No, I have no idea who this kapil guy is he spammed every open PR. This is not closed.

Repository owner deleted a comment from kapilthakare-cyberpunk Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants