pgops
io.github.arzharch/pgops-mcp
MCP server Not tested
Safe, audited PostgreSQL operations for AI agents: queries, migrations, EXPLAIN, containers
Technical sheet
- Author
- arzharch (registry namespace)
- Repository
- github.com/arzharch/pgops-mcp
- Site
- —
- Version
- 0.1.9
- Transport
- stdio
- Authentication
- Key or token (declared in the registry)
- Packages
- pgops-mcp 0.1.9 pypi stdio
ghcr.io/arzharch/pgops-mcp:0.1.9 oci stdio - Tools
- —
- Categories
- Databases, AI, agents and memory
- Last updated
- 1 Sept 2026
- Published
- 1 Sept 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 1 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: no successful test not yet
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.arzharch/pgops-mcp)<a href="https://latlas.dev/en/mcp/io.github.arzharch/pgops-mcp"><img src="https://latlas.dev/badge/statut/mcp/io.github.arzharch/pgops-mcp.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded. Latest test not successful: the badge only says “listed”.
[](https://latlas.dev/en/mcp/io.github.arzharch/pgops-mcp)<a href="https://latlas.dev/en/mcp/io.github.arzharch/pgops-mcp"><img src="https://latlas.dev/badge/fiche/io.github.arzharch/pgops-mcp.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
No remote address published: this server runs locally, so we do not test it.
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport not listed | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Local launch of package pgops-mcp (PyPI). Formats taken from each client’s documentation.
claude mcp add-json pgops-mcp '{"command":"uvx","args":["pgops-mcp==0.1.9"]}'{
"mcpServers": {
"pgops-mcp": {
"command": "uvx",
"args": ["pgops-mcp==0.1.9"]
}
}
}{
"mcpServers": {
"pgops-mcp": {
"type": "stdio",
"command": "uvx",
"args": ["pgops-mcp==0.1.9"]
}
}
}{
"mcpServers": {
"pgops-mcp": {
"type": "stdio",
"command": "uvx",
"args": ["pgops-mcp==0.1.9"],
"tools": ["*"]
}
}
}{
"mcpServers": {
"pgops-mcp": {
"command": "uvx",
"args": ["pgops-mcp==0.1.9"]
}
}
}{
"mcpServers": {
"pgops-mcp": {
"command": "uvx",
"args": ["pgops-mcp==0.1.9"]
}
}
}[mcp_servers.pgops-mcp]
command = "uvx"
args = ["pgops-mcp==0.1.9"]Declared environment variables
| Name | Required | Description |
|---|---|---|
| PGOPS_DSN | yes (secret) | PostgreSQL connection string for the database to operate on. |
| PGOPS_READONLY_DSN | no (secret) | Optional 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_ONLY | no | Set to 1 to withhold every mutating tool. Write tools are not registered at all, so an agent cannot call them. |
| PGOPS_APPROVAL_MODE | no | Set to 1 to register container.restart and container.exec. Off by default: Docker socket access is root-equivalent on the host. |
| PGOPS_AUDIT_LOG | no | Path to the append-only JSONL audit log. |
| PGOPS_DEFAULT_TIMEOUT_MS | no | Statement timeout applied to every query unless a tool call overrides it. |
| PGOPS_MAX_TIMEOUT_MS | no | Ceiling a caller-supplied timeout is clamped to. |
| PGOPS_DEFAULT_ROW_LIMIT | no | Rows returned by query.read when the caller does not specify a limit. |
Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
[pgops — L’Atlas](https://latlas.dev/en/mcp/io.github.arzharch/pgops-mcp)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.