mcp postgres for Windsurf
io.github.dockndevai/mcp-postgres
PostgreSQL schema exploration, read-only SQL & governed changes for AI agents.
client:Windsurf
transport:stdio
runtime:npm
Install mcp postgres in Windsurf
~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"mcpServers": {
"mcp-postgres": {
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-postgres"
],
"env": {
"POSTGRES_URL": "<POSTGRES_URL>",
"POSTGRES_MODE": "<POSTGRES_MODE>",
"POSTGRES_SCHEMA_ALLOWLIST": "<POSTGRES_SCHEMA_ALLOWLIST>"
}
}
}
}
Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs