Supabase MCP dont Work in my Cursor

I have an error when implementing the MCP in the cursor. I get an error that I have not been able to resolve. I connect the MCP as the Supabase documentation asks me to and it does not work. I tried with other colleagues' accounts and it works normally for them. { "mcpServers": { "supabase": { "command": "cmd", "args": [ "/c", "npx", "-y", "@supabase/mcp-server-supabase@latest", "--read-only", "--project-ref=xxxxxxxxxxxxxxxxx" ], "env": { "SUPABASE_ACCESS_TOKEN": "sbp_7a49748aadxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" } } } }
No description
7 Replies
inder
inder5d ago
Do you see any errors in log output
OakRatos
OakRatos5d ago
@Fronti please check that your SUPABASE ACCESS TOKEN and project ref are correct and complete. Also try running npx @supabase/mcp-server-supabase@latest directly in your terminal to see if the package is installed and working properly.
Fronti
FrontiOP5d ago
No, I haven't seen any kind of log.
Fronti
FrontiOP5d ago
I get this error
No description
OakRatos
OakRatos5d ago
@Fronti try clearing your npm cache and reinstalling: npm cache clean --force npx @supabase/mcp-server-supabase@latest Also make sure Node.js is updated to the latest LTS.
Fronti
FrontiOP4d ago
I i'll try the error continues I managed to solve it by disabling the corepack for yarn corepack disable yarn and running the mcp again. After that, it worked. Clearing the npm and yarn cache also helped. In case this happens to anyone else, this was my solution.
OakRatos
OakRatos4d ago
@Fronti if you hit this error, try disabling corepack for yarn (corepack disable yarn) and clear npm/yarn cache, then re run the MCP command

Did you find this page helpful?