© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•7mo 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
get_project_url
tools works.

But when I go to
list_tables
list_tables
or
exec_sql
exec_sql
. I get a mysterious error
{"error":{"name":"Error","message":"Project reference in URL is not valid. Check the URL of the resource."}}
{"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?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

MCP bug - Cursor.
SupabaseSSupabase / help-and-questions
7mo ago
trouble setting up declarative schema
SupabaseSSupabase / help-and-questions
5mo ago
Trouble setting up Login with GitHub
SupabaseSSupabase / help-and-questions
4y ago
Supabase MCP dont Work in my Cursor
SupabaseSSupabase / help-and-questions
6mo ago