AI オープンソースレーダー

call518/MCP-PostgreSQL-Ops

AIにPostgreSQLの読み取り専用監視を提供

★ 165 ライセンス: MIT 最終コミット: 0d トランスポート: stdio / http リポジトリ ↗

解決する課題

ない場合、AIはPostgreSQLの遅いクエリやロック、膨張などを直接確認できない。

対応クライアント

インストール

docker compose up -d
docker compose ps --all  # wait for mcp-server to be healthy and init to exit 0
docker compose -f docker-compose.custom-db.yml up -d
uvx --python 3.12 mcp-postgresql-ops --type stdio

設定(コピー可)

{
  "mcpServers": {
    "mcp-postgresql-ops": {
      "command": "uv",
      "args": [
        "run",
        "python",
        "-m",
        "mcp_postgresql_ops"
      ],
      "env": {
        "POSTGRES_HOST": "127.0.0.1",
        "POSTGRES_PORT": "15432",
        "POSTGRES_USER": "postgres",
        "POSTGRES_PASSWORD": "changeme",
        "POSTGRES_DB": "ecommerce"
      }
    }
  }
}
{
  "mcpServers": {
    "Postgresql-A": {
      "command": "uvx",
      "args": [
        "--python",
        "3.12",
        "mcp-postgresql-ops"
      ],
      "env": {
        "POSTGRES_HOST": "a.foo.com",
        "POSTGRES_PORT": "5432",
        "POSTGRES_USER": "postgres",
        "POSTGRES_PASSWORD": "postgres",
        "POSTGRES_DB": "postgres"
      }
    },
    "Postgresql-B": {
      "command": "uvx",
      "args": [
        "--python",
        "3.12",
        "mcp-postgresql-ops"
      ],
      "env": {
        "POSTGRES_HOST": "b.bar.com",
        "POSTGRES_PORT": "5432",
        "POSTGRES_USER": "postgres",
        "POSTGRES_PASSWORD": "postgres",
        "POSTGRES_DB": "postgres"
      }
    }
  }
}
{
  "mcpServers": {
    "mcp-postgresql-ops": {
      "type": "streamable-http",
      "url": "http://your-server:8000/mcp",
      "headers": {
        "Authorization": "Bearer replace-with-a-strong-random-secret"
      }
    }
  }
}

セキュリティ表示

メンテナンス状況

最終コミット2026-12-05(0d)
スター165
未対応 issue0
ライセンスMIT
アーカイブ済みいいえ
データ取得日時2026-12-05

原文抜粋

以下はリポジトリ README の原文です(改変なし)。上の要約と照合できます。

MCP-PostgreSQL-Ops lets Claude, OpenWebUI, and other MCP clients inspect a PostgreSQL server through natural-language questions.

類似プロジェクト