MCP Server Studio

Supabase MCP server

MCP server for interacting with the Supabase platform

Registry name: com.supabase/mcp

Publisher
supabase.com
Runs
Local or hosted
Package
npm
Version
0.21.0
Category
Databases
Updated
2026-11-26

Source code on GitHub

Set up Supabase (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@supabase/mcp-server-supabase@0.21.0"
      ],
      "env": {
        "SUPABASE_ACCESS_TOKEN": "<SUPABASE_ACCESS_TOKEN>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add mcp -e SUPABASE_ACCESS_TOKEN='<SUPABASE_ACCESS_TOKEN>' -- npx -y @supabase/mcp-server-supabase@0.21.0

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@supabase/mcp-server-supabase@0.21.0"
      ],
      "env": {
        "SUPABASE_ACCESS_TOKEN": "<SUPABASE_ACCESS_TOKEN>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@supabase/mcp-server-supabase@0.21.0"
      ],
      "env": {
        "SUPABASE_ACCESS_TOKEN": "<SUPABASE_ACCESS_TOKEN>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@supabase/mcp-server-supabase@0.21.0"
      ],
      "env": {
        "SUPABASE_ACCESS_TOKEN": "<SUPABASE_ACCESS_TOKEN>"
      }
    }
  }
}

Set up Supabase (hosted url)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.supabase.com/mcp"
      ]
    }
  }
}

Claude Code

Run in your terminal:

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

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.supabase.com/mcp"
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.supabase.com/mcp"
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://mcp.supabase.com/mcp"
    }
  }
}

Settings

NameRequiredWhat it is
SUPABASE_ACCESS_TOKENYesPersonal access token for Supabase API

More databases MCP servers