Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Advanced GitLab MCP server

MCP server by structured-world Community

Advanced GitLab MCP server lets AI assistants work with GitLab through 66 tools. The tool list is filtered to each instance's GitLab version, tier and token scopes. It suits developers who use GitLab from MCP-compatible clients.

  • Score 83
  • 8 stars
  • 3.9k a week
  • Apache-2.0
  • Updated

Install Advanced GitLab MCP server

Built from the published package, never by AI.

claude mcp add advanced-gitlab-mcp-server -e GITLAB_TOKEN=YOUR_GITLAB_TOKEN -- npx -y @structured-world/gitlab-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Advanced GitLab MCP server in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the advanced-gitlab-mcp-server block.

About

Advanced GitLab MCP server gives AI assistants access to GitLab through 66 tools across 27 registry groups. Most of these are 60 CQRS tools that expose 241 typed actions, with 6 setup helpers. Browse tools handle read-only queries and manage tools handle writes. Sub-resources such as jobs and logs fold into actions rather than separate tools.

The tool list, actions and parameters are resolved against each instance's GitLab version, tier, token scopes and feature flags, so the agent sees only what the connected instance supports. It works with GitLab.com and self-managed instances and supports stdio, SSE and StreamableHTTP transports. It is aimed at developers and teams who use GitLab from clients such as Claude Desktop, Claude Code, Codex, VS Code and Cursor.

Written from the project's README and checked against it.

Tools it gives your assistant

  • browse_pipelinesLists pipelines and covers jobs, job details, logs and triggers.
  • manage_pipelineCreates, retries or cancels pipelines.
  • browse_environmentsLists and gets environments and their deployments.
  • manage_environmentCreates, updates, stops or deletes environments and updates deployment status.
  • browse_deploy_keysLists and gets deploy keys.
  • manage_deploy_keyAdds, enables, updates or deletes deploy keys.
  • manage_contextProvides local actions such as whoami, switch_preset and set_scope.

What you need

  • Node.js 24 or later
  • A GitLab token (GITLAB_TOKEN)
  • A GitLab instance URL (GITLAB_API_URL)
SettingNeededWhat it is
GITLAB_TOKENEnvironment variable, secretRequiredGitLab Personal Access Token with 'api' and 'read_user' scopes
GITLAB_API_URLEnvironment variableOptionalGitLab instance API URL for self-hosted instances (defaults to https://gitlab.com)
GITLAB_READ_ONLY_MODEEnvironment variableOptionalEnable read-only mode (disable all manage_* write operations)

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • List the failed pipelines in my GitLab project this week
  • Retry the latest pipeline for the main branch
  • Show the deployments for the production environment

Good to know

  • When GitLab is unreachable, only the manage_context tool is exposed.
  • Duo session commands can consume credits and change GitLab.
  • Mid-session token revocation checks run only in static token mode, not OAuth mode.
  • Antigravity CLI 1.4.10 is qualified on macOS and Linux.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Advanced GitLab MCP server

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Advanced GitLab MCP server: common questions

Does it work with self-managed GitLab?

Yes. The source says it connects to GitLab.com, self-managed and self-hosted instances, with per-instance OAuth and rate limiting.

Can it run in read-only mode?

Yes. The source lists a read-only mode for safe operation in production environments.

What happens if GitLab is down?

The server starts within a bounded time and enters a disconnected mode. It reconnects with exponential backoff when GitLab becomes reachable again.

How do I install Advanced GitLab MCP server?

In Claude Code run claude mcp add advanced-gitlab-mcp-server -e GITLAB_TOKEN=YOUR_GITLAB_TOKEN -- npx -y @structured-world/gitlab-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Advanced GitLab MCP server the official server?

Advanced GitLab MCP server is a community project by structured-world, not verified by a company domain.

Is Advanced GitLab MCP server free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is Advanced GitLab MCP server safe to use?

It scores 83 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Advanced GitLab MCP server?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Advanced GitLab MCP server work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Advanced GitLab MCP server Install

Add to stack

Loading.