Skip to content
Zed

NexQL Postgres MCP for Zed

io.github.nexql-oss/nexql-mcp

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

client:Zed transport:stdio runtime:npm

Install NexQL Postgres MCP in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "nexql-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "nexql-mcp"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "NEXQL_MCP_CONFIG": "<NEXQL_MCP_CONFIG>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

NexQL Postgres MCP in other clients