Pending MR reviews, pipeline health, retro actions turned into issues — works self-hosted, read-only mode included.
Use case: same value as the GitHub server (standup, triage, MRs) but for organizations on GitLab — often self-hosted in the enterprise.
A Personal Access Token (Preferences → Access Tokens), scope api or
read_api for read-only use.
{
"mcpServers": {
"gitlab": {
"command": "npx",
"args": ["-y", "@zereight/mcp-gitlab"],
"env": {
"GITLAB_PERSONAL_ACCESS_TOKEN": "glpat-...",
"GITLAB_API_URL": "https://gitlab.mycompany.com/api/v4",
"GITLAB_READ_ONLY_MODE": "false"
}
}
}
}
GITLAB_API_URLpoints at your self-hosted instance (default: gitlab.com).GITLAB_READ_ONLY_MODE=trueexposes only the read tools.
Exposed tools: list_issues, create_issue, list_merge_requests,
get_merge_request_diffs, create_merge_request_note, list_pipelines…
List the open merge requests in group/webapp waiting for review for
more than 2 days: title, author, diff size. Who is blocking what?
The last 10 pipelines on the main branch: status, duration. If jobs
fail recurrently, which ones?
Create one issue per action item from this retro in group/webapp,
label "retro-S31":
- automate the changelog
- document the rollback procedure