Version Control · Developer Tools

gitlab mcp logo

gitlab mcp

zereight/gitlab-mcp

Documentation → Setup guides, environment variables, and the full tool reference live on the hosted docs site.

Install

npm install -g @zereight/mcp-gitlab

Client configuration

{
  "mcpServers": {
    "gitlab": {
      "command": "zereight-mcp-gitlab",
      "args": [
        "--token=<value>",
        "--api-url=https://gitlab.com/api/v4"
      ]
    }
  }
}

Environment variables

GITLAB_OAUTH_CALLBACK_PROXYMCP_DANGEROUSLY_ALLOW_INSECURE_ISSUER_URLGITLAB_OAUTH_APP_IDMCP_SERVER_URLGITLAB_API_URL
GitHub stars
70
Author
@zereight
Category
Version Control, Developer Tools
Updated
Oct 6, 2026

Tools (40)

  • merge_merge_request

    Merge a merge request

  • approve_merge_request

    Approve a merge request

  • unapprove_merge_request

    Unapprove a merge request

  • get_merge_request_approval_state

    Get merge request approval details including approvers

  • get_merge_request_conflicts

    Get the conflicts of a merge request

  • execute_graphql

    Execute a GitLab GraphQL query

  • create_or_update_file

    Create or update a file in a GitLab project

  • search_repositories

    Search for GitLab projects

  • create_repository

    Create a new GitLab project

  • create_group

    Create new group or subgroup

  • get_file_contents

    Get contents of a file or directory from a GitLab project

  • push_files

    Push multiple files in a single commit

  • create_issue

    Create a new issue

  • create_merge_request

    Create a new merge request

  • fork_repository

    Fork a project to your account or specified namespace

  • create_branch

    Create a new branch

  • get_branch

    Get branch details (commit, protection status)

  • delete_branch

    Delete branch from project

  • get_protected_branch

    Get details of a single protected branch (access levels, force push settings)

  • protect_branch

    Protect a repository branch (set push/merge/unprotect access levels)

  • unprotect_branch

    Remove protection from a previously protected branch

  • update_default_branch

    Change the default branch of a project

  • get_merge_request

    Get details of a merge request (mergeRequestIid or branchName required).

  • get_merge_request_diffs

    Get the changes/diffs of a merge request (mergeRequestIid or branchName required)

  • get_merge_request_file_diff

    Get diffs for specific files from a merge request (mergeRequestIid or branchName required)

  • get_merge_request_version

    Get a specific version of a merge request

  • get_branch_diffs

    Get diffs between two branches or commits

  • update_merge_request

    Update a merge request (mergeRequestIid or branchName required)

  • create_note

    Create a new note (comment) to an issue or merge request

  • create_merge_request_thread

    Create a new thread on a merge request

  • resolve_merge_request_thread

    Resolve a thread on a merge request

  • get_merge_request_discussion

    Get a single discussion item for a merge request

  • delete_merge_request_discussion_note

    Delete a discussion note on a merge request

  • update_merge_request_discussion_note

    Update a discussion note on a merge request

  • create_merge_request_discussion_note

    Add a new discussion note to an existing merge request thread

  • create_merge_request_note

    Add a new note to a merge request

  • delete_merge_request_note

    Delete an existing merge request note

  • get_merge_request_note

    Get a specific note for a merge request

  • update_merge_request_note

    Modify an existing merge request note

  • get_draft_note

    Get a single draft note from a merge request

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Cline logo

Cline

Desktop · Free · MIT

An AI coding assistant integrated into the IDE. Supports MCP servers for enhanced functionality.

WindowsMacOSLinux
Cursor logo

Cursor

Desktop · Freemium · Proprietary

The first agentic IDE. The Cursor editor truly merges how developers and AI work together, delivering a magical coding experience.

WindowsMacOSLinux
VS Code GitHub Copilot logo

VS Code GitHub Copilot

Desktop · Freemium · MIT

VS Code integrates MCP with GitHub Copilot through agent mode, allowing direct interaction with MCP-provided tools in your agentic coding workflow. Configure servers in Claude Desktop, workspace, or user settings, with guided MCP installation and secure handling of secrets in input variables to avoid leaking hardcoded keys.

WindowsMacOSLinuxWeb

Related MCP servers

More servers
core logo

core

opensumi/core

3.3k

A framework helps you quickly build AI Native IDE products.

Version Control
test1 logo

test1

trpc-group/trpc-go

942

tRPC-Go, is the Go language implementation of tRPC, which is a pluggable, high-performance RPC framework.

Version Control
AI-Gateway logo

AI-Gateway

Azure-Samples/AI-Gateway

565

New! The AI Gateway Dev Portal is now live — A starting point for building your own developer portal on top of Azure API Management AI Gateway's. Fork it, open it in VS Code with GitHub Copilot (or any coding agent), and shape it to fit your needs!

Version Control
e2b logo

e2b

e2b-dev/mcp-server

233

Deprecated: This project is no longer actively maintained. It may not receive further updates or bug fixes.

Version Control
MCP Git Ingest logo

MCP Git Ingest

adhikasp/mcp-git-ingest

180

A Model Context Protocol (MCP) server that helps read GitHub repository structure and important files.

Version Control
Waldzell MCP logo

Waldzell MCP

waldzellai/waldzell-mcp

60

A collection of Model Context Protocol servers, each in its own folder under servers/ and usable independently.

Version Control