mcp postgres for Zed
io.github.dockndevai/mcp-postgres
PostgreSQL schema exploration, read-only SQL & governed changes for AI agents.
client:Zed
transport:stdio
runtime:npm
Install mcp postgres in Zed
~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json
{
"context_servers": {
"mcp-postgres": {
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-postgres"
],
"env": {
"POSTGRES_URL": "<POSTGRES_URL>",
"POSTGRES_MODE": "<POSTGRES_MODE>",
"POSTGRES_SCHEMA_ALLOWLIST": "<POSTGRES_SCHEMA_ALLOWLIST>"
}
}
}
}
Merge this into your existing settings object — do not replace the file. Zed docs