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

Codebase awareness layer for accessing repositories, pull requests, issues, code search, and GitHub Actions. Fine-grained PAT scopes keep access minimal.

24 tools18,000
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 tools43,650
Vendor4.5

Chrome DevTools for Agents

Google · Chrome DevTools team

Vendor-official Chrome DevTools MCP server from the Chrome DevTools team at Google. Lets agents control and inspect a live Chrome browser for automation, debugging, and performance analysis.

6 tools37,543
Vendor4.5

Terraform MCP Server

HashiCorp

Vendor-official Terraform MCP server from HashiCorp. Integrates with the public Terraform Registry (providers, modules, policies) and HCP Terraform / Terraform Enterprise (workspace management, organisation listing, run management, private registry access).

7 tools1,346
Vendor4.2

Browserbase MCP Server

Browserbase

Vendor-built Browserbase MCP server combining cloud browser automation (Browserbase) with natural-language-to-action mapping (Stagehand). 6 tools: start, end, navigate, act, observe, extract. Available as a hosted endpoint at https://mcp.browserbase.com/mcp (LLM costs covered for Gemini) or self-hostable via @browserbasehq/mcp.

6 tools3,295
Vendor4

AWS Infrastructure as Code MCP Server

AWS Labs

AWS Labs server for Infrastructure as Code lifecycle. Validates CloudFormation templates with cfn-lint, checks compliance via cfn-guard against AWS Guard Rules and Control Tower controls, troubleshoots failed deployments with pattern-matched analysis, searches CloudFormation and CDK documentation.

7 tools8,894
// 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 →