Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Supabase's MCP server is broader than a database connector because Supabase is broader than a database. Alongside SQL access to your Postgres instance, it manages the platform around it: listing and creating projects, applying migrations, generating TypeScript types from your schema, deploying Edge Functions, checking logs and driving database branching for safe experimentation.
That makes it feel less like "chat with my database" and more like a conversational Supabase CLI. A representative session: describe a new feature, have the assistant design the tables, apply the migration to a branch database, generate the TypeScript types for your frontend, and only merge to production once you've reviewed it. The branching support is the standout — schema changes from an LLM are exactly the kind of thing you want isolated somewhere disposable first.
Setup is refreshingly modern: it runs as a remote server with OAuth, so most clients connect with a URL and an in-browser approval instead of copying access tokens around. Scoping flags matter here too — --read-only restricts SQL to reads, and --project-ref pins the server to a single project so an assistant can't wander across your whole account.
One habit worth adopting: Supabase's own docs recommend against pointing this at production with full permissions, and they're right. Use read-only mode for prod questions, do write-work on branches, and treat the merge step as your human review gate. Used that way it collapses a lot of dashboard-clicking into plain language.
get_advisors is the quietly essential tool: it flags tables exposed through PostgREST with row-level security missing or misconfigured, which is the most common way a Supabase project leaks data it shouldn't.generate_typescript_types reads the live schema, so a stale types file in your repo is the usual reason the frontend and the database start disagreeing.features query parameter that narrows which tool groups load — pinning it to database and docs is a clean way to ensure nothing ever deploys an Edge Function on your behalf.Design tables, apply migrations to a branch, review, then merge — LLM-driven schema changes with a safety net.
Create the tables and generate the matching TypeScript types in one conversation.
Pull Edge Function logs and database advisories while diagnosing an issue, without touching the dashboard.
| Tool | What it does |
|---|---|
| list_projects / get_project | Enumerate and inspect Supabase projects |
| execute_sql | Run SQL against the project database |
| apply_migration | Apply a named schema migration |
| create_branch / merge_branch | Create and merge database branches for safe schema work |
| generate_typescript_types | Generate TS types from the current schema |
| deploy_edge_function | Deploy a Supabase Edge Function |
| get_logs | Fetch recent logs by service (API, Postgres, Edge Functions) |
| get_advisors | Security and performance advisories for the project |
claude mcp add --transport http supabase https://mcp.supabase.com/mcpA browser window opens to authorise access to your Supabase account.
A Supabase account. Remote mode needs only OAuth approval; local mode needs Node.js 18+ and a personal access token.
| Variable | Description | Required |
|---|---|---|
| SUPABASE_ACCESS_TOKEN | Personal access token (local mode only; remote mode uses OAuth)e.g. sbp_... | Optional |
Read-only SQL access to Postgres — let your assistant inspect schemas and answer questions from real data.
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.
Official Redis server — search keys, inspect data structures and manage caches in natural language.