Skip to content
Kitbay
MCP server

gitlab-mcp-code-review

Runs locallyMITUpdated on May 15, 202545GitHub starsCan change dataNeeds an API key

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

What it does

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.

Capabilities

  • 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