When trying to connect to the remote browserstack MCP server with 3LO authentication, I get this error:
mcp.client.auth.exceptions.OAuthRegistrationError: Registration failed: 400 { "error":"invalid_redirect_uri", "error_description":"No valid redirect URIs provided. All URIs must be localhost, claude.ai with valid path, or cursor:// protocol with valid pattern" }
I am using my app's custom domain for callback and cannot use localhost since I am running the MCP client inside a container.
The authentication url (with my custom domain) is passed to user, who clicks and authenticates in his own browser.
Using localhost would mean users' have to use my app container's browser which is not possible unless we've some complicated setup to display the server's browser to client.
Remote MCP servers from other providers with 3LO Auth are working seamlessly with my setup except browserstack.
When trying to connect to the remote browserstack MCP server with 3LO authentication, I get this error:
mcp.client.auth.exceptions.OAuthRegistrationError: Registration failed: 400 { "error":"invalid_redirect_uri", "error_description":"No valid redirect URIs provided. All URIs must be localhost, claude.ai with valid path, or cursor:// protocol with valid pattern" }I am using my app's custom domain for callback and cannot use localhost since I am running the MCP client inside a container.
The authentication url (with my custom domain) is passed to user, who clicks and authenticates in his own browser.
Using localhost would mean users' have to use my app container's browser which is not possible unless we've some complicated setup to display the server's browser to client.
Remote MCP servers from other providers with 3LO Auth are working seamlessly with my setup except browserstack.