Home Tutorials Categories Skills About
ZH EN JA KO
🦊

GitLab

Code Management Developer Tools

Install Command

npx clawhub@latest install gitlab

Installation Guide

1
Check Environment

Make sure Node.js 22+ and OpenClaw are installed. Run openclaw --version in your terminal to verify.

2
Run Installation

Run the install command above in your terminal. ClawHub will automatically download and install GitLab to the ~/.openclaw/skills/ directory.

3
Verify Installation

Run openclaw skills list to check your installed skills and confirm GitLab appears in the list.

4
Configure (Optional)

Follow the configuration instructions in the description below to add skill settings to ~/.config/openclaw/openclaw.json5.

Manual Installation: Copy the Skill folder to ~/.openclaw/skills/ or the skills/ directory in your project root. Make sure the folder contains a SKILL.md file.
Project and repository management Issue tracking and merge requests CI/CD pipeline management

Detailed Description

GitLab MCP server provides comprehensive integration with the GitLab platform, covering project management, code review, issue tracking, and CI/CD pipelines, making AI your GitLab operations assistant.

Core Features

  • Project Management: Search and browse projects, view project info, members, and settings
  • File Operations: Read repository file contents, create and edit files, browse directory structures
  • Issue Management (create_issue/list_issues): Create, edit, and search issues, manage labels and milestones, add comments
  • Merge Request: Create and manage merge requests, view diffs, add comments, merge code
  • CI/CD Pipeline: View pipeline statuses and job logs, trigger and cancel pipeline runs
  • Branch Management: Create and delete branches, view branch protection rules

Configuration

{
  "mcpServers": {
    "gitlab": {
      "command": "npx",
      "args": ["-y", "@gitlab/mcp-server"],
      "env": {
        "GITLAB_TOKEN": "glpat-your-token",
        "GITLAB_URL": "https://gitlab.com"  // Or self-hosted instance URL
      }
    }
  }
}

Use Cases

  • Code review: View merge request code changes and add review comments
  • Issue management: Batch create and categorize issues, manage project backlogs
  • CI/CD monitoring: View build statuses, analyze failed pipeline logs
  • Project operations: Track code commit frequency, MR merge velocity, and other project metrics