Skip to content
Cursor

PostgreSQL MCP Server for Cursor

io.github.neverinfamous/postgres-mcp

PostgreSQL MCP server with 203 tools, connection pooling, HTTP/SSE, OAuth 2.1, and tool filtering

client:Cursor transport:stdio runtime:npm

Install PostgreSQL MCP Server in Cursor

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

{
  "mcpServers": {
    "postgres-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@neverinfamous/postgres-mcp"
      ]
    }
  }
}

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