mcp-gitlab
About
MCP server for GitLab API — projects, MRs, pipelines, CI/CD, approvals, issues, code review.
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
GITLAB_TOKEN GITLAB_URL GITLAB_READ_ONLYClaude Code
claude mcp add --env GITLAB_TOKEN= --env GITLAB_URL= --env GITLAB_READ_ONLY= mcp-gitlab -- uvx mcp-gitlab
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"mcp-gitlab","command":"uvx","args":["mcp-gitlab"],"env":{"GITLAB_TOKEN":"","GITLAB_URL":"","GITLAB_READ_ONLY":""}}'
JSON
{
"mcpServers": {
"mcp-gitlab": {
"command": "uvx",
"args": [
"mcp-gitlab"
],
"env": {
"GITLAB_TOKEN": "",
"GITLAB_URL": "",
"GITLAB_READ_ONLY": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.