本文へスキップ
Kitbay
MCPサーバー

gitlab-mcp-code-review

ローカルで動作MIT2025年5月15日 更新45GitHubスターデータ変更可APIキーが必要

A local Python MCP server that lets an assistant such as Claude Desktop or Cursor review GitLab merge requests through the GitLab API.

このサーバーについて

A local Python MCP server that lets an assistant such as Claude Desktop or Cursor review GitLab merge requests through the GitLab API. It fetches merge request details with their diffs, commits and comments, shows the diff of a single file, compares branches, tags or commits, lists a project's merge requests, and can add comments and approve or unapprove a merge request. It runs from a cloned copy of the repository inside a Python virtual environment and needs a GitLab personal access token with API scope; the GitLab host name is configurable. The author notes it started as a fork of a Gerrit code review server and was adapted for GitLab.

できること

  • Fetch a merge request with its diffs, commits and comments
  • Show the diff of one file in a merge request
  • Compare branches, tags or commits
  • Comment on, approve or unapprove a merge request
  • List the merge requests in a project