# Gitlab MCP

> Gitlab MCP is an MCP server for developer tools. Work in GitLab.com issues, merge requests, reviews, the repository and CI as yourself. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** CLI, macOS, Windows, Linux
- **Repository:** https://github.com/mmedum/gitlab-mcp
- **MCP Registry name:** io.github.mmedum/gitlab-mcp
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

Sign-in uses your own OAuth application in a browser tab, and the token is kept in the OS keyring; the server is a single binary over stdio. It targets gitlab.com only, is not for self-managed instances, and is not affiliated with GitLab Inc.

Its safety stance is explicit. Issues, reviews, files and job logs come back marked as untrusted, and quick actions such as /merge in a comment are refused or escaped. Merging, approving, running CI and deleting are not registered unless enabled, and code reaches protected branches only through merge requests. Writes check what was read and are refused if it changed, and every write supports dry_run.

There is no raw API tool, and it does not touch CI variables, secure files, runners or webhooks. Reviews use draft comments published together.

## Features

- **Issues and links:** Search, create, update, comment and link issues.
- **Merge request review:** Diffs, versions, draft comments and submit_review.
- **Repository reads:** Files, trees, commits, blame and compare.
- **CI follow-up:** Pipelines, jobs, logs with secrets masked, test reports.
- **Gated writes:** Risky tools are off until turned on.
- **Keyring sign-in:** Your own OAuth app, token stored locally.

## Good for

- Review a merge request inline with draft comments
- Triage issues across a group
- Find out why a pipeline failed
- Open a branch and merge request for a fix

## Install

### Claude Desktop (Claude Desktop → Settings → Extensions)

```text
https://github.com/mmedum/gitlab-mcp/releases/download/v4.4.0/gitlab-mcp_4.4.0.mcpb
```

Download the bundle and open it with Claude Desktop, or drag it onto Settings → Extensions and click Install. This server is only published as a Claude Desktop bundle.

## Tools

From the tool list in its README, going by the names, 5 of 17 tools change data; 2 names don't say. From the server's own tool labels and tool names; not verified by us.

- `get_me` (name suggests: reads): Show the signed-in user and scopes.
- `search_projects` (name suggests: reads): Find projects.
- `search_issues` (name suggests: reads): Find issues.
- `get_issue` (name suggests: reads): Read an issue.
- `create_issue` (name suggests: changes): Create an issue.
- `update_issue` (name suggests: changes): Change an issue.
- `add_comment` (name suggests: changes): Comment on an issue or merge request.
- `search_merge_requests` (name suggests: reads): Find merge requests.
- `get_merge_request` (name suggests: reads): Read a merge request.
- `get_mr_diff` (name suggests: reads): Read a merge request's diffs.
- `create_merge_request` (name suggests: changes): Open a merge request.
- `add_review_comment` (name suggests: changes): Add a draft review comment.
- `submit_review`: Publish all drafts with a summary.
- `get_file` (name suggests: reads): Read a file at a ref.
- `list_pipelines` (name suggests: reads): List CI pipelines.
- `get_job_log` (name suggests: reads): Read a job log with secrets masked.
- `lint_ci`: Validate CI configuration.

## FAQ

### Does Gitlab MCP work with self-managed GitLab?

No, gitlab.com only.

### Can Gitlab MCP merge or delete?

Not by default; those tools are not registered until enabled.

### Can I use Gitlab MCP from Claude on the web?

No, it speaks stdio only.

### Does Gitlab MCP log my work?

The README says logs carry no paths, titles or bodies.

### What are the best alternatives to Gitlab MCP?

The closest alternatives to Gitlab MCP are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/gitlab-mcp
