Skip to content
Cursor

pgmoat for Cursor

io.github.kitalon-labs-llc/pgmoat

Governed, read-only Postgres access for AI agents: SQL safety, RLS, budgets, tamper-evident audit.

client:Cursor transport:stdio runtime:npm

Install pgmoat 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": {
    "pgmoat": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "pgmoat"
      ],
      "env": {
        "PGMOAT_DATABASE_URL": "<PGMOAT_DATABASE_URL>"
      }
    }
  }
}

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

pgmoat in other clients