MCP GitLab Review Server

by Photosynth-inc

3 stars
385 downloads
Not rated
GitHub

About

It is an extension of the MCP GitLab server that adds merge request review capabilities. It provides fetching of merge request information, retrieval of the latest merge request version, and posting of review comments. It is intended for developers using GitLab within the Model…

Details

Author
Photosynth-inc
GitHub stars
3
Downloads
385
Categories
Developer Tools

- Fetch merge request details by project and IID.
- Retrieve the latest version of a merge request.
- Post review comments to merge request discussions.
- Integrates with GitLab API endpoints for MR operations.

Configure the server by setting two environment variables: GITLAB_PERSONAL_ACCESS_TOKEN (your GitLab personal access token) and GITLAB_API_URL (the base URL of your GitLab instance). Once configured, the server communicates with the GitLab API to perform merge request operations. Invocation details depend on the MCP client being used.

MCP GitLab Review Server

MCPのGitLabサーバー拡張。マージリクエストへのレビューコメント投稿機能を提供します。

概要

Model Context Protocol (MCP) のGitLabサーバーに、マージリクエストのレビュー機能を追加した拡張サーバーです。以下の機能を提供します:

- マージリクエストの情報取得
- マージリクエスト最新バージョンの取得
- レビューコメントの投稿

環境変数の設定

    "env": {
        "GITLAB_PERSONAL_ACCESS_TOKEN": "xxxxxx",
        "GITLAB_API_URL": "xxxxx"
    }

APIエンドポイント

// マージリクエストの取得
GET /api/v4/projects/:project_id/merge_requests/:merge_request_iid

// マージリクエストの最新バージョン取得
GET /api/v4/projects/:project_id/merge_requests/:merge_request_iid/versions

// レビューコメントの投稿
POST /api/v4/projects/:project_id/merge_requests/:merge_request_iid/discussions

License

MIT

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.