pgleash for Windsurf
io.github.mufasil/pgleash
Postgres proxy for AI agents: read-only by default, blocks DROP and unbounded DELETE, caps rows.
client:Windsurf
transport:stdio
runtime:npm
Install pgleash in Windsurf
~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"mcpServers": {
"pgleash": {
"command": "npx",
"args": [
"-y",
"pgleash"
],
"env": {
"PGLEASH_UPSTREAM": "<PGLEASH_UPSTREAM>"
}
}
}
}
Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs