Supabase MCP Server
Manage Supabase projects, run SQL, apply migrations and deploy Edge Functions.
Officialby SupabaseHosted, nothing to installChecked November 8, 2026
Supabase's official MCP server is hosted at https://mcp.supabase.com/mcp and lets Claude work inside your Supabase projects: list tables, run SQL, apply migrations, read logs and advisor warnings, and manage Edge Functions and branches. You sign in with your Supabase account, and URL options keep it to one project (project_ref), to a read-only Postgres user (read_only=true) or to chosen tool groups (features). Supabase itself warns about prompt injection and says to connect to production only when a task needs it.
Who is Supabase MCP for?
- Developers building apps on Supabase
- Solo founders and vibe coders
- Teams debugging a Supabase backend
What can you ask Supabase MCP to do?
Once it is connected, ask in plain words. Your AI tool decides when to use the server and asks before it changes anything important.
List the tables in my project and point out any that have row level security turned off.Create a migration that adds a profiles table linked to auth users, then apply it.Check the advisors for security warnings and explain how to fix the top three.How to connect Supabase to Claude
MCP is an open standard. The setup steps below cover this server in Claude Code, Claude app, Codex, ChatGPT, Cursor, VS Code, Gemini CLI, Antigravity, OpenCode, Windsurf. Pick your tool:
New to MCP? Read what an MCP server is and how to add one.
Connect the Supabase MCP server to Claude Code for me: run this command: claude mcp add --scope project --transport http supabase "https://mcp.supabase.com/mcp"
If a value starts with YOUR_, ask me for it first. When it is connected, help me sign in if needed and show me one thing I can ask it to do.Or do it yourself:
claude mcp add --scope project --transport http supabase "https://mcp.supabase.com/mcp"Type /mcp inside Claude Code, pick the server and choose Authenticate to sign in.
Hosted address: https://mcp.supabase.com/mcp
Unlock the setup steps
Free. Leave your email once to open the setup steps for all 152 servers, and get the best new connectors each month.
Good to know
Run /mcp in Claude Code to sign in (from a regular terminal, not the IDE extension). Add ?project_ref=YOUR_PROJECT_REF&read_only=true to the URL to keep it to one project in read-only mode. For local development the Supabase CLI serves the same server at http://localhost:54321/mcp.
How did we check Supabase MCP?
Checked on November 8, 2026: Supabase's MCP guide and the supabase/mcp repo (Apache-2.0, 3,001 stars, release mcp-server-supabase-v0.16.1 on November 6, 2026). A test MCP initialize request to the hosted endpoint returned HTTP 401 (no access token), the expected answer before sign-in.
What do people ask about Supabase MCP?
Is it safe to connect the Supabase MCP server to production?
Supabase says to connect to production only when a task needs it, and then to use project scoping, read_only=true and narrow queries. Its main warning is prompt injection: text stored in your data, such as a support ticket, could trick the model into running other queries, so keep manual approval of tool calls on and keep secrets out of prompts.
Can Claude create paid Supabase resources?
Only after you agree. create_project and create_branch show a cost confirmation with the resource, its standard rate and the billing interval, and nothing is charged unless you accept. Branching needs a paid plan.
Which Supabase tool groups can I turn on or off?
Database, Debugging, Development, Edge Functions, Account management, Docs, Branching, Feedback and Notebooks (hosted only), plus Storage, which is off by default. List the groups you want with features= in the URL; account tools disappear when you scope it to one project.
Does it work with a local Supabase project?
Yes. The Supabase CLI serves the MCP server at http://localhost:54321/mcp for local development; notebooks are the one group not available there.
We wrote these answers from the official pages of each product named, read on November 8, 2026.
More database servers
Building a site around tools like Supabase? Our Builders course, in early access, covers planning, design without a designer, launch and getting found on Google.