MCP-PostgreSQL-Ops
A community MCP server for watching and diagnosing a PostgreSQL server, covering versions 12 to 18.
このサーバーについて
A community MCP server for watching and diagnosing a PostgreSQL server, covering versions 12 to 18. Instead of running arbitrary SQL, it maps questions to a fixed set of read-only queries about active and blocked sessions, slow queries, table bloat, vacuum and autovacuum, unused indexes, replication, WAL, checkpoints, database size and I/O, and it can draw schema relationships. Core tools need no extensions; pg_stat_statements or pg_stat_monitor add query statistics. It runs locally over stdio, as a Claude Desktop extension or with uvx, or as a Streamable HTTP server in Docker for OpenWebUI. The author advises a least-privilege monitoring role.
できること
- Show active connections and blocked sessions
- Find the queries using the most execution time
- Detect table bloat and vacuum needs
- Find unused or inefficient indexes
- Check replication, WAL and checkpoint status
概要
- 公開元
- call518
- ツール
- PostgreSQL
インストール
- すべてのクライアントに追加するには、次のコマンドを実行します:
uvx --python 3.12 mcp-postgresql-ops
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
出典
- README(README.md)github.com/call518/MCP-PostgreSQL-Ops · 根拠となる項目:AIクライアント, データの変更, 接続方式, APIキーまたはサインインが必要2026年11月12日
- ライセンスファイル(LICENSE)github.com/call518/MCP-PostgreSQL-Ops · 根拠となる項目:ライセンス2026年11月12日
- GitHubリポジトリgithub.com/call518/MCP-PostgreSQL-Ops · 根拠となる項目:公式かどうか, 公開元2026年11月12日
- GitHubリポジトリgithub.com/call518/mcp-postgresql-ops · 根拠となる項目:活動状況, ライセンス2026年11月11日
- GitHub APIのレコードgithub.com/call518/MCP-PostgreSQL-Ops2026年11月10日