Skip to content
AI Dev Toolkit.
Esc
  • Loading…

MCP server · Cloud and DevOps

Supabase MCP server

The Supabase MCP server is Supabase’s official, hosted MCP server. It lets an assistant list tables, run SQL and migrations, read logs, deploy Edge Functions and search the docs. It runs remotely at https://mcp.supabase.com/mcp with OAuth sign-in; add read_only=true to the URL when the agent only needs to read.

Maintainer
Supabase (official)
Licence
Apache-2.0
Runs
Remote (URL)
Sign-in
OAuth sign-in in the app
Registry version
0.21.0 (updated 2026-11-26)
Last activity
2026-10-14

Overview

What can the Supabase MCP server do?

The Supabase MCP Server is a hosted endpoint at mcp.supabase.com. Your client opens a browser window, you sign in to Supabase and pick the organisation to share, and no personal access token is needed. The URL takes query parameters: project_ref scopes the server to one project, read_only=true removes mutating tools, and features= limits which tool groups load. The dashboard has a URL builder that fills these in for you. Local Supabase CLI and self-hosted setups offer a smaller tool set without OAuth.

Tools are grouped into Database, Debugging, Development, Edge Functions, Account management, Docs, Branching (paid plans) and Storage (off by default). An agent can inspect schemas, apply migrations, query logs, fetch security and performance advisors and generate TypeScript types. Cost and destructive SQL confirmations appear when your client supports MCP elicitation, but Supabase treats them as a guardrail rather than a guarantee.

Tools

Tools it gives the assistant

  • Database: list tables, extensions and migrations, apply migrations, execute SQL
  • Debugging: query project logs and get security and performance advisors
  • Development: get project URL and publishable keys, generate TypeScript types
  • Edge Functions: list, read and deploy functions
  • Account management: list, create, pause and restore projects
  • Docs: search the Supabase documentation
  • Branching (paid plans): create, merge, reset and rebase branches

Install

How do I install Supabase MCP in Claude Code, Cursor or VS Code?

You need:

  • A Supabase account

Run in your project. --scope local keeps the servers private to you in this project; use user for every project.

Terminal
claude mcp add --scope local --transport http supabase https://mcp.supabase.com/mcp
  • supabase: sign in when the app asks (run /mcp in Claude Code).

Need another app? Open Supabase MCP Server in the MCP config generator for a shared project .mcp.json, Devin, or several servers at once; it writes one file per app. The snippets follow the setup in the server’s README, checked on 2026-10-14.

Is the Supabase MCP server safe? Check before you install

  • execute_sql and apply_migration can change or delete data; add read_only=true to the URL when the agent only needs to read.
  • Add project_ref=<project-ref> to the URL to scope the server to one project and hide account-level tools such as create_project.
  • Supabase advises reading its security best practices first and connecting to development data rather than production.
  • A remote server sees whatever the assistant sends it. Sign in with the narrowest access the service offers. See how to choose a safe server.

FAQ

Supabase MCP questions

Is the Supabase MCP server official?

Yes. Supabase publishes and maintains it, under the Apache-2.0 licence. Install it only from the source linked on this page, not from a copy in another directory.

Is Supabase MCP server remote or local?

Remote. Your MCP app connects to https://mcp.supabase.com/mcp over HTTP, so nothing runs on your machine and the service sees the requests the assistant sends.

Does Supabase MCP server need an API key or account?

Yes, a sign-in. Your MCP app opens an OAuth sign-in to the service the first time it connects, and the server then acts with that account’s permissions. You also need: A Supabase account.

Why it’s listed

Why we list it

Supabase’s own server, with clear read-only and project-scoping switches and frequent releases.

Related

All MCP serversMCP config generatorGuide: MCP servers in Claude CodeGuide: what is MCP?