# Gitlab Ci MCP

> Gitlab Ci MCP is an open-source MCP server for developer tools. GitLab CI/CD MCP — pipelines, jobs, schedules, MRs, files. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/mshegolev/gitlab-ci-mcp
- **MCP Registry name:** io.github.mshegolev/gitlab-ci-mcp
- **Categories:** developer tools
- **Listing updated:** 2026-11-13

## About

GitLab CI/CD MCP — pipelines, jobs, schedules, MRs, files. Any GitLab (SaaS or self-hosted).

## Install

### Claude Code (Terminal)

```sh
claude mcp add gitlab-ci-mcp --env GITLAB_URL='<GITLAB_URL>' --env GITLAB_TOKEN='<GITLAB_TOKEN>' -- uvx gitlab-ci-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "gitlab-ci-mcp": {
      "command": "uvx",
      "args": [
        "gitlab-ci-mcp"
      ],
      "env": {
        "GITLAB_URL": "<GITLAB_URL>",
        "GITLAB_TOKEN": "<GITLAB_TOKEN>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "gitlab-ci-mcp": {
      "command": "uvx",
      "args": [
        "gitlab-ci-mcp"
      ],
      "env": {
        "GITLAB_URL": "<GITLAB_URL>",
        "GITLAB_TOKEN": "<GITLAB_TOKEN>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "gitlab-ci-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "gitlab-ci-mcp"
      ],
      "env": {
        "GITLAB_URL": "<GITLAB_URL>",
        "GITLAB_TOKEN": "<GITLAB_TOKEN>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "gitlab-ci-mcp": {
      "command": "uvx",
      "args": [
        "gitlab-ci-mcp"
      ],
      "env": {
        "GITLAB_URL": "<GITLAB_URL>",
        "GITLAB_TOKEN": "<GITLAB_TOKEN>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "gitlab-ci-mcp": {
      "command": "uvx",
      "args": [
        "gitlab-ci-mcp"
      ],
      "env": {
        "GITLAB_URL": "<GITLAB_URL>",
        "GITLAB_TOKEN": "<GITLAB_TOKEN>"
      }
    }
  }
}
```

## FAQ

### Is Gitlab Ci MCP free?

Yes. Gitlab Ci MCP is open source, so you can use and self-host it for free.

### How do I add Gitlab Ci MCP to Claude Code?

Run this command in your terminal: claude mcp add gitlab-ci-mcp --env GITLAB_URL='<GITLAB_URL>' --env GITLAB_TOKEN='<GITLAB_TOKEN>' -- uvx gitlab-ci-mcp

### What are the best alternatives to Gitlab Ci MCP?

The closest alternatives to Gitlab Ci MCP are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/gitlab-ci-mcp
