G

GitLab MCP Server

Verified

Manage GitLab projects, merge requests, and CI/CD pipelines from AI agents.

open-source 73/100 API Integrations gitlab git merge-requests ci-cd devops

A Model Context Protocol server for the GitLab API. Enables AI agents to interact with GitLab projects, create and manage merge requests, handle issues, and monitor CI/CD pipelines.

Supports project management, code review workflows, and pipeline monitoring through the GitLab REST API.

Install

npx -y @modelcontextprotocol/server-gitlab

MCP Client Config

{
  "mcpServers": {
    "gitlab": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-gitlab"
      ],
      "env": {
        "GITLAB_PERSONAL_ACCESS_TOKEN": "<your-token>",
        "GITLAB_API_URL": "https://gitlab.com/api/v4"
      }
    }
  }
}

Required Environment Variables

  • GITLAB_PERSONAL_ACCESS_TOKEN

Capabilities

Tools

create_or_update_filesearch_repositoriescreate_issuecreate_merge_requestlist_pipelinesget_pipeline

Compatible With

Claude Desktop Claude Code Cursor Windsurf

Metrics

18,500

GitHub Stars

8,500

Installs

600

Weekly

4

Open Issues