Skip to content
Cursor

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

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "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

PostgreSQL MCP Server in other clients