Skip to content
VS Code

Supabase for VS Code

com.supabase/mcp-server-supabase

Manage Supabase projects from an agent: run SQL, inspect schemas, apply migrations, read logs and deploy edge functions. Scope it to one project and read-only mode where you can.

client:VS Code transport:stdio runtime:npm tools:8

Install Supabase in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "supabase-access-token",
      "description": "SUPABASE_ACCESS_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "mcp-server-supabase": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@supabase/mcp-server-supabase"
      ],
      "env": {
        "SUPABASE_ACCESS_TOKEN": "${input:supabase-access-token}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

What VS Code can do once it is connected

Supabase in other clients