GitLab MCP Server
Work with GitLab merge requests, work items, pipelines and code from Claude.
Officialby GitLabHosted, nothing to installChecked November 8, 2026
GitLab's MCP server is built into GitLab itself and lets Claude read and update merge requests, work items, files, commits and CI/CD pipelines with your own access. It has been generally available since GitLab 19.5 and on the Free tier since 19.2, on GitLab.com, Self-Managed and Dedicated, but a top-level group owner or an instance admin has to allow MCP access before anyone can connect. On GitLab.com each user gets 60 requests a minute on Free and 600 on Premium and Ultimate.
Who is GitLab MCP for?
- Teams that host code on GitLab
- Developers reviewing merge requests
- Platform teams chasing pipeline failures
What can you ask GitLab MCP to do?
Once it is connected, ask in plain words. Your AI tool decides when to use the server and asks before it changes anything important.
List the merge requests waiting for my review in the web-app project and summarize each one.Why did the latest pipeline on main fail? Show the failing job and its error.Create a work item for the broken password reset email and link it to merge request 42.How to connect GitLab to Claude
MCP is an open standard. The setup steps below cover this server in Claude Code, Claude app, Codex, ChatGPT, Cursor, VS Code, Gemini CLI, Antigravity, OpenCode, Windsurf. Pick your tool:
New to MCP? Read what an MCP server is and how to add one.
Connect the GitLab MCP server to Claude Code for me: run this command: claude mcp add -s user --transport http GitLab https://gitlab.com/api/v4/mcp
If a value starts with YOUR_, ask me for it first. When it is connected, help me sign in if needed and show me one thing I can ask it to do.Or do it yourself:
claude mcp add -s user --transport http GitLab https://gitlab.com/api/v4/mcpType /mcp inside Claude Code, pick the server and choose Authenticate to sign in.
Hosted address: https://gitlab.com/api/v4/mcp
Unlock the setup steps
Free. Leave your email once to open the setup steps for all 152 servers, and get the best new connectors each month.
Good to know
Self-hosted instances use https://YOUR_GITLAB_HOST/api/v4/mcp. In Claude Code an older local-scope entry wins over the user one, so run claude mcp remove GitLab -s local before adding it again. If Claude Desktop's custom connector will not sign in, GitLab's docs add the same address through npx -y mcp-remote in claude_desktop_config.json (Node.js 20 or later).
How did we check GitLab MCP?
On November 8, 2026 we reread GitLab's MCP server docs and tools page (Free, Premium and Ultimate; generally available since GitLab 19.5). Sent without a token, our MCP request to https://gitlab.com/api/v4/mcp got 401 and an OAuth challenge for the mcp scope, the answer a live endpoint gives before sign-in.
Source: docs.gitlab.com/user/model_context_protocol/mcp_server/
What do people ask about GitLab MCP?
Is the GitLab MCP server available on the Free tier?
Yes. It moved to Free in GitLab 19.2 and became generally available in 19.5, on GitLab.com, Self-Managed and Dedicated. Tools for GitLab Duo Agent Platform and code security only appear if you have those features.
Why can't I connect even after signing in?
An administrator or top-level group owner has to allow access to the MCP server first: for the top-level group on GitLab.com, or for the whole instance on Self-Managed and Dedicated.
Can I use a personal access token instead of OAuth?
Only a fine-grained personal access token with the MCP tool resource and Execute permission. Legacy personal, project and group access tokens are rejected with 403 Forbidden.
What are the GitLab MCP rate limits?
On GitLab.com, per user across all of that user's AI tools: 60 requests a minute and 3,600 an hour on Free, 600 a minute and 5,000 an hour on Premium and Ultimate. MCP calls also count toward GitLab.com's general limits.
Can a malicious issue trick Claude through this server?
It can try, and GitLab's docs put guarding against prompt injection on you: use the MCP tools only on GitLab objects you trust. Be careful when you ask Claude to act on issues or comments written by people outside your team.
We wrote these answers from the official pages of each product named, read on November 8, 2026.
More developer tool servers
Using servers like GitLab from Claude Code? Our Claude Code course, in early access, goes from your first command to a landing page, an AI video and a working agent.