supabase-mcp icon indicating copy to clipboard operation
supabase-mcp copied to clipboard

Local-only mode with no access token

Open icopp opened this issue 8 months ago • 4 comments

Feature request

Is your feature request related to a problem? Please describe.

I want to be able to run the MCP with a local project without any risk that it will affect production environments.

Describe the solution you'd like

Functionality that runs entirely locally when no personal access token is given., based on config.toml.

Describe alternatives you've considered

Creating a separate account just to use for a personal access token, but that would be stupid.

Additional context

n/a

icopp avatar Apr 04 '25 21:04 icopp

For now, in VSCode, you can follow this tutorial and add a generic postgresql MCP instead. Here are my settings: .vscode/mcp.json

{
  "servers": {
    "postgres": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-postgres",
        "postgresql://postgres:postgres@localhost:54322/postgres"
      ]
    }
  }
}

Revadike avatar Apr 11 '25 12:04 Revadike

I second this, @Revadike your example has read-only abilities

rokanost avatar Jul 30 '25 08:07 rokanost

I'll third this as well :-)

jhandel avatar Jul 30 '25 16:07 jhandel

Hey folks this is currently WIP now: https://github.com/supabase-community/supabase-mcp/pull/92

gregnr avatar Aug 04 '25 14:08 gregnr