Skip to content
MCP server

Gitlab Ci MCP

GitLab CI/CD MCP — pipelines, jobs, schedules, MRs, files. Any GitLab (SaaS or…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.5.1
Listing updated
4 days ago

About Gitlab Ci MCP

Gitlab Ci MCP is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

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

Install

Run in a terminal

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

Add to claude_desktop_config.json

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

Add to ~/.cursor/mcp.json

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

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Configuration

  • GITLAB_URLGitLab instance URL (e.g. https://gitlab.com or https://gitlab.example.com)Required
  • GITLAB_TOKENGitLab Personal Access Token with 'api' scopeRequired
  • GITLAB_PROJECT_PATHDefault project path (e.g. my-org/my-repo); can be overridden per call
  • GITLAB_SSL_VERIFYVerify SSL certificates (true/false). Set to 'false' for self-hosted GitLab with self-signed certs.

Pricing

Open source

Gitlab Ci MCP 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 to Gitlab Ci MCP

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools