GitLab MCP Server

MCP server by GitLab

OfficialRemotePreview/Beta
Official page

GitLab MCP Server at a glance

GitLab MCP Server is an official MCP server from GitLab. It lets an AI assistant work with GitLab merge requests, work items, repositories and CI pipelines.

Connects to
Developer tools
Hosting
Remote · Streamable HTTP (stdio via mcp-remote)
Sign-in
OAuth
Price
Free (needs a GitLab account)
Works with
Claude Code, Claude Desktop, Cursor, VS Code, Gemini CLI, Codex, Amazon Q Developer, Kiro, OpenCode, Zed
Best for
Teams that host code and CI on GitLab
Checked
October 3, 2026 on official sources

How to install GitLab MCP Server

Add the command below as a new MCP server in your AI app’s settings or MCP config file, then sign in when asked. Sign-in: OAuth.

Server URL
https://your-gitlab-host/api/v4/mcp

What GitLab MCP Server can do

It is built into GitLab and exposed at your instance's /api/v4/mcp endpoint. AI tools can read and update merge requests, work items, code and pipelines using your GitLab permissions.

Tools it exposes include
merge_requests toolsetwork_items toolsetrepository toolsetci toolsetwikis (opt-in)code_security (opt-in)

Best for: teams that host code and CI on GitLab

Pros

  • Built into GitLab with no install
  • Works on GitLab.com, Self-Managed and Dedicated
  • OAuth with automatic client registration

Cons

  • Still in beta
  • Free tier limited to 60 calls per minute per user

GitLab MCP Server FAQ

Is GitLab MCP Server free?

Yes. It is available on Free, Premium and Ultimate tiers; paid tiers get higher rate limits.

How do I connect GitLab MCP Server?

Add https://<your-gitlab-host>/api/v4/mcp as an HTTP server in your client and approve the OAuth prompt.

What can GitLab MCP Server do?

It can read and update merge requests, work items, repository files and CI pipelines.