Optional, process-global source of the OAuth redirect_uri advertised to the authorization
server. Electron binds the loopback callback server here so the redirect is delivered to
http://127.0.0.1:<port>/mcp/oauth/callback, outside the security-token cookie middleware.
Browser/hosted leaves it unbound and MCPOAuthFrontendDelegateImpl falls back to the frontend's
origin-based callback URL (the only component that knows the public frontend origin).
Optional, process-global source of the OAuth
redirect_uriadvertised to the authorization server. Electron binds the loopback callback server here so the redirect is delivered tohttp://127.0.0.1:<port>/mcp/oauth/callback, outside the security-token cookie middleware. Browser/hosted leaves it unbound andMCPOAuthFrontendDelegateImplfalls back to the frontend's origin-based callback URL (the only component that knows the public frontend origin).