Skip to content
← All MCP servers

Is the Supabase MCP server safe? What it can reach

What the Supabase MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.

Official serverChecked

Supabase maintains this server and hosts it at mcp.supabase.com. You sign in with browser OAuth, and it acts with your developer rights on your organization’s projects. It can run SQL, apply migrations, deploy Edge Functions and pause projects. Scope it with project_ref and read_only=true in the URL.

Who maintains it

ImplementationKindStatus
supabase/mcp (Supabase’s official server)Officialactive
@supabase/mcp-server-postgrestOfficialdeprecated

It runs as a hosted remote server. The documented endpoint is https://mcp.supabase.com/mcp.

How it signs in

Browser OAuth with dynamic client registration; you pick the organization. The server acts with your developer permissions. CI can use a project-scoped personal access token in the Authorization header.

What its tools can do

KindTools
Readlist_tables, list_extensions, list_migrations, query_logs, get_advisors, get_project_url, get_publishable_keys, generate_typescript_types, list_edge_functions, get_edge_function, list_projects, get_project, list_organizations, get_organization, get_cost, search_docs, list_branches, list_storage_buckets, get_storage_config, list_notebooks, get_notebook
Writeconfirm_cost, create_project, restore_project, create_edge_function_secret, create_branch, update_storage_config, create_notebook, submit_feedback
Can’t be undoneexecute_sql, apply_migration, deploy_edge_function, pause_project, delete_branch, merge_branch, reset_branch, rebase_branch, delete_feedback, delete_notebook, run_notebook

Tools are grouped into feature groups. Account tools are off when project_ref is set, storage is off by default, and branching needs a paid plan. The CLI and self-hosted servers expose a smaller subset.

Built-in limits

OptionWhat it does
read_only=trueURL parameter. Runs queries as a read-only Postgres user and leaves out mutating tools.
project_ref=<id>URL parameter. Limits the server to one project and disables the account tools.
features=<groups>URL parameter. Enables only the listed tool groups, for example database,docs.
Cost confirmationscreate_project and similar spend steps ask you to confirm the cost. The docs say to keep this on.
skip_elicitationsHosted URL parameter that skips confirmation forms for named tools. Leave it unset.

The risks

  • Text stored in your database, such as a support ticket, can carry instructions that steer the model into running SQL against other tables. The docs tell you to keep manual tool-call approval on and review SQL output.
  • execute_sql and apply_migration run with your developer rights, so an injected instruction can change or drop production schema and data.
  • deploy_edge_function and create_edge_function_secret change running code and secrets, and pause_project takes a live project offline.
  • Account tools can create projects that cost money, and the docs say not to hand this server to customers or end users.

Limit it in Claude Code

Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:

claude mcp add --transport http supabase https://mcp.supabase.com/mcp

Claude Code names MCP tools mcp__supabase__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:

{
  "permissions": {
    "deny": [
      "mcp__supabase__pause_project",
      "mcp__supabase__delete_branch",
      "mcp__supabase__reset_branch",
      "mcp__supabase__delete_feedback",
      "mcp__supabase__delete_notebook"
    ],
    "ask": [
      "mcp__supabase__execute_sql",
      "mcp__supabase__apply_migration",
      "mcp__supabase__deploy_edge_function",
      "mcp__supabase__create_edge_function_secret",
      "mcp__supabase__create_project",
      "mcp__supabase__merge_branch",
      "mcp__supabase__run_notebook",
      "mcp__supabase__update_storage_config"
    ]
  }
}

Limit it in Codex

Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:

[mcp_servers.supabase]
url = "https://mcp.supabase.com/mcp"
disabled_tools = ["pause_project", "delete_branch", "reset_branch", "delete_feedback", "delete_notebook"]

Checklist

  • Add ?project_ref=<id>&read_only=true to the server URL.
  • Use features=database,docs if you need nothing else.
  • Point it at a development project or a branch, not production.
  • Review any SQL or migration before you approve it.
  • Keep cost confirmations on.

Checked against the vendor documentation on November 25, 2026. supabase/mcp README · Supabase docs: Model Context Protocol

What Excellent covers

Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server

Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing