pgops runs on your own machine — the client starts it, so there is no endpoint to ping. 2 482 installs a week from pypi. Last commit 28 Aug 2026.
Safe, audited PostgreSQL operations for AI agents: queries, migrations, EXPLAIN, containers
We read the source, 13 h ago · rules 3dff92dd89df
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
- name: Create or update the release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add pgops-mcp -- uvx pgops-mcp
{
"mcpServers": {
"pgops-mcp": {
"args": [
"pgops-mcp"
],
"command": "uvx"
}
}
}
[mcp_servers.pgops-mcp]
command = "uvx"
args = ["pgops-mcp"]
{
"mcpServers": {
"pgops-mcp": {
"args": [
"pgops-mcp"
],
"command": "uvx"
}
}
}
{
"mcpServers": {
"pgops-mcp": {
"args": [
"pgops-mcp"
],
"command": "uvx"
}
}
}
Lints PostgreSQL migrations for dangerous locking operations and suggests safe rewrites.
Safe, read-only Postgres and MySQL access for AI agents. Audit log + column-level controls.
Read PostgreSQL EXPLAIN plans for AI agents: bottlenecks, estimation errors, fixes, charts.
Safe-by-default SQL guardrails for AI agents: AST-checked queries, per-table policy, audit log.
Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command.
PostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants
Hosted MCP server for PostgreSQL diagnostics: slow queries, missing indexes, connection pressure.
Database management — query, schema inspection, migrations for PostgreSQL, MySQL, SQLite.
Answers built from our own checks of this server.