GitLab CI MCP Server
by mshegolevio.github.mshegolev/gitlab-ci-mcpv0.5.1
GitLab CI/CD pipelines, jobs, schedules, merge requests and files, for GitLab SaaS or self-hosted instances.
context tax
queued
security
queued
cold start
queued
freshness
Maintained58d ago
Install GitLab CI MCP server
Install in Claude Code
claude mcp add gitlab-ci -e GITLAB_URL='<gitlab-url>' -e GITLAB_TOKEN='<gitlab-token>' -- uvx gitlab-ci-mcpInstall in Cursor
{
"mcpServers": {
"gitlab-ci": {
"command": "uvx",
"args": [
"gitlab-ci-mcp"
],
"env": {
"GITLAB_URL": "<gitlab-url>",
"GITLAB_TOKEN": "<gitlab-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"gitlab-ci": {
"command": "uvx",
"args": [
"gitlab-ci-mcp"
],
"env": {
"GITLAB_URL": "<gitlab-url>",
"GITLAB_TOKEN": "<gitlab-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"gitlab-ci": {
"type": "stdio",
"command": "uvx",
"args": [
"gitlab-ci-mcp"
],
"env": {
"GITLAB_URL": "<gitlab-url>",
"GITLAB_TOKEN": "<gitlab-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"gitlab-ci": {
"command": "uvx",
"args": [
"gitlab-ci-mcp"
],
"env": {
"GITLAB_URL": "<gitlab-url>",
"GITLAB_TOKEN": "<gitlab-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| GITLAB_URL | yes | — | GitLab instance URL (e.g. https://gitlab.com or https://gitlab.example.com) |
| GITLAB_TOKEN | yes | yes | GitLab Personal Access Token with 'api' scope |
| GITLAB_PROJECT_PATH | — | — | Default project path (e.g. my-org/my-repo); can be overridden per call |
| GITLAB_SSL_VERIFY | — | — | Verify SSL certificates (true/false). Set to 'false' for self-hosted GitLab with self-signed certs. |
Freshness
Maintained — last maintenance signal 58d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-08-12 · 58d ago · GitHub
Latest release
2026-04-17 · 6mo ago · GitHub · v0.4.0
Package published
no data · npm/PyPI
Registry entry updated
2026-04-17 · 6mo ago · official registry · v0.5.1
FAQ
›How do I install the GitLab CI MCP server in Claude Code?
Run: claude mcp add gitlab-ci -e GITLAB_URL='<gitlab-url>' -e GITLAB_TOKEN='<gitlab-token>' -- uvx gitlab-ci-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does GitLab CI require an API key?
Yes. It expects GITLAB_URL, GITLAB_TOKEN, of which 1 is a secret.
›Can I use GitLab CI as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is GitLab CI in the official MCP registry?
Yes, as io.github.mshegolev/gitlab-ci-mcp.
Alternatives to GitLab CI
Other version control MCP servers.