Skip to main content

Postgres (read-only transactions)

io.github.Poudel0/postgres-mcp-safe

v0.1.3Updated Nov 3, 2026stdio · npmstdio · Docker

Drop-in replacement for @modelcontextprotocol/server-postgres that is actually read-only.

Install

Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add postgres-mcp-safe -- npx -y [email protected] '<your-postgresql-url>'

Configuration

1 setting.

  • postgresql_url
    Argument· required
    Postgres connection URL. Use a read-only role.

Listed in the official MCP Registry since Nov 3, 2026. Mirrored daily; last checked Nov 26, 2026.