Postgres AIops
by AIops-tools
Governed PostgreSQL DBA analysis and maintenance over MCP, with audit logging, dry-run controls, budgets, and undo recording.
Install Postgres AIops
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"aiops-tools-postgres-aiops": {
"command": "uvx",
"args": [
"postgres-aiops"
],
"env": {
"POSTGRES_AIOPS_MASTER_PASSWORD": "YOUR_VALUE_HERE",
"POSTGRES_AIOPS_HOME": "YOUR_VALUE_HERE",
"POSTGRES_RUNAWAY_MAX": "YOUR_VALUE_HERE",
"POSTGRES_MAX_TOOL_CALLS": "YOUR_VALUE_HERE",
"POSTGRES_MAX_TOOL_SECONDS": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
claude mcp add --env POSTGRES_AIOPS_MASTER_PASSWORD=YOUR_VALUE_HERE --env POSTGRES_AIOPS_HOME=YOUR_VALUE_HERE --env POSTGRES_RUNAWAY_MAX=YOUR_VALUE_HERE --env POSTGRES_MAX_TOOL_CALLS=YOUR_VALUE_HERE --env POSTGRES_MAX_TOOL_SECONDS=YOUR_VALUE_HERE --transport stdio aiops-tools-postgres-aiops -- uvx postgres-aiopsRun in your terminal. Add --scope project to share it with your team through .mcp.json.
We couldn’t confirm it starts correctly
We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.
uvx postgres-aiopsProcess exited before answering initialize.
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .
Overview
Use cases
- Investigate slow PostgreSQL queries with cited metrics and optional plans
- Rank table bloat and determine whether vacuum or autovacuum tuning is needed
- Trace blocking lock chains and identify root blockers
- Review replication, WAL, index, and activity status
- Preview and audit guarded PostgreSQL maintenance operations
Key features
- 35 MCP tools covering PostgreSQL reads, analyses, writes, and undo
- Slow-query, bloat/vacuum, and blocking-lock RCA
- Unified audit database for MCP and CLI calls
- Dry-run previews and before-state undo recording
- Encrypted credential storage with Fernet and scrypt
- Runaway-call and optional budget guards
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 17d ago via OSV.dev · postgres-aiops (PyPI)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Postgres AIops works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Postgres AIops
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/aiops-tools-postgres-aiops)<a href="https://allmcps.com/mcp/aiops-tools-postgres-aiops"><img src="https://allmcps.com/api/badge/aiops-tools-postgres-aiops?style=directory" alt="Postgres AIops on AllMCPs" /></a>