Skip to content
Cursor

PostgreSQL MCP Server for Cursor

io.github.neverinfamous/postgres-mcp-server

Enterprise PostgreSQL MCP server with 63 tools, 10 resources, 10 prompts for AI-native operations

client:Cursor transport:stdio runtime:oci

Install PostgreSQL MCP Server in Cursor

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

{
  "mcpServers": {
    "postgres-mcp-server": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/writenotenow/postgres-mcp-enhanced:v1.2.0"
      ]
    }
  }
}

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