# GitLab Code Review

> Use this tool when you need to streamline code review processes by leveraging AI assistance within GitLab's merge requests. It solves problems such as manual code analysis and commentary by providing automated tools for reviewing, comparing, and managing code changes. The tool accepts GitLab API requests and personal access tokens as inputs, and outputs detailed merge request information, file diffs, and review management capabilities.

Canonical page: https://skillsregistry.net/skills/gitlab-code-review  
JSON: https://api.skillsregistry.net/v1/skills/gitlab-code-review

## Description

The GitLab MCP for Code Review server enables AI assistants like Claude to interact directly with GitLab's merge requests through the GitLab API. Built on FastMCP and adapted from a Gerrit code review implementation, this Python-based server provides tools for analyzing merge requests, viewing file diffs, comparing versions, managing reviews, and retrieving project information. It handles authentication via GitLab personal access tokens and includes robust error handling for API requests. The implementation is particularly valuable for developers seeking AI assistance with code reviews without leaving their workflow, allowing assistants to fetch complete merge request details, add comments, approve changes, and analyze code differences across branches or commits.

## Trust

- **Trust score (0–1):** 0.64
- **Verification tier:** scanned
- **Last scanned:** 2026-09-02

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** version-control
- **Updated:** 2026-09-02

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/gitlab-code-review)
- **Repository:** <https://github.com/mehmetakinn/gitlab-mcp-code-review>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "gitlab-code-review"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/gitlab-code-review` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/gitlab-code-review/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
