Servers / Supabase
Install Supabase MCP in Cursor
Direct answer
Install Supabase MCP in Cursor with url https://mcp.supabase.com/mcp. Reload and authenticate. Prefer a read-only grant while you are exploring. The agent can then list projects, inspect tables, and read logs instead of inventing columns.
Cursor mcp.json
Paste this into ~/.cursor/mcp.json (global) or.cursor/mcp.json (this repo). Merge it with servers you already have. Primer: how Cursor loads MCP.
{
"mcpServers": {
"supabase": {
"url": "https://mcp.supabase.com/mcp"
}
}
}MCP endpoint: https://mcp.supabase.com/mcp. Source: Supabase MCP.
What it is
Supabase MCP talks to the platform: projects, database, advisors, logs. Cursor can generate types from the live schema rather than from a week-old dump in the repo.
The problem it solves
Agents love to CREATE TABLE. They are less good at noticing the table already exists with a different column name. This server is how they look first.
Install steps
- Add the URL. mcpServers.supabase.url = https://mcp.supabase.com/mcp.
- Sign in. Complete OAuth or paste the token Supabase's current docs require. Enable read-only if the dashboard offers it.
- Inspect schema. Ask Cursor to list tables in the linked project and compare them to your generated types.
A prompt that uses it
List tables in this Supabase project and point out columns this code still treats as required that the schema marks nullable.
If it will not connect
Wrong org or missing project grant is the usual miss. Confirm https://mcp.supabase.com/mcp. Do not put the database password in mcp.json; the MCP uses the platform token, not the Postgres URI.
FAQ
What is the Supabase MCP URL?
https://mcp.supabase.com/mcp
Can it run SQL that drops tables?
If you grant write access, treat it like a SQL editor. Use read-only until you need migrations.
Is this the same as the Postgres MCP?
No. This is Supabase's platform server. A generic Postgres MCP talks to a connection string.
Project or global config?
Project file, if only some apps use this Supabase org.