Gitlab MCP Server

Advanced GitLab MCP server

Remote serverstreamable-http

What is the Gitlab MCP Server?

Advanced GitLab MCP server

What you get

Advanced GitLab MCP server — 58 CQRS tools exposing 230 GitLab operations across 26 entity types. The tool catalog and parameters are filtered to each instance's GitLab version, tier, and token scopes, so the agent sees only what the connected instance actually supports.

  • 58 tools — across 26 entity types — projects, merge requests, pipelines, work items, wiki, and more
  • CQRS architecture — — browse_* for queries, manage_* for commands
  • Connection resilience — — Bounded startup, auto-reconnect with exponential backoff, disconnected mode when GitLab is unreachable
  • Multi-instance support — — Connect to GitLab.com, self-managed, and self-hosted instances with per-instance OAuth and rate limiting
  • Multiple transports — — stdio, SSE, StreamableHTTP
  • OAuth 2.1 — — Per-user authentication via Claude Custom Connector

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
browse_pipelineslist, get, jobs, job, logs, triggers
manage_pipelinecreate, retry, cancel
browse_environmentslist, get, list_deployments
manage_environmentcreate, update, stop, delete, update_deployment_status

How to install the Gitlab MCP Server

{
  "mcpServers": {
    "gitlab": {
      "command": "npx",
      "args": ["-y", "@structured-world/gitlab-mcp"],
      "env": {
        "GITLAB_TOKEN": "your_gitlab_token",
        "GITLAB_API_URL": "https://gitlab.com"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
GITLAB_TOKENCredential the server authenticates with.Yes
GITLAB_API_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • “Use Gitlab to Multi.”
  • “Use Gitlab to Read.”
  • “Use Gitlab to Auto-discovery.”

Frequently asked questions

Advanced GitLab MCP server Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.