Cette page est affichée en anglais. Une traduction française est en cours.
← MCP Hub MCP Configs May 12, 2026 · 3 min de lecture
MCP-PostgreSQL-Ops — PostgreSQL DBA MCP (30+ tools) Give Claude Desktop/Claude Code a PostgreSQL DBA toolbox (30+ tools) for locks, bloat, autovacuum, and stats. Works on PG 12–18; stdio or HTTP transport.
Prêt pour agents
Staging sûr pour cet actif Cet actif est d'abord staged. Le prompt copié demande à l'agent d'inspecter les fichiers staged avant d'activer scripts, config MCP ou config globale.
Stage only · 27/100 Policy : staging
Surface agent
Tout agent MCP/CLI
Confiance
Confiance : Established
Point d'entrée
pip install mcp-postgresql-ops && mcp-postgresql-ops --help
Commande de staging sûr
npx -y tokrepo@latest install fb948ce5-cb80-5f54-858e-e005011db6f4 --target codexStage les fichiers d'abord; l'activation exige la revue du README et du plan staged.
⧉ Copier pour l'agent
Introduction
MCP-PostgreSQL-Ops exposes a PostgreSQL operations toolkit to MCP clients so your agent can inspect health, diagnose performance, and answer “what’s happening in the DB?” without hand-written SQL.
Best for: DBA-on-call workflows, incident triage, and agent-assisted database visibility
Works with: PostgreSQL 12–18; MCP clients (Claude Desktop/Claude Code/Cursor); stdio or HTTP transport
Setup time: 10–15 minutes
Key facts (verified)
README claims 30+ DBA tools, including locks/deadlocks, bloat, autovacuum, and schema inspection.
Supports transport stdio (default) or streamable-http per README options table.
GitHub: 150 stars · 24 forks; pushed 2026-05-11 (GitHub API verified).
Main
A practical pattern is to pair “symptom → evidence → next action”:
Symptom: “queries are slow” → Evidence: locks, bloat, vacuum stats, IO stats → Next action: index/vacuum/tuning.
Keep the MCP server read-only at first (no writes) and rotate DB credentials like any other operational secret.
For teams, prefer a dedicated DB role with least privilege; the agent only needs catalog/stat views for most diagnostics.
README excerpt (verbatim)
MCP Server for PostgreSQL Operations and Monitoring
Architecture & Internal (DeepWiki)
Features
✅ Zero Configuration : Works with PostgreSQL 12-18 out-of-the-box with automatic version detection.
✅ Natural Language : Ask questions like "Show me slow queries" or "Analyze table bloat."
✅ Production Safe : Read-only operations, RDS/Aurora compatible with regular user permissions.
✅ Extension Enhanced : Optional pg_stat_statements and pg_stat_monitor for advanced query analytics.
✅ Comprehensive Database Monitoring : Performance analysis, bloat detection, and maintenance recommendations.
✅ Smart Query Analysis : Slow query identification with pg_stat_statements and pg_stat_monitor integration.
✅ Schema & Relationship Discovery : Database structure exploration with detailed relationship mapping.
✅ VACUUM & Autovacuum Intelligence : Real-time maintenance monitoring and effectiveness analysis.
✅ Multi-Database Operations : Seamless cross-database analysis and monitoring.
FAQ
Q: Which PostgreSQL versions are supported?
A: README states PG 12–18 with version-aware tools.
Q: How does it connect to the DB?
A: The README shows configuring host/port/user/password/db via environment variables.
Q: Can it run over HTTP?
A: README options mention streamable-http as an alternative transport to stdio.
Fil de discussion Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.
Actifs similaires PostgreSQL MCP Server — Database Queries for AI MCP server for PostgreSQL database access. Run read-only SQL queries, inspect schemas, list tables, and analyze data directly from Claude Code or Cursor.
MCP Configs
MCP Hub
PostgreSQL MCP — SQL Database Server for AI Agents MCP server that gives AI agents direct access to PostgreSQL databases. Run queries, explore schemas, manage tables, and analyze data through natural language. 3,000+ stars.
MCP Configs
MCP Hub
mcp-server-synology — Synology NAS MCP Server Synology NAS MCP server for file/download ops from Claude Desktop, Cursor, and Continue. Runs via Docker or Python. Verified 98★; pushed 2026-05-14.
MCP Configs
MCP Hub
mcp-server-kubernetes — Kubernetes Ops via MCP MCP server that lets agents run kubectl/Helm workflows against your clusters; works with Claude Code via npx; verified 1390★, pushed 2026-05-03.
MCP Configs
MCP Hub