Postgres DBA MCP for Cursor
io.github.a-lafon/postgres-dba-mcp
Bounded, read-only PostgreSQL access for AI assistants: nine DBA tools, compact CSV output
client:Cursor
transport:stdio
runtime:oci
Install Postgres DBA MCP in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"postgres-dba-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/a-lafon/postgres-dba-mcp:0.3.3"
],
"env": {
"DATABASE_URI": "<DATABASE_URI>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs