GitLab

by modelcontextprotocol

Recommended
88.1k stars
5.9k downloads
Not rated
GitHub Website

About

MCP server for GitLab.

Details

Author
modelcontextprotocol
GitHub stars
88,148
Downloads
5,873
Categories
Developer Tools, Project Management, API

- —

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name GitLab
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

create_or_update_file

Create or update a single file in a GitLab project

search_repositories

Search for GitLab projects

create_repository

Create a new GitLab project

get_file_contents

Get the contents of a file or directory from a GitLab project

push_files

Push multiple files to a GitLab project in a single commit

create_issue

Create a new issue in a GitLab project

create_merge_request

Create a new merge request in a GitLab project

fork_repository

Fork a GitLab project to your account or specified namespace

create_branch

Create a new branch in a GitLab project

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

{
    "gitlab": {
        "command": "npx",
        "args": [
            "-y",
            "@modelcontextprotocol/server-gitlab"
        ],
        "env": {
            "GITLAB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>",
            "GITLAB_API_URL": "https://gitlab.com/api/v4"
        }
    }
}
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.