Developer platforms - official GitLab server
GitLab MCP server
Built-in MCP endpoint on GitLab.com, Self-Managed and Dedicated that lets AI tools read and act on projects, merge requests, work items, repositories and CI/CD pipelines with the user's permissions. GitLab hosts it at https://gitlab.com/api/v4/mcp with OAuth or API key auth.
Last verified 15 tools2 sources
Install
Claude Code
About Claude Codeclaude mcp add -s user --transport http GitLab https://<gitlab.example.com>/api/v4/mcpCodex
About Codexcodex mcp add GitLab --url "https://<gitlab.example.com>/api/v4/mcp"Cursor
About Cursor{
"mcpServers": {
"GitLab": {
"type": "http",
"url": "https://<gitlab.example.com>/api/v4/mcp"
}
}
}Generic
{
"mcpServers": {
"GitLab": {
"type": "http",
"url": "https://<gitlab.example.com>/api/v4/mcp"
}
}
}Tools
get_project- Returns metadata for a single GitLab project: numeric ID, full path, default branch, visibility, and web URL.
list_projects- Lists projects visible to the user
save_merge_request- Creates or updates a merge request in a GitLab project.
get_merge_request- Retrieves a merge request and, optionally, its diffs, commits, notes, pipelines, discussions, approvals, or conflicts.
list_merge_requests- Lists or searches merge requests in a GitLab project or group, returning compact merge request metadata.
save_note- Adds a comment to a GitLab merge request or work item, or replies to an existing discussion thread, as the authenticated user.
save_work_item- Creates or updates a GitLab work item, such as an issue, task, or epic.
list_work_items- Lists or searches work items (issues, incidents, tasks, epics and more) in a group or project.
add_commit- Adds a commit with one or more file actions to a branch in a single call.
list_branches- Lists the branches of a GitLab project, optionally filtered by name.
get_repository_file- Retrieves the contents of a single file from a repository at a specific ref.
get_pipeline- Retrieves a pipeline, and optionally its jobs, downstream pipelines, bridge (trigger) jobs, or the artifacts its jobs produced.
get_job- Gets a CI/CD job's metadata, and optionally its trace/log or the artifacts it produced.
search- Searches for a term across the entire GitLab instance with the search API.
start_duo_session- Starts an asynchronous GitLab Duo Agent Platform session to accomplish a goal in a project.
As documented on October 17, 2026. A running server reports its current list through tools/list.
Notes and caveats
- Generally available as of GitLab 19.5 (experiment in 18.3, beta in 18.6); available on Free, Premium and Ultimate since 19.2.
- Replace <gitlab.example.com> with gitlab.com or your instance URL.
- Access must be allowed per top-level group on GitLab.com or per instance on Self-Managed/Dedicated.
- Auth: OAuth token with the mcp scope (dynamic client registration or a pre-registered app) or a fine-grained PAT with the MCP tool permission; legacy PATs and project/group tokens are rejected. stdio is supported only via the mcp-remote proxy (Node.js 20+).
- VS Code setup is documented as UI steps (MCP: Add Server, HTTP, the URL) rather than a snippet.
- Toolsets selectable via X-Gitlab-Enabled-Mcp-Server-Toolsets header; duo_agent_platform and code_security tools need the corresponding licensed features.
- GitLab.com rate limits are 60 requests per minute on Free and 600 on Premium/Ultimate.
- Server code ships inside the GitLab monorepo, which mixes MIT and GitLab EE licensing, so no single license is listed.
More MCP servers for developer platforms
- AdobeStatus: GA
Adobe Express Developer MCP server
Local MCP server run via npx that gives AI IDEs semantic search over Adobe Express add-on documentation and the official add-on SDK TypeScript definitions.
Transport: stdioAuth: No auth - Algolia
Algolia DevEx MCP server
Hosted MCP server for coding agents that returns Algolia API client code snippets matching the client version installed in a project, across all Algolia APIs and client languages; it does not access Algolia application data.
Transport: Streamable HTTPAuth: No auth - AppleStatus: GA
Xcode MCP server
Xcode provides a local MCP server, reached through the `xcrun mcpbridge` command, that lets external agents launched outside Xcode access an open Xcode project and Xcode capabilities such as building the app. Apple describes agents using it to search documentation, explore file structures, update project settings and capture Xcode Previews.
Transport: stdioAuth: Other - Canva
Canva Dev MCP server
Local MCP server, run through the Canva CLI, that gives coding agents Canva developer documentation and tooling context for building Canva apps (Apps SDK, App UI Kit, Developers SDK). It runs on the developer's machine and fetches documentation from canva.dev.
Transport: stdioAuth: No auth - Chroma
Package Search MCP server
Remote MCP server, hosted by Chroma, that gives coding agents grep, hybrid semantic search and file reads over the source code of thousands of public packages Chroma has indexed, so they can ground code in the real dependency source.
Transport: Streamable HTTPAuth: API key - Chromatic
Chromatic published Storybook MCP server
Chromatic deploys a project's Storybook MCP server alongside each published Storybook at its /mcp route, with Chromatic access control, so teams and agents can query component documentation remotely without running Storybook locally.
Transport: Streamable HTTPAuth: OAuth
Related reading
- Codex with GitLab: @codex Reviews and Tasks in Codex Cloud (Beta)Codex cloud now reviews GitLab merge requests and runs @codex tasks in beta on all ChatGPT plans. Setup for GitLab.com and Self-Managed 19.0+.
- GitLab to GitHub Migrations Go GA: gh gl2gh, What Moves and What Doesn'tGitLab to GitHub migrations are GA in GitHub Enterprise Importer: how gh gl2gh exports projects, turns merge requests into pull requests, and what you rebuild.
- Claude Code MCP Tasks: Long-Running Tools That Ask You ThingsClaude Code supports MCP Tasks and elicitations. What a tool call needs to become a task, what v2.1.319 changed for Bedrock and gateways, and what server authors change.
- Claude Security Continuous Scanning: Fix Tracking, API and MCPClaude Security now rescans repos as commits land, marks findings fixed when the fix ships, and adds an API, MCP connector and webhooks. Setup, limits and cost.
- MCP Client Features: Sampling, Elicitation and Roots ExplainedMCP sampling, elicitation and roots explained against the 2026-07-28 spec, with JSON-RPC examples and which of 24 clients support each one.
- REA vs leanrea: Skill or MCP for Reverse Engineering Agents?leanrea is an 8 KB skill pitched as a replacement for the REA (Reverse Engineer Anything) MCP server. What its benchmark shows, what it skips, and which to install.
FAQ
What does the GitLab MCP server do?
Built-in MCP endpoint on GitLab.com, Self-Managed and Dedicated that lets AI tools read and act on projects, merge requests, work items, repositories and CI/CD pipelines with the user's permissions. The vendor documents 15 tools, including get_project, list_projects, save_merge_request and get_merge_request.
How do I add the GitLab MCP server to Claude Code?
Run claude mcp add -s user --transport http GitLab https://<gitlab.example.com>/api/v4/mcp, copied from GitLab's docs. This page also has snippets for Codex, Cursor and Generic.
Does the GitLab MCP server need authentication?
Yes, OAuth or API key. Transport: Streamable HTTP. Status: GA, last checked October 17, 2026.
Sources
Last verified against 2 GitLab pages, then re-checked independently.
Newsletter
New MCP servers, the week they ship
One email per week. New official MCP servers, the coding tools that support them and how developers wire them up.