ToolAha
Explore / Coding / Supabase MCP Server
github.com

Supabase MCP Server

Connect AI coding assistants to Supabase Postgres schemas, TypeScript type generation, logs, and scoped migrations.

Resource information

Quick Client Config Template (derived from official docs)

Verify package arguments against the linked official docs and replace <YOUR_...> placeholders with least-privilege credentials.

{
  "mcpServers": {
    "supabase": {
      "command": "npx",
      "args": [
        "-y",
        "@supabase/mcp-server-supabase"
      ],
      "env": {
        "SUPABASE_ACCESS_TOKEN": "<YOUR_SUPABASE_ACCESS_TOKEN>"
      }
    }
  }
}
Read scope: List projects, inspect Postgres schemas/tables, generate TypeScript types, and read logsWrite / execution scope: Execute SQL migrations or edge-function operations unless `--read-only` flag is enabled
Resource type
MCP
AI relationship
AI native
Repository subpath
Not verified
License
Apache-2.0
License classification
Verified Open Source
License verified date
2026-11-27
License review findings
Reviewed upstream Apache-2.0 license file in the official repository on 2026-11-27.
Verification status
Official statement reviewed
Last verified (UTC)
2026-11-27
Maintainer
Supabase
Official / community
Official
Transport
  • stdio
  • streamable_http
Authentication (instructions only)
Environment token(s): SUPABASE_ACCESS_TOKEN
Required environment (variable names only, no keys)
  • SUPABASE_ACCESS_TOKEN
Dependencies
  • Node.js / npx or Python uvx per README
Agents / clients and compatibility evidence
  • Claude Code · Official statement reviewed · 2026-11-27 · https://github.com/supabase-community/supabase-mcp
  • Claude Desktop · Official statement reviewed · 2026-11-27 · https://github.com/supabase-community/supabase-mcp
  • Cursor · Official statement reviewed · 2026-11-27 · https://github.com/supabase-community/supabase-mcp
Available tools
  • list_tables
  • execute_sql
  • apply_migration
  • generate_typescript_types
  • get_logs
Available resources
  • Documented workspace or service context exposed over MCP
Read permissions
  • List projects, inspect Postgres schemas/tables, generate TypeScript types, and read logs
Write permissions
  • Execute SQL migrations or edge-function operations unless `--read-only` flag is enabled
Setup instructions
  • npx -y @supabase/mcp-server-supabase@latest --read-only --project-ref=<PROJECT_REF>
  • Scope credentials to the minimum workspace or project required before enabling tool calls.
Reference price
Pricing not verifiedSee official plans
Free access
Not verifiedQuota and limits apply
API
Not verifiedDeveloper terms may differ
Card for free / trial
Not verifiedOfficial information only
01 / ABOUT

What it does

`@supabase/mcp-server-supabase` connects Claude Code, Cursor, and Windsurf to your Supabase projects with built-in `--read-only` and `--project-ref` scoping flags so agents can inspect schemas, generate TypeScript types, and debug Postgres logs safely.

02 / CAPABILITIES

Features

  • 01

    First-class `--read-only` and `--project-ref` CLI flags for least-privilege database inspection

  • 02

    Generates accurate TypeScript types directly from live Postgres table definitions

  • 03

    Reads Postgres, Auth, and Edge Function logs for faster debugging

03 / USE CASES

Who it is for

  • Keeping frontend TypeScript types synchronized with a staging Supabase branch
  • Writing SQL queries and RLS policies against real schema metadata

These scenarios and steps are editorial guidance based on the official product scope, not independent hands-on results.

PLAN NOTES

Plans, quotas & access

How to read these conditions

A reference plan, not a complete price comparison. API billing, region, taxes and annual payment may differ. Official documentation review does not confirm a hands-on card or checkout test.

Pricing model

Not verifiedNot verified
View evidence · Pricing model

The official page does not provide enough evidence for this condition.

Plan price

Pricing not verifiedNot verified
View evidence · Plan price

The official page does not provide enough evidence for this condition.

Free access and quota

Not verifiedNot verified
View evidence · Free access and quota

The official page does not provide enough evidence for this condition.

Official API

UnknownNot verified
View evidence · Official API

The official page does not provide enough evidence for this condition.

Card for free / trial

UnknownNot verified
View evidence · Card for free / trial

The official page does not provide enough evidence for this condition.

04 / GETTING STARTED

Getting started

  1. Read the official setup guide at https://github.com/supabase-community/supabase-mcp#readme

  2. npx -y @supabase/mcp-server-supabase@latest --read-only --project-ref=<PROJECT_REF>

  3. Test read-only queries first and verify permission prompts in your MCP host.

These scenarios and steps are editorial guidance based on the official product scope, not independent hands-on results.

05 / CONSIDERATIONS

What to watch out for

  • Always pass `--read-only` and point `--project-ref` at a development/branch database rather than live customer data
  • Prompt injection inside untrusted database rows is a documented risk—avoid querying untrusted user text with write tools enabled

Evidence & updates

Official product information was reviewed. ToolAha has not claimed an independent hands-on test.

Profile reviewed: 2026-11-27 · Version 3

Report a change

Something changed?

Direct alternatives

Resources of the same type and use case; review their scope before choosing.

View similar tools

Related resources

Context-engine AI coding platform built for navigating and editing large production codebases across IDEs and CLI.

Tools / Apps
WebsiteFree & paid plans · see official plans

Pragmatic software engineering skills (`grill-me`, TDD, PRD/spec Breakdown, structured code review) curated by Matt Pocock.

Skill
WebsiteSKILL.md Skill

Official Anthropic skill (`anthropics/skills`) guiding agents to design, implement, annotate, and evaluate clean MCP servers.

Skill
WebsiteSKILL.md Skill