Skip to content
Cursor

postgres mcp for Cursor

io.github.pgedge/postgres-mcp

Enterprise PostgreSQL MCP server with NL queries, hybrid search (pgvector+BM25), and web UI

client:Cursor transport:stdio runtime:oci

Install postgres mcp in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

{
  "mcpServers": {
    "postgres-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/pgedge/postgres-mcp:latest"
      ]
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

postgres mcp in other clients