
call518/mcp-postgresql-ops
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
call518/mcp-postgresql-opsは、https://github.com/call518/mcp-postgresql-ops.からインポートされたMCPサーバー候補です。
概要
call518/mcp-postgresql-opsは、https://github.com/call518/mcp-postgresql-ops.からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
アーキテクチャと内部(DeepWiki)
概要
MCP-PostgreSQL-Opsは、PostgreSQLデータベースの運用、監視、管理のためのプロフェッショナルなMCPサーバーです。PostgreSQL 12-18をサポートし、包括的なデータベース分析、パフォーマンス監視、自然言語クエリによるインテリジェントな保守推奨を提供します。ほとんどの機能は独立して動作しますが、pg_stat_statementsおよび(オプションで)pg_stat_monitor拡張をインストールすると高度なクエリ解析機能が強化されます。
特徴
- ✅ ゼロ設定:PostgreSQL 12-18を標準で使用し、自動バージョン検出機能。
- ✅ 自然言語:「遅いクエリを見せてください」や「テーブルの膨張分析」などの質問をしてください。
- ✅ 本番安全装置:読み取り専用操作、RDS/Auroraは通常のユーザー権限に対応しています。
- ✅ 拡張強化:高度なクエリ分析用にオプションの
pg_stat_statementsおよびpg_stat_monitor。 - ✅ 包括的なデータベース監視:パフォーマンス分析、膨張検出、保守推奨。
- ✅ スマートクエリ解析:
pg_stat_statementsおよびpg_stat_monitor統合による遅延クエリ識別。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
MCP Server for PostgreSQL Operations and Monitoring
Architecture & Internal (DeepWiki)
Overview
MCP-PostgreSQL-Ops is a professional MCP server for PostgreSQL database operations, monitoring, and management. Supports PostgreSQL 12-18 with comprehensive database analysis, performance monitoring, and intelligent maintenance recommendations through natural language queries. Most features work independently, but advanced query analysis capabilities are enhanced when pg_stat_statements and (optionally) pg_stat_monitor extensions are installed.
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_statementsandpg_stat_monitorfor advanced query analytics. - ✅ Comprehensive Database Monitoring: Performance analysis, bloat detection, and maintenance recommendations.
- ✅ Smart Query Analysis: Slow query identification with
pg_stat_statementsandpg_stat_monitorintegration. - ✅ 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.
インストール
uvx --python 3.12 mcp-postgresql-ops設定
{
"mcpServers": {
"mcp-postgresql-ops": {
"command": "uvx",
"args": ["--python", "3.12", "mcp-postgresql-ops"],
"env": {
"POSTGRES_HOST": "127.0.0.1",
"POSTGRES_PORT": "15432",
"POSTGRES_USER": "postgres",
"POSTGRES_PASSWORD": "changeme!@34",
"POSTGRES_DB": "ecommerce"
}
}
}
}