$ timeahead.in
mcp/edelciomolinapostgres-mcp/install/cursor

install @edelciomolina/postgres-mcp on Cursor

Requires Node 18+ on your system so npx can fetch the package on first run. Cursor reloads its MCP servers automatically the moment the file is saved — no restart needed. Paste the config below, then follow the reload step to register @edelciomolina/postgres-mcp.

paste into
global: ~/.cursor/mcp.json
project: .cursor/mcp.json (commit alongside your repo)
{
  "mcpServers": {
    "Postgres Tools": {
      "command": "npx",
      "args": [
        "@edelciomolina/postgres-mcp"
      ],
      "env": {
        "MCP_KEY_HOST": "DB_HOST",
        "MCP_KEY_PORT": "DB_PORT",
        "MCP_KEY_NAME": "DB_NAME",
        "MCP_KEY_SSLMODE": "DB_SSLMODE",
        "MCP_KEY_USER": "DB_USER",
        "MCP_KEY_PASS": "DB_PASS"
      }
    }
  }
}
then: No restart needed — Cursor picks up the change automatically.
other clients
Claude DesktopWindsurfVS Code (Copilot)Claude Code
← back to @edelciomolina/postgres-mcp