PTS security notes / MCP servers / Supabase MCP server

Is Supabase MCP server safe to install?

By PTS · Based on public source as of December 5, 2026

Short answer

It can run SQL and apply migrations on your Supabase project, and, at account level, create and pause projects. The README documents limits you should set: read_only=true, project_ref=<ref> and features=... in the server URL. Point it at a development branch, not your production database.

What it is

The Supabase MCP server connects agents to Supabase. It offers database, docs, account, branching, edge function and storage tools through a hosted endpoint or a local package.

Maintainer
Official (vendor)supabase on GitHub (organisation account, project of the same name)
Source
supabase/mcp3,036 GitHub stars · Apache-2.0 licence
Transport
Streamable HTTP (hosted), stdio (npm package)Hosted endpoint: https://mcp.supabase.com/mcp
Packages
@supabase/mcp-server-supabase npm · latest 0.21.0 · 933,450 downloads last month
Latest release
mcp-utils: v0.11.1 2026-11-26
Public advisories
0GitHub and OSV, as of December 5, 2026

What it can do

Read from the public tool definitions in the source, not from a live run. A capability marked "yes" means at least one tool can do it.

Executing SQL means the agent can read or change your data and schema to the extent your project role permits.

ToolWhat it can doNotes
execute_sqlReads, Writes, DeletesRuns SQL on the project database.
apply_migrationWrites, DeletesApplies schema migrations.
deploy_edge_functionRuns code, WritesDeploys an edge function.
create_projectWritesAccount-level. Can confirm cost.
pause_projectWritesAccount-level.
delete_branchDeletes
merge_branchWrites
reset_branchWrites, Deletes
update_storage_configWrites
list_tablesReads
get_logsReads
get_advisorsReads
search_docsNetwork

Tool names found in packages/mcp-server-supabase. Feature groups can be switched on and off with `features`.

Credentials and least privilege

The access you grant at login defines what the tools can do.

CredentialWhat it is forLeast privilege
Supabase login (OAuth) or SUPABASE_ACCESS_TOKENAuthenticates to the Supabase management API.Scope the server to one project with project_ref, use read_only=true, and use a development project or branch.

Public security advisories

No published security advisory was listed for this project on GitHub or OSV as of December 5, 2026. That only means none had been published. It does not mean the code has been audited.

What stands out

Safe-install checklist

Install command from the project's docs: https://mcp.supabase.com/mcp?project_ref=<project-ref>&read_only=true&features=database,docs.

  1. Pin the version. Use an exact version, not latest: npx -y @supabase/mcp-server-supabase@0.21.0 --read-only --project-ref=<ref>. Scope with project_ref, read_only and features.
  2. Scope the credential. Scope the server to one project with project_ref, use read_only=true, and use a development project or branch.
  3. Use read_only=true and project_ref for every setup, and add features=database,docs to limit the rest.
  4. Connect to a development branch or a local Supabase instance, never to a production project.
  5. Deny the tools you do not need. In Claude Code, deny rules in .claude/settings.json use the form mcp__<server name>__<tool>, where the server name is whatever you called it in your config. Example, if you named it supabase-mcp:
    {
      "permissions": {
        "deny": [
          "mcp__supabase-mcp__execute_sql",
          "mcp__supabase-mcp__apply_migration",
          "mcp__supabase-mcp__deploy_edge_function",
          "mcp__supabase-mcp__create_project",
          "mcp__supabase-mcp__pause_project",
          "mcp__supabase-mcp__delete_branch",
          "mcp__supabase-mcp__merge_branch",
          "mcp__supabase-mcp__reset_branch"
        ]
      }
    }
  6. Snapshot the tool list. Save the tools/list output right after you install, then compare it before every upgrade with the free PTS MCP tool diff checker. It runs in your browser and flags new tools and changed descriptions or schemas.
  7. Watch for fixes. Watch the project's security advisories and upgrade on purpose, after the diff.

For the general version of this list, see the MCP server security checklist. Not sure about a server that is not listed here? Read Is an MCP server safe to install?

Quick follow-ups

What can Supabase MCP server do on my machine or accounts?

Based on its public tool definitions, it can: reads local files or data; creates or changes files, records or settings; deletes or destroys data; runs commands, scripts or code; reaches the open web or a third-party service beyond the account you connect it to. Executing SQL means the agent can read or change your data and schema to the extent your project role permits.

Does Supabase MCP server need a token or API key?

Yes, depending on setup: Supabase login (OAuth) or SUPABASE_ACCESS_TOKEN. The access you grant at login defines what the tools can do.

Has Supabase MCP server had public security advisories?

No published advisory was listed for it on GitHub or OSV as of December 5, 2026. That is not proof it has no issues, only that none had been published.

How do I keep Supabase MCP server from changing under me?

Pin the version, for example npx -y @supabase/mcp-server-supabase@0.21.0 --read-only --project-ref=<ref>. Then save its tool list (name, description, input schema) with the free PTS MCP tool diff checker and compare it before each upgrade.

Sources

This page is a factual summary of public information about the software. It is not a verdict on the maintainers and not an audit. Check the project's own docs for your version before you rely on it. Educational, not legal or security advice.

Get the free checklist

A 9-page worksheet plus starter files for Claude Code and Codex. It maps what your agent can reach and shrinks it. Download it on Gumroad. This site does not collect email.

Get the free checklist

Before you install anything, try the MCP tool diff checker. See all 54 servers.

More server pages