What is the pgops MCP server?
Safe, audited PostgreSQL operations for AI agents: queries, migrations, EXPLAIN, containers
How to install pgops
Copy-paste configuration for popular MCP clients.
PGOPS_DSNrequiredsecretPostgreSQL connection string for the database to operate on.
PGOPS_READONLY_DSNsecretOptional separate DSN for the read-only pool. Use a role with no write grants to enforce read-only at the database rather than only in the server.
PGOPS_READ_ONLYSet to 1 to withhold every mutating tool. Write tools are not registered at all, so an agent cannot call them.
PGOPS_APPROVAL_MODESet to 1 to register container.restart and container.exec. Off by default: Docker socket access is root-equivalent on the host.
PGOPS_AUDIT_LOGPath to the append-only JSONL audit log.
PGOPS_DEFAULT_TIMEOUT_MSStatement timeout applied to every query unless a tool call overrides it.
PGOPS_MAX_TIMEOUT_MSCeiling a caller-supplied timeout is clamped to.
PGOPS_DEFAULT_ROW_LIMITRows returned by query.read when the caller does not specify a limit.
Related MCP servers

io.github.asadullokhn/teztun
Manage TezTun tunnels, subdomains, and service tokens from any MCP-compatible AI client.

Renology Renovation Cost Data
Read-only 2026 city renovation cost ranges with sources, limitations, and citation guidance.

Leteo
Persistent memory for AI coding agents: one Rust binary, one local SQLite database.

Live cricket incl. US Minor League, Kalshi prices, and a win model fitted on 10,847 matches.

Check prices by dog size, see openings, and book a mobile dog wash in San Jose + South Bay

Check availability and book a free consult for Bay Area senior/disabled meal-prep delivery