
GitLab MCP servers: which one to use
Use GitLab's built-in server. Pick a community server if you need an access token setup, more tools, or a read-only switch.
- Servers
- 27
- active
- Official
- 1
- by GitLab
- Hosted
- 3
- nothing to install
- Local
- 18
- runs on your machine
- OAuth
- 1
- sign in, no key
GitLab has an MCP server built in, so you do not install anything. You point Claude, Cursor or Codex at your GitLab address and sign in with your GitLab account. It covers projects, merge requests, work items, CI and more, and it is available on Free, Premium and Ultimate. Community servers run on your machine with an access token. Some add a read-only mode; GitLab's server instead lets you limit tool groups with an HTTP header.
Good for
- Developers who want Claude Code or Cursor to read merge requests and issues
- Teams who want an assistant to check CI pipelines and failed jobs
- Self-managed GitLab admins who need an MCP server that runs on their own instance
- Anyone who wants an assistant to read GitLab without changing it
Which GitLab MCP server to use
Use GitLab's built-in server unless you have a reason not to. Pick zereight's gitlab-mcp for the widest tool set and a read-only permission mode, or mcp-gitlab for a lean local server with a read-only switch.
| Server | Official | Runs | Sign-in | Read-only option | GitHub stars |
|---|---|---|---|---|---|
| GitLabThis page | Official | Hosted | Account | – | – |
| gitlab-mcp (zereight) | Community | HostedLocal | Token or OAuth | Permission mode | 2.1K |
| gitlab-mcp (mcpland) | Community | HostedLocal | Access token | Readonly mode | 10 |
| mcp-gitlab (vish288) | Community | Local | Access token | Env setting | 6 |
| gitlab-mcp (sgaunet) | Community | Local | Access token | – | 4 |
All GitLab MCP servers
27 active · 1 official · official first, then by GitHub stars
GitLab MCP ServerOfficialHostedOAuthGitLab's official MCP server, built into GitLab at /api/v4/mcp on GitLab.com, Self-Managed and Dedicated.
gitlab-mcpLocalAPI keyCommunity MCP server for GitLab: 288 tools in total (40 on by default) for merge requests, issues, pipelines, wikis and more via the GitLab API.
2.1K GitHub stars- mcparmory-gitlabLocal
Manage projects, groups, branches, merge requests, and CI/CD pipelines
32 GitHub stars
mcp-gitlab-workflowGitLab MCP: supports creating issues from requirements or modifying code and submitting merge requests from existing issues, while also providing a set of atomic GitLab API tools for issue-driven development. 🚀 | GitLab MCP:支持基于需求创建 Issue,或基于现有 Issue 修改代码并提交 MR,同时提供一系列 GitLab API 原子化操作能力,面向 Issue
23 GitHub stars
gitlab-mcpLocalA MCP server for GitLab with powerful, safe, policy-controlled access
10 GitHub stars- gitlab-api
GitLab MCP Server and Python API Wrapper
10 GitHub stars
mcp-gitlabLocalGitLab MCP server (MCP 2026-07-28): projects, MRs, pipelines, CI/CD, issues; writes or read-only
6 GitHub stars- gitlab-code-reader-mcp
MCP server for reading GitLab repository code, inspired by Claude Code's Read/Grep/Glob/LSP tools. 9 focused tools for AI-powered code exploration.
4 GitHub stars - gitlab-mcp
A Model Context Protocol (MCP) server that provides GitLab integration tools for Claude Code.
4 GitHub stars - gitlab-mcp-server
EGMA: Enhanced GitLab MCP API Server, comes with 143+ tools for AI-powered GitLab integration, MCP server that connects AI assistants to GitLab with intelligent context awareness, URL deduction, and specialized tools for projects, issues, MRs, pipelines, and repository operations. Works with Claude
3 GitHub stars - mcp-gitlab
MCP (Model Context Protocol) server for GitLab - AI-powered GitLab integration
3 GitHub stars - gitlab-agent-mcp
Gitlab MCP server for agents
2 GitHub stars - gitlab-ci-mcpLocal
GitLab CI/CD MCP — pipelines, jobs, schedules, MRs, files. Any GitLab (SaaS or self-hosted).
2 GitHub stars - gitlab-mcp-server
MCP server for GitLab - DevOps platform with CI/CD integration
2 GitHub stars
Gitlab PublicHosted or LocalGitLab Public MCP — wraps the GitLab REST API v4 (public endpoints, no auth)
1 GitHub stars- gitlab-ci-break-lintLocal
Names the .gitlab-ci.yml lines your runner will reject after the next GitLab major upgrade
1 GitHub stars
GitlabHosted or LocalGitLab MCP — wraps the GitLab REST API v4 (BYO API key)
0 GitHub stars- gitlab-mcpLocal
MCP server and CLI for a self-hosted GitLab CE 11.3 instance - merge request workflow: create, review, line-level comments, resolve, merge
0 GitHub stars - gitlab-http-api-mcpLocal
MCP server for GitLab over HTTP API (projects, branches, protected branches, job token scope, CI/CD variables, issues, MRs, CI)
0 GitHub stars - gitlab-ops-mcpLocal
Supplementary MCP server for GitLab operational tools — webhooks, CI/CD variables, protected branches, project settings, groups, access tokens, and pipeline triggers
0 GitHub stars
Show all 27Show fewer
- gitlab-mcpLocal
MCP server (stdio) — proxy fino sobre a REST API v4 de um GitLab CE self-hosted, focado em navegar MRs e deixar review inline.
0 GitHub stars - gitlab-mcpLocal
GitLab over MCP from your own account: issues, merge requests, reviews, the repository and CI.
0 GitHub stars
opencode-gitlab-pluginLocalGitLab tools plugin for OpenCode - provides GitLab API access for merge requests, issues, pipelines, and more
357/wk downloads a week
opencode-gitlab-dapLocalOpenCode plugin that injects GitLab AI Catalog agents as native opencode agents
138/wk downloads a week- @haleyio/mcp-servers-gitlabLocal
MCP server for GitLab integration - provides tools for repository management, issue tracking, and merge request operations
17/wk downloads a week - @jesbrian/gitlab-mcp-serverLocal
GitLab MCP Server with Modular Configuration
14/wk downloads a week - gitlab-mcpLocal
Public GitLab projects and users. No key required.
Questions
Is there an official GitLab MCP server?
Yes. It is built into GitLab at /api/v4/mcp on GitLab.com, GitLab Self-Managed and GitLab Dedicated. GitLab's docs list it as generally available.
Does it cost anything or need a paid plan?
The server itself is on Free, Premium and Ultimate. Some tools, such as the Duo Agent Platform toolset, only show up on Premium or Ultimate with Duo turned on.
How do I sign in?
Your client signs you in through OAuth when it first connects. You can also use a fine-grained personal access token with the MCP tool resource and the Execute permission. Legacy, project and group access tokens are rejected.
Does it work in Claude?
Yes. GitLab's docs name Claude Desktop, Claude Code and Cursor, and include a tutorial for connecting Claude Desktop. They also cover OpenAI Codex. They do not mention ChatGPT.
Can I make GitLab's server read-only?
GitLab's docs describe limiting which tool groups the server returns with the X-Gitlab-Enabled-Mcp-Server-Toolsets header, not a read-only switch. zereight (GITLAB_PERMISSION_MODE=readonly), mcpland (GITLAB_PERMISSION_MODE=readonly) and vish288 (MCP_READ_ONLY=true) each document a read-only option.
Does it work with self-hosted GitLab?
Yes. Use your own instance address followed by /api/v4/mcp. An admin must allow access to the MCP server for the instance first.
What is the difference between GitLab's server and zereight's?
GitLab's runs inside GitLab and signs in with OAuth or a fine-grained token. zereight's gitlab-mcp runs on your machine or your own host and supports a personal access token or OAuth. Its README lists 40 tools by default and 288 in total.
Are there risks with letting an assistant read GitLab?
Yes. GitLab warns that issue and merge request text can contain prompt-injection instructions, so use MCP tools only on GitLab objects you trust.