SupabaseS
Supabase6mo ago
kash

Trouble setting up MCP integration in Cursor

I've followed the directions on this document to set up the MCP integration with Cursor. I can see that the MCP server is successfully added when go to my settings. Calling the get_project_url tools works.

But when I go to list_tables or exec_sql. I get a mysterious error {"error":{"name":"Error","message":"Project reference in URL is not valid. Check the URL of the resource."}}

I've verfied the correctness of my PAT and my project-ref (the string with bunch of random characters). But I just can't seem to get this to work. Is anyone else encountering this issue, and does anyone know what the fix might be?
Was this page helpful?