GitLab PR分析MCPサーバー
このプロジェクトは、GitLabのマージリクエスト分析とConfluenceのドキュメントを統合するMCP(モデル制御プロトコル)サーバーを提供します。これにより、マージリクエストの詳細を取得し、コード変更を分析し、結果をConfluenceページに保存できます。
特徴
- GitLabからマージリクエストの詳細を取得する
- マージリクエストのコード変更を分析する
- 以下を含む詳細なレポートを生成します:
- 基本的なマージリクエスト情報
- コード変更統計
- ファイルタイプ分析
- 詳細なファイルの変更
- 分析結果をConfluenceに保存する
- デバッグのための包括的なログ記録
前提条件
- Python 3.8以上
- APIアクセス可能なGitLabアカウント
- Confluence アカウント(オプション、分析結果の保存用)
- 必要な GitLab プロジェクトへのアクセス
インストール
- リポジトリをクローンします。
- 仮想環境を作成してアクティブ化します。
- 依存関係をインストールします:
または
構成
- サンプル環境ファイルをコピーします。
- 資格情報を使用して
.env
ファイルを編集します。
資格情報の取得
- GitLab トークン: GitLab で
api
スコープを使用して個人アクセス トークンを生成する - Confluenceトークン: Atlassianアカウント設定でAPIトークンを生成します
使用法
- MCP サーバーを起動します。
または
Claude Desktopでのセットアップ
プロジェクト「my-project」からマージリクエスト #1 の詳細を取得できますか?プロジェクト「my-project」のマージリクエスト #1 のコード変更を分析できますか?プロジェクト「my-project」のマージリクエスト #1 の概要を Confluence に保存できますか?
MRConfluenceLinker-mcp-server/ ├── src/ # ソースコードディレクトリ │ └── MRConfluenceLinker-mcp-server/ # メインサーバーパッケージ │ ├── resources/ # リソースモジュール │ │ ├── init .py │ │ ├── client.py # クライアント実装 / GitLab PR 統合 │ ├── server.py # メインサーバー実装 │ └── mcp_server.log # サーバーログ ├── pycache / # Python キャッシュファイル ├── .git/ # Git リポジトリ ├── .gitignore # Git 無視ルール ├── CONTRIBUTING.md # 貢献ガイドライン ├── LICENSE # プロジェクトライセンス ├── README.md # プロジェクトドキュメント ├── pyproject.toml # Python プロジェクト構成 ├── requirements.txt # プロジェクトの依存関係└── uv.lock # 依存関係ロックファイル
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
GitLab のマージ リクエスト分析を Confluence ドキュメントと統合し、ユーザーがマージ リクエストの詳細を取得し、コードの変更を分析し、分析結果を Confluence ページに保存できるようにします。
Related MCP Servers
- -securityFlicense-qualityA custom server implementation that allows AI assistants to interact with GitLab repositories, providing capabilities for searching, fetching files, creating/updating content, and managing issues and merge requests.Last updated -JavaScript
- -securityFlicense-qualityAn MCP server that enables communication with GitLab repositories, allowing interaction with GitLab's API to manage projects, issues, and repositories through natural language.Last updated -201JavaScriptMIT License
- -securityAlicense-qualityGitee API integration, repository, issue, and pull request management, and more.Last updated -28GoMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables interaction with GitLab accounts to manage repositories, merge requests, code reviews, and CI/CD pipelines through natural language.Last updated -412TypeScriptMIT License