AUTOMATIONSWITCH
CommunityDev Tools

GitLab MCP

by zereight

GitLab MCP with 60+ tools covering merge requests, repositories, issues, branches, commits, files, discussions, draft notes, approvals, pipelines, and OAuth multi-user support. 54 commits on main in the last 30 days.

1,449·9 tools·Released APR 2025·MIT
npx -y @zereight/mcp-gitlab
Share:

GitLab MCP with 60+ tools covering merge requests, repositories, issues, branches, commits, files, discussions, draft notes, approvals, pipelines, and OAuth multi-user support. 54 commits on main in the last 30 days. Code-review workflow tooling (list_merge_request_changed_files plus get_merge_request_file_diff) tuned for batched diff retrieval.

Reviewed by M. Nouriel · MAY 2026

INSTALL THIS SERVER

Requires authenticationGitLab Personal Access Token via GITLAB_PERSONAL_ACCESS_TOKEN env var. Scope to api, read_api, or read_repository depending on agent flow.
{ "mcpServers": { "gitlab": { "command": "npx", "args": [ "-y", "@zereight/mcp-gitlab" ], "env": { "GITLAB_PERSONAL_ACCESS_TOKEN": "<your-gitlab-pat>", "GITLAB_API_URL": "https://gitlab.com/api/v4" } } } }
PrereqRequires GITLAB_PERSONAL_ACCESS_TOKEN from GitLab user settings. Set GITLAB_API_URL for self-hosted GitLab. NPM: `@zereight/mcp-gitlab`. OAuth multi-user setup documented in the README. Path: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS).
{ "mcpServers": { "gitlab": { "command": "npx", "args": [ "-y", "@zereight/mcp-gitlab" ], "env": { "GITLAB_PERSONAL_ACCESS_TOKEN": "<your-gitlab-pat>", "GITLAB_API_URL": "https://gitlab.com/api/v4" } } } }
{ "mcpServers": { "gitlab": { "command": "npx", "args": [ "-y", "@zereight/mcp-gitlab" ], "env": { "GITLAB_PERSONAL_ACCESS_TOKEN": "<your-gitlab-pat>", "GITLAB_API_URL": "https://gitlab.com/api/v4" } } } }
{ "mcpServers": { "gitlab": { "command": "npx", "args": [ "-y", "@zereight/mcp-gitlab" ], "env": { "GITLAB_PERSONAL_ACCESS_TOKEN": "<your-gitlab-pat>", "GITLAB_API_URL": "https://gitlab.com/api/v4" } } } }
{ "mcpServers": { "gitlab": { "command": "npx", "args": [ "-y", "@zereight/mcp-gitlab" ], "env": { "GITLAB_PERSONAL_ACCESS_TOKEN": "<your-gitlab-pat>", "GITLAB_API_URL": "https://gitlab.com/api/v4" } } } }

9 TOOLS AVAILABLE

merge_merge_request
Merge a merge request in a GitLab project
Admin
create_merge_request
Create a new merge request
Write
list_merge_request_changed_files
STEP 1 of code-review workflow: list changed file paths only, no diff content
Read
get_merge_request_file_diff
STEP 2 of code-review workflow: get diffs for batched files (3-5 per call)
Read
create_or_update_file
Create or update a single file in a GitLab project
Write
create_issue
Create a new issue in a GitLab project
Write

OUR ASSESSMENT

Strengths
  • 1,449 GitHub stars and MIT licence.
  • 54 commits on main in the last 30 days.
  • 60+ tool surface covers the full GitLab platform.
  • 2-step batched code-review flow (list_merge_request_changed_files then get_merge_request_file_diff with 3-5 file batches) is tuned for agent token efficiency.
  • Multi-user OAuth setup and Claude.ai native OAuth support.
  • Agent skill files shipped for consistent agent behaviour.
  • Self-hosted GitLab and gitlab.com both supported.
Weaknesses
  • Single-maintainer governance.
  • GitLab Personal Access Token required; scope appropriately.
  • Wide tool surface can overflow agent context windows; scope via configuration.
Security Notes

GitLab PAT grants the scopes selected at token creation. Use api scope only when the agent needs project mutations; read_api or read_repository scope works for read-only flows. The MCP forwards all queries to the configured GitLab endpoint; for self-hosted GitLab, scope the network path to the agent host.

Best For

Teams running GitLab (gitlab.com or self-hosted) who want agents to handle the full code-review lifecycle: list changed files, batch-fetch diffs, create discussions, manage draft notes, approve MRs; multi-user deployments via remote OAuth setup; teams that have outgrown the official GitLab integrations and want a wider tool surface.

TECHNICAL DETAILS

Language
typescript
Transport
stdio
Clients
Claude DesktopClaude CodeCursorVS CodeWindsurf
License
MIT
GitHub
zereight/gitlab-mcp · ★ 1,449
npm
@zereight/mcp-gitlab
Last Release
@zereight/mcp-gitlab (npm latest)MAY 3, 2026
First Released
APR 1, 2025

ADOPTION METRICS

// GitHub Stars
1,449

// Reading this1,449 stars on the zereight/gitlab-mcp repo. 54 commits on main in the last 30 days, second-highest cadence in this batch.

// Popularity Rank
#1
Globally · #10 in Dev Tools

// Reading thisHighest-cadence GitLab MCP at time of review across the candidate set.

SOURCES & VERIFICATION

We don't take any single directory's word for it. Before scoring, we cross-reference 5 public MCP sources, install the server ourselves against the clients we cover, and record when we last re-verified.

01
Discovered
Manual submission
First indexed MAY 3, 2026
02
Cross-referenced
5 directories
PulseMCP, MCP.so, Glama, Smithery, Awesome MCP Servers
03
Verified against
Claude Desktop, Cursor, VS Code
Installed and tested across clients
04
Last re-checked
MAY 3, 2026
Weekly re-verification
// How other directories see it

The same server, 5 different lenses. We reconcile these signals into our editorial score, which is why our number sometimes diverges from a directory-aggregate star count.

SourceTheir ratingTheir star countTheir downloadsLast synced
AutomationSwitch This page4.6editorial1,449MAY 3, 2026
PulseMCP— unratedunavailableunavailableMAY 3, 2026
MCP.so— unratedunavailableunavailableMAY 3, 2026
Glama— unratedunavailableunavailableMAY 3, 2026
Smithery— unratedunavailableunavailableMAY 3, 2026
Awesome MCP Servers— unratedunavailableunavailableMAY 3, 2026

// Counts are directory-reported; we don't adjust them. Discrepancies usually come from different snapshot times or star-caching.

OTHER DEV TOOLS MCP SERVERS

Official5

GitHub

GitHub

Official GitHub MCP server. 29,469 stars, MIT, 33 commits on main in the last 30 days. Repo, issue, PR, action, and code search tools backed by the GitHub REST + GraphQL APIs.

24 tools29,469
Official4.7

Playwright

Microsoft

Official Microsoft Playwright MCP server. Browser automation tools (navigate, click, fill, screenshot, evaluate JS, network capture) backed by Playwright. 31,942 stars, 35 commits/30d, Apache-2.0.

11 tools31,942
Official4.7

MCP Registry

Model Context Protocol

The community-driven registry service for MCP servers, maintained by the Model Context Protocol project. Discover, list, and validate MCP servers from inside agents. 6,781 GitHub stars and 65 commits on main in the last 30 days.

5 tools6,781
Official4.6

MCP Inspector

Model Context Protocol

The official MCP debugging and testing tool maintained by the Model Context Protocol project. Visual inspector for MCP servers: invoke tools, inspect transports, validate protocol behaviour during development. 9,647 GitHub stars and 32 commits on main in the last 30 days.

6 tools9,647
Official4.6

XcodeBuild MCP

Sentry (getsentry org)

MCP server and CLI for agent use of Xcode build tools. Build, test, run, and inspect iOS, macOS, watchOS, and visionOS projects from inside agents. 5,429 GitHub stars and 95 commits on main in the last 30 days. Maintained by Sentry.

7 tools5,429
Vendor4.5

OpenSpec

Fission-AI

The leading spec-driven development workflow for AI agents. Implements the /opsx:propose → /opsx:apply → /opsx:archive cycle that scaffolds proposals, specs, design docs, and task checklists, then applies them and archives once shipped.

7 tools44,941
// Get in touch

DISCUSS YOUR
MCP REQUIREMENTS.

Evaluating a server, scoping an internal deployment, or working out whether MCP is the right fit at all. Start the conversation and we will point you at the right piece of the ecosystem.

Discuss Your MCP Requirements →