Supabase MCP Server

# Supabase MCP Server <p align="center"> <picture> <source media="(prefers-color-scheme: dark)"

Remote serverstreamable-httpPython

What is the Supabase MCP Server?

Supabase MCP Server <source media="(prefers-color-scheme: dark)" srcset="https://github.com/user-attachments/assets/4a363bcd-7c15-47fa

Configuration and credentials

Installing the server requires the following on your system: - Python 3.12+ If you plan to install via uv, ensure it's installed.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
safeRead-only operations (SELECT) - always allowed
writeData modifications (INSERT, UPDATE, DELETE) - require unsafe mode
destructiveSchema changes (DROP, CREATE) - require unsafe mode + confirmation
get_schemasLists schemas with sizes and table counts
get_tablesLists tables, foreign tables, and views with metadata
get_table_schemaGet

How to install the Supabase MCP Server

{
  "mcpServers": {
    "supabase-mcp-server-niell007": {
      "command": "uvx",
      "args": ["supabase-mcp-server"],
      "env": {
        "SUPABASE_PROJECT_REF": "your-value",
        "SUPABASE_DB_PASSWORD": "your-value",
        "SUPABASE_REGION": "your-value",
        "SUPABASE_ACCESS_TOKEN": "your-value",
        "SUPABASE_SERVICE_ROLE_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

Installing the server requires the following on your system: - Python 3.12+ If you plan to install via uv, ensure it's installed.

VariableDescriptionRequired
SUPABASE_PROJECT_REFConfiguration value read at startup.Optional
SUPABASE_DB_PASSWORDConfiguration value read at startup.Optional
SUPABASE_REGIONConfiguration value read at startup.Optional
SUPABASE_ACCESS_TOKENCredential the server authenticates with.Yes
SUPABASE_SERVICE_ROLE_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use Supabase to Cursor.”
  • “Use Supabase to Cline.”
  • “Use Supabase to Three.”

Frequently asked questions

No. The server supports only official Supabase.com hosted projects and local development (using the Supabase CLI on `127.0.0.1:54322`).