MCP server

pgops

io.github.arzharch/pgops-mcp

MCP server Not tested

Get a review See pricing

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

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/io.github.arzharch/pgops-mcp.svg?lang=en)](https://latlas.dev/en/mcp/io.github.arzharch/pgops-mcp)
HTML
<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

Listed on L’Atlas

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”.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.arzharch/pgops-mcp.svg?lang=en)](https://latlas.dev/en/mcp/io.github.arzharch/pgops-mcp)
HTML
<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.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport not listeddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Local launch of package pgops-mcp (PyPI). Formats taken from each client’s documentation.

Claude Code
claude mcp add-json pgops-mcp '{"command":"uvx","args":["pgops-mcp==0.1.9"]}'
Claude (claude.ai, Claude Desktop, Cowork)claude_desktop_config.json (macOS : ~/Library/Application Support/Claude/ ; Windows : %APPDATA%\Claude\ ; Linux : ~/.config/Claude/)
{
  "mcpServers": {
    "pgops-mcp": {
      "command": "uvx",
      "args": ["pgops-mcp==0.1.9"]
    }
  }
}
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "pgops-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": ["pgops-mcp==0.1.9"]
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "pgops-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": ["pgops-mcp==0.1.9"],
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "pgops-mcp": {
      "command": "uvx",
      "args": ["pgops-mcp==0.1.9"]
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "pgops-mcp": {
      "command": "uvx",
      "args": ["pgops-mcp==0.1.9"]
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.pgops-mcp]
command = "uvx"
args = ["pgops-mcp==0.1.9"]

Declared environment variables

NameRequiredDescription
PGOPS_DSNyes (secret)PostgreSQL connection string for the database to operate on.
PGOPS_READONLY_DSNno (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_ONLYnoSet to 1 to withhold every mutating tool. Write tools are not registered at all, so an agent cannot call them.
PGOPS_APPROVAL_MODEnoSet to 1 to register container.restart and container.exec. Off by default: Docker socket access is root-equivalent on the host.
PGOPS_AUDIT_LOGnoPath to the append-only JSONL audit log.
PGOPS_DEFAULT_TIMEOUT_MSnoStatement timeout applied to every query unless a tool call overrides it.
PGOPS_MAX_TIMEOUT_MSnoCeiling a caller-supplied timeout is clamped to.
PGOPS_DEFAULT_ROW_LIMITnoRows 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

Markdown
[pgops — L’Atlas](https://latlas.dev/en/mcp/io.github.arzharch/pgops-mcp)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.