Back to Agent Trust Registry
Trusted Publisher — Restrict Write ScopesVerified: 2026-11-27
Supabase icon

Supabase Official MCP

Publisher: Supabase · GitHub / npm (@supabase/mcp-server-supabase)

Bottom Line

Verdict: the official Supabase MCP lets an AI client inspect schemas, run SQL and manage branches, and it ships a --read-only flag plus --project-ref pinning. Use both every time you connect near production data, run migrations on a development branch first, and keep personal access tokens out of shared configuration files.

Official Supabase MCP for schema inspection, read-only SQL diagnostics, and branch management.

Security Audit & Least-Privilege Guidance

Always enable --read-only mode and pin --project-ref when connecting anywhere near production data.

Recommended Use Cases

  • Inspect schemas, debug queries, and verify migrations in staging/dev
Platforms
Cross-platform
License & Activity
Apache-2.0 (2026-11)
GitHub Stars (2026-11-30)
★ 3,031
Official CLI Setup Command
npx -y @supabase/mcp-server-supabase@latest --read-only

Trust & Maintenance Facts

AttributeVerified value
PublisherSupabase
Trust tierofficial vendor
LicenseApache-2.0
Last active2026-11
Source registryGitHub / npm (@supabase/mcp-server-supabase)
Install / accessnpx -y @supabase/mcp-server-supabase@latest --read-only
Verified date2026-11-27

Permission Boundary Matrix

Access level, credential and risk per scope for Supabase Official MCP · verified 2026-11-27
ScopeAccessCredentialHuman approvalRiskNotes
Schema & table inspectionReadSupabase personal access tokenNoLowSafe starting point for documentation and debugging.
SQL executionWriteSupabase personal access tokenYesHighWithout --read-only, the agent can modify or delete rows.
Migrations & branchesWriteSupabase personal access tokenYesHighApply on a development branch, then review before merging.
Project management (create, pause, settings)WriteSupabase personal access tokenYesCriticalPin --project-ref so the agent cannot reach other projects.
Logs & advisorsReadSupabase personal access tokenNoLowUseful for performance and security advisories.

MCP Client Config (Claude Desktop / Cursor)

Generate a personal access token in the Supabase dashboard, copy your project ref from Project Settings, and keep both --read-only and --project-ref in the args. Drop --read-only only for a development branch you can throw away.

{
  "mcpServers": {
    "supabase": {
      "command": "npx",
      "args": [
        "-y",
        "@supabase/mcp-server-supabase@latest",
        "--read-only",
        "--project-ref=YOUR_PROJECT_REF"
      ],
      "env": {
        "SUPABASE_ACCESS_TOKEN": "YOUR_PERSONAL_ACCESS_TOKEN"
      }
    }
  }
}

3 Copy-Paste Operational Prompts

Row Level Security audit

List all tables in the public schema with row counts and whether Row Level Security is enabled. Flag tables without RLS that contain email, address or order data.

Weekly conversion query

Write a read-only SQL query computing weekly signup-to-first-order conversion for the last 8 weeks from tables [users] and [orders], run it, and return the result as a table.

Migration change review

Review migrations applied in the last 30 days and summarize schema changes affecting the orders table. Do not apply new migrations.

Least-Privilege Security Checklist

  1. Always pass --read-only when connecting to a project with real customer data.
  2. Pin --project-ref so the token cannot be used against other projects in your account.
  3. Run schema changes on a development branch and review the diff before merging.
  4. Keep the access token in an environment variable, never committed to a repository.
  5. Enable Row Level Security on every table that holds personal or order data.

Versus Paying for Traditional SaaS

The MCP is free and Apache-2.0 licensed on top of your Supabase plan. For small teams it replaces ad-hoc BI queries and manual schema documentation, not a governed analytics stack with access controls and audit logs.

Who should use it

Use it if

Teams whose custom store backend, order dashboard or SaaS runs on Supabase and who want schema inspection, read-only analytics queries and RLS audits from an AI client.

Skip it if

You cannot keep --read-only and --project-ref in place for production data, or your data lives entirely inside Shopify or Amazon.

Frequently Asked Questions

What does --read-only actually do?

It runs SQL through a read-only database role and disables mutating tools, so the agent can query and inspect but cannot insert, update, delete or apply migrations.

Can I connect it to production?

Only with --read-only and --project-ref set, and ideally against a read replica or a branch. Never give an agent unrestricted write access to production customer data.

Where is the official repository?

The server is published as @supabase/mcp-server-supabase on npm from the supabase-community/supabase-mcp repository, with setup docs on supabase.com.

Is it useful for ecommerce sellers?

Yes, if your store, app or analytics run on Supabase, for example a custom order dashboard. Marketplace-only sellers do not need it.

Is Supabase Official MCP official and actively maintained?

Supabase Official MCP is published by Supabase, which we classify as a official vendor. It is licensed Apache-2.0, last active 2026-11 according to GitHub / npm (@supabase/mcp-server-supabase), and was verified by AI ToolsHub on 2026-11-27.

What permissions does Supabase Official MCP need, and which need human approval?

We map 5 permission scopes, 3 of which should require human approval (sql execution; migrations & branches; project management (create, pause, settings)). The highest-risk scope is “Project management (create, pause, settings)” at Critical risk. See the permission boundary matrix above for credentials and notes.

How We Audit MCP Servers & Agents

Every entry is checked by hand against the same criteria: whether the publisher is the platform vendor or a verified organization, whether source code and license are public, whether it is still maintained, which credentials and permissions it requests, whether write or execution capabilities can be reduced to read-only, and whether known risks such as credential exfiltration or prompt injection apply. Ratings reflect security and permission boundaries, not feature quality, and are never sold.

Report Security or Permission Updates for Supabase Official MCP

Spot outdated pricing, unexpected vendor bills, or unsure what fits your store size? Drop a note below.