PostgreSQL MCP Server for Cursor
io.github.itunified-io/postgres
PostgreSQL MCP Server — 27 tools for queries, schema, CRUD, DBA, HA & server management
client:Cursor
transport:stdio
runtime:npm
Install PostgreSQL MCP Server in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"postgres": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@itunified.io/mcp-postgres"
],
"env": {
"POSTGRES_CONNECTION_STRING": "<POSTGRES_CONNECTION_STRING>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs