# PostgreSQL (hardened, read-only)

Read-only PostgreSQL over MCP. Writes refused at the parsed SQL, plus a READ ONLY transaction.

- Weekly downloads: 210
- GitHub stars: 3
- Health: active
- Repository: https://github.com/eszetael/postgres-mcp-hardened
- Registry names: io.github.Eszetael/postgres-mcp-hardened
- Categories: Databases & data, Dev tools & GitHub, AI models & media
- Snapshot: 2026-10-29

## Install

```sh
npx -y postgres-mcp-hardened
docker run -i --rm ghcr.io/eszetael/postgres-mcp-hardened:0.1.10
```

```json
{
  "mcpServers": {
    "postgresql-hardened-read-only": {
      "command": "npx",
      "args": [
        "-y",
        "postgres-mcp-hardened"
      ]
    }
  }
}
```

Source: https://mcpmorning.com/mcp/eszetael-postgres-mcp-hardened/

## Transport

stdio
