Enables Cursor and Windsurf to manage Supabase databases and execute SQL queries safely.
Most database access work still happens through a UI a human drives. Supabase MCP server moves it into the conversation instead. Enables Cursor and Windsurf to manage Supabase databases and execute SQL queries safely.
The server publishes 12 tools. What each one is for:
get_user_by_id — Retrieve a user by their IDlist_users — List all users with paginationcreate_user — Create a new userdelete_user — Delete a user by their IDinvite_user_by_email — Send an invite link to a user's emailgenerate_link — Generate an email link for various authentication purposesupdate_user_by_id — Update user attributes by IDdelete_factor — Delete a factor on a user (currently not implemented in SDK)Prerequisites — Installing the server requires the following on your system: - Python 3.12+ - PostgresSQL 16+Cursor — Go to Settings -> Features -> MCP Servers and add a new server with this configuration: bashWindsurf — Go to Cascade -> Click on the hammer icon -> Configure -> Fill in the configuration: json { "mcpServers": { "supabase": { "command"Troubleshooting — Here are some tips & tricks that might help you: - Debug installation - run supabase-mcp-server directly from the terminal to see if it works. IfInstallation goes through your MCP client rather than a global install: point it at @smithery/cli on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.
Configuration is passed through the environment: SUPABASE_PROJECT_REF, SUPABASE_DB_PASSWORD, SUPABASE_REGION, SUPABASE_ACCESS_TOKEN. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Installing the server requires the following on your system: - Python 3.12+ - PostgresSQL 16+ If you plan to install via uv, ensure it's installed.
Among the database access options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Supabase's toolset — get_user_by_id, list_users, create_user and 9 more — is a fair guide to whether it matches your workflow. It is maintained by Deploya-labs; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Supabase's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| get_user_by_id | Retrieve a user by their ID |
| list_users | List all users with pagination |
| create_user | Create a new user |
| delete_user | Delete a user by their ID |
| invite_user_by_email | Send an invite link to a user's email |
| generate_link | Generate an email link for various authentication purposes |
| update_user_by_id | Update user attributes by ID |
| delete_factor | Delete a factor on a user (currently not implemented in SDK) |
| Prerequisites | Installing the server requires the following on your system: - Python 3.12+ - PostgresSQL 16+ |
| Cursor | Go to Settings -> Features -> MCP Servers and add a new server with this configuration: bash |
| Windsurf | Go to Cascade -> Click on the hammer icon -> Configure -> Fill in the configuration: json { "mcpServers": { "supabase": { "command": "/Users/username/.local/bin/supabase-mcp-server", // update path "env": { "SUPABASE_PRO |
| Troubleshooting | Here are some tips & tricks that might help you: - **Debug installation** - run supabase-mcp-server directly from the terminal to see if it works. If it doesn't, there might be an issue with the installation. - **MCP Ser |
{
"mcpServers": {
"filesystem": {
"command": "supabase-mcp-server",
}
}
}Configuration as documented by the project. Restart the client after saving.
Installing the server requires the following on your system: - Python 3.12+ - PostgresSQL 16+ If you plan to install via uv, ensure it's installed.
| Variable | Description | Required |
|---|---|---|
| SUPABASE_PROJECT_REF | Configuration value read at startup. | Optional |
| SUPABASE_DB_PASSWORD | Configuration value read at startup. | Optional |
| SUPABASE_REGION | Configuration value read at startup. | Optional |
| SUPABASE_ACCESS_TOKEN | Credential the server authenticates with. | Yes |
Read-only SQL access to Postgres — let your assistant inspect schemas and answer questions from real data.
Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.
Serverless Postgres with database branching — point your assistant at Neon and let it work on disposable copies.