drio
Open app

GitLab-MCP-Server

Source

Catalog onlyCatalog onlySTDIO

Overview

GitLab-MCP-Server is a Model Context Protocol (MCP) server that provides integration features with GitLab, allowing AI assistants to access specific project information such as pipeline failure details and unresolved merge request comments.

To use GitLab-MCP-Server, install the required libraries, set up your GitLab access token, and configure the server to connect with your GitLab project.

  • Retrieves console output of failed jobs in GitLab pipelines. - Fetches unresolved comments on merge requests. - Provides changes between the base commit of a merge request and the current local repository state.
  1. Assisting developers in identifying issues in failed CI/CD pipelines.
  2. Helping teams track unresolved feedback on code changes.
  3. Enabling AI assistants to provide contextual support based on GitLab project data.

Add to your AI client

Use these steps to connect GitLab-MCP-Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "gitlab-mcp-server-owayo": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-gitlab-mcp-server-owayo"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "gitlab-mcp-server-owayo": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-gitlab-mcp-server-owayo"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "gitlab-mcp-server-owayo": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-gitlab-mcp-server-owayo"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "gitlab-mcp-server-owayo": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-gitlab-mcp-server-owayo"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "gitlab-mcp-server-owayo": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-gitlab-mcp-server-owayo"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "gitlab-mcp-server-owayo": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-gitlab-mcp-server-owayo"
      ]
    }
  }
}

FAQ

What information can the server retrieve from GitLab?

The server can retrieve failed job outputs, unresolved merge request comments, and changes in merge requests.

Is there a specific setup required for using the server?

Yes, you need to install the necessary libraries and configure your GitLab access token.

Can this server be used with any GitLab project?

Yes, as long as you have the appropriate access token and project permissions.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3583,"uuid":"d7f7224e-6cd6-4680-84b9-f373358fd651","name":"gitlab-mcp-server","title":"GitLab-MCP-Server","description":"","avatar_url":"https://avatars.githubusercontent.com/u/20108042?v=4","created_at":"$D2025-03-20T10:41:12.261Z","updated_at":"$D2025-03-20T11:10:47.431Z","status":"created","author_name":"owayo","author_avatar_url":"https://avatars.githubusercontent.com/u/20108042?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/owayo/gitlab-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"MIT license\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-03-20 21:02:11\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]

GitLab-MCP-Server — MCP Registry