I spent a few hours trying to connect Supabase MCP with Cursor and for some reason the integration was giving me nothing but issues. I tried different configurations trying to add the MCP server but the redirect url for OAuth was not working at all it wasn’t reaching the auth callback during connection which made the connection fail 100% of the time. So after deep research and many failures I figured out a fail proof method to connect Supabase MCP to Cursor if you’re struggling like me.
The Workaround That Works
-
Save your MCP configuration in Cursor (the standard Supabase MCP setup)
-
Attempt to connect Supabase — it will fail with “Unauthorized” (settings > Tools & MCP)
-
Check the Cursor logs (Output panel) to find the authorization URL that starts with
https://api.supabase.com/v1/oauth/authorize?... -
Manually copy and paste that URL into your browser
-
Complete the OAuth authorization in the browser
-
The callback successfully returns to Cursor and establishes the connection