Advanced GitLab MCP server
Gitlab MCP server exists for a simple reason — assistants are far more useful when they can act on Gitlab directly instead of describing what you should do. Advanced GitLab MCP server.
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.
Once Gitlab is connected, these are the calls the assistant has available:
Multi — instance support** — Connect to GitLab.com, self-managed, and self-hosted instances with per-instance OAuth and rate limitingRead — only mode** — Safe operation for production environmentsAuto-discovery — Detects GitLab config from git remotesFine — grained control** — Enable/disable tool groups, filter actions, customize descriptionsSub — resources fold into actions rather than new tools — browse_pipelines coversbrowse_pipelines — list, get, jobs, job, logs, triggersmanage_pipeline — create, retry, cancelbrowse_environments — list, get, list_deploymentsmanage_environment — create, update, stop, delete, update_deployment_statusAuto-reconnect — Exponential backoff reconnection (5s → 60s) with ±10% jitterSection — DescriptionVariable — DefaultBeing a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.
You will need 2 environment variables: GITLAB_TOKEN, GITLAB_API_URL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Gitlab's toolset — Multi, Read, Auto-discovery and 11 more — is a fair guide to whether it matches your workflow. It is maintained by GitHub Actions; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Gitlab's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| Multi | instance support** — Connect to GitLab.com, self-managed, and self-hosted instances with per-instance OAuth and rate limiting |
| Read | only mode** — Safe operation for production environments |
| Auto-discovery | Detects GitLab config from git remotes |
| Fine | grained control** — Enable/disable tool groups, filter actions, customize descriptions |
| Sub | resources fold into actions rather than new tools — browse_pipelines covers |
| browse_pipelines | list, get, jobs, job, logs, triggers |
| manage_pipeline | create, retry, cancel |
| browse_environments | list, get, list_deployments |
| manage_environment | create, update, stop, delete, update_deployment_status |
| Auto-reconnect | Exponential backoff reconnection (5s → 60s) with ±10% jitter |
| Section | Description |
| Variable | Default |
| GITLAB_INIT_TIMEOUT_MS | 5000 |
| GITLAB_RECONNECT_BASE_DELAY_MS | 5000 |
{
"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.
| Variable | Description | Required |
|---|---|---|
| GITLAB_TOKEN | Credential the server authenticates with. | Yes |
| GITLAB_API_URL | Endpoint or connection string the server talks to. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.