servers/ database/ pgops
pgops icon

pgops

Unverified Claim & verify → Database

Safe, audited PostgreSQL operations for AI agents: queries, migrations, EXPLAIN, containers.

View on GitHub ↗
Overview Installation

Overview

pgops is a Model Context Protocol server that brings safe, audited PostgreSQL operations to AI agents. It handles queries, migrations, EXPLAIN analysis, and container operations through a set of callable tools that integrate directly with your AI assistant instead of requiring manual copy-paste workflows.

The server runs locally via the Python package pgops-mcp, installed through uvx. You'll need to provide a PostgreSQL connection string through the PGOPS_DSN environment variable, along with an API key for authentication. The latest release is v0.1.7, published under the MIT license with source code available at arzharch/pgops-mcp on GitHub.

pgops is listed in the Database category on mcp.site and works with MCP clients including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, and Zed. If you maintain pgops, claim this listing to verify ownership and keep the information current.

▸PyPI package — pgops-mcp · MCP over stdio
▸Docker image — ghcr.io/arzharch/pgops-mcp:0.1.7 · MCP over stdio
▸Credentials — Requires PGOPS_DSN
▸Open source — MIT license · arzharch/pgops-mcp

Installation

// claude_desktop_config.json
{
  "mcpServers": {
    "pgops": {
      "command": "uvx",
      "args": [
        "pgops-mcp"
      ],
      "env": {
        "PGOPS_DSN": "<pgops-dsn>"
      }
    }
  }
}

Requires PGOPS_DSN

Related servers

SM
Supabase MCP
Database Remote

Manage Supabase projects, databases, auth, storage, and SQL workflows from AI agents.

★ 9.8k Updated 9h ago →
ME
Medplum
Database Remote

FHIR-native healthcare data platform tools for AI agents.

★ 2.5k Added 2 weeks ago →
RD
RE Data Refinery
Database

Clean, join, and reshape datasets with natural-language steps.

Added 13 hours ago →
EH
EOSL.ai — Hardware End-of-Life Database
Database Remote

Hardware end-of-life dates by part number, each linked to the vendor's own bulletin.

Added 1 month ago →
FI
Fincontext
Database Remote

Read-only bank & investment accounts via Plaid: balances, holdings, transactions, SQL analytics.

Added 1 month ago →
Dbmcp icon
Dbmcp
Database

Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite with PII redaction and write-prevention.

★ 30 Added 1 month ago →
>_ esc
↑↓ navigate↵ openesc close