Skip to content
Windsurf

db gateway for Windsurf

io.github.sijunkim/db-gateway

145+ tools across 8 databases: MySQL, PostgreSQL, Redshift, MongoDB, Redis, Kafka, and more

client:Windsurf transport:stdio runtime:npm

Install db gateway in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "db-gateway": {
      "command": "npx",
      "args": [
        "-y",
        "db-gateway"
      ],
      "env": {
        "DBS": "<DBS>",
        "READ_ONLY": "<READ_ONLY>",
        "MYSQL": "<MYSQL>",
        "POSTGRESQL": "<POSTGRESQL>",
        "REDSHIFT": "<REDSHIFT>",
        "MONGODB": "<MONGODB>",
        "REDIS": "<REDIS>",
        "ELASTICSEARCH": "<ELASTICSEARCH>",
        "KAFKA": "<KAFKA>",
        "DYNAMODB_REGION": "<DYNAMODB_REGION>",
        "DYNAMODB_ACCESS_KEY_ID": "<DYNAMODB_ACCESS_KEY_ID>",
        "DYNAMODB_SECRET_ACCESS_KEY": "<DYNAMODB_SECRET_ACCESS_KEY>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

db gateway in other clients