Skip to content
Cursor

NexQL Postgres MCP for Cursor

io.github.nexql-oss/nexql-mcp

Standalone Postgres MCP server — schema-aware, read-only by default, installable everywhere.

client:Cursor transport:stdio runtime:npm

Install NexQL Postgres MCP 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": {
    "nexql-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "nexql-mcp"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "NEXQL_MCP_CONFIG": "<NEXQL_MCP_CONFIG>"
      }
    }
  }
}

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

NexQL Postgres MCP in other clients