MCP server

GitLab MCP Server

Issues, merge requests, pipelines and search for GitLab projects, built into GitLab. Official: built and maintained by GitLab. It runs as a hosted remote server: nothing to install. Setup below for 13 clients (checked 2026-10-25). Repo and registry data checked 2026-10-24.
Maintainer
Official · GitLab
Runs
Remote
URL
https://gitlab.com/api/v4/mcp
Registry
com.gitlab/mcp
Connects to
GitLab

Install the GitLab MCP Server

Pick your client. Remote first: nothing to install, and you sign in with OAuth where the client supports it. Config shapes checked against each client's docs on 2026-10-25.

Run in a terminal, then /mcp inside Claude Code to sign in. Add --scope project to share it via .mcp.json. docs

claude mcp add --transport http gitlab https://gitlab.com/api/v4/mcp

Security notes

  • The remote server runs at gitlab.com, hosted by GitLab. You sign in with OAuth in clients that support it, and it acts with your account's permissions.
  • It can change code and repositories. Review what it writes before you push.
  • GitLab (community)community · ★ 2.1k

    GitLab projects, merge requests, issues, pipelines and wikis, including self-hosted GitLab.

  • GitHubofficial · ★ 34k

    Repos, issues, pull requests, Actions, code scanning and Copilot coding agent, hosted or local.

  • Keployofficial · ★ 19k

    Generate and run API tests from OpenAPI specs, curl commands, Postman collections or real traffic.

  • Mobilerunofficial · ★ 9.8k

    Control real Android and iOS devices with an agent: tap, swipe, type and automate flows.

  • Azure DevOpsofficial · ★ 2.1k

    Work items, repos, pull requests, pipelines and wikis in Azure DevOps.

  • MATLABofficial · ★ 1.7k

    Run MATLAB code, tests and code analysis from a coding agent.

  • Docker MCP Gatewayofficial · ★ 1.6k

    Run MCP servers in isolated containers behind one gateway, from the Docker MCP Catalog.

  • Salesforce DXofficial · ★ 486

    Query Salesforce orgs, deploy metadata, run Apex tests and build Lightning Web Components.

FAQ

What does the GitLab MCP Server do?+

Issues, merge requests, pipelines and search for GitLab projects, built into GitLab.

Is the GitLab MCP server official?+

Official: built and maintained by GitLab.

How do I add GitLab to Claude Code?+

Run: claude mcp add --transport http gitlab https://gitlab.com/api/v4/mcp, then /mcp inside Claude Code to sign in. Add --scope project to share it with your team through .mcp.json.

How do I use the GitLab MCP server in Cursor or VS Code?+

Open the Cursor or VS Code tab above: it has the mcp.json entry and a one-click install link. Cursor uses the "mcpServers" key; VS Code uses "servers" and needs a type ("http").

Does GitLab work in ChatGPT and claude.ai?+

Yes, it has a remote URL (https://gitlab.com/api/v4/mcp). In claude.ai add it under Customize > Connectors > Add custom connector; in ChatGPT under chatgpt.com/plugins > Add custom MCP server.

What are the alternatives to the GitLab MCP server?+

Other developer tools & git MCP servers: GitLab (community), GitHub, Keploy, Mobilerun and Azure DevOps.

All MCP servers · What is an MCP server? · Agent skills