How do I handle redirect for MCP?

When Using the MCP plugin, if I am authenticated in my web-app I get redirected right away to cursor or MCP client, but when I am not authenticated, I get taken to the sign-in page, and then I sign in with google and I get redirected to a page where I need to manually copy the url and paste it in the browser in order to get redirected, how can I fix this?
capture-2025-06-10_at_14.02.142x.png
Was this page helpful?