Version Control · Developer Tools

MCP GitLab

Vijay-Duke/mcp-gitlab

A Model Context Protocol (MCP) server that provides comprehensive GitLab API integration. This server enables LLMs to interact with GitLab repositories, manage merge requests, issues, and perform various Git operations.

Install

uvx mcp-gitlab

Environment variables

GITLAB_PRIVATE_TOKENGITLAB_OAUTH_TOKENGITLAB_URL
Category
Version Control, Developer Tools
License
Apache-2.0
Updated
Oct 6, 2026

Features

  • Authentication & Users - Get current user info and lookup user profiles

  • Project Management - List, search, and get details about GitLab projects

  • Merge Requests - List, read, update, approve, and merge MRs

  • CI/CD Pipelines - View pipeline status, jobs, and artifacts

  • Discussions - Read and resolve merge request discussions

  • Smart Operations - Batch operations, AI summaries, and smart diffs

  • Batch Operations - Execute multiple GitLab operations atomically with rollback support

Tools (40)

  • gitlab_get_current_user

    Get the currently authenticated user's profile information.

  • gitlab_get_user

    Get details for a specific user by ID or username.

  • gitlab_list_projects

    List accessible GitLab projects with pagination and search.

  • gitlab_get_project

    Get detailed information about a specific project.

  • gitlab_get_current_project

    Get the GitLab project information from the current git repository.

  • gitlab_list_issues

    List project issues with state filtering.

  • gitlab_get_issue

    Get a single issue with full details.

  • gitlab_add_issue_comment

    Add a comment to an issue.

  • gitlab_list_merge_requests

    List merge requests with filtering options.

  • gitlab_get_merge_request

    Get detailed merge request information.

  • gitlab_update_merge_request

    Update merge request fields.

  • gitlab_merge_merge_request

    Merge a merge request with options.

  • gitlab_approve_merge_request

    Approve a merge request.

  • gitlab_get_file_content

    Read file content from the repository.

  • gitlab_create_commit

    Create a commit with multiple file changes.

  • gitlab_compare_refs

    Compare two branches, tags, or commits.

  • gitlab_list_pipeline_jobs

    List jobs in a specific CI/CD pipeline.

  • gitlab_list_project_jobs

    List jobs for a project with optional scope filtering.

  • gitlab_download_job_artifact

    Get information about job artifacts (security note: content not downloaded).

  • gitlab_batch_operations

    Execute multiple operations atomically with rollback support.

  • gitlab_summarize_merge_request

    Generate an AI-friendly summary of a merge request.

  • gitlab_smart_diff

    Get a structured diff with context and size limits.

  • gitlab_search_user

    Search for GitLab users by name, username, or email.

  • gitlab_get_user_details

    Get comprehensive user profile and metadata.

  • gitlab_get_my_profile

    Get the current authenticated user's complete profile.

  • gitlab_get_user_contributions_summary

    Summarize user's recent contributions across issues, MRs, and commits.

  • gitlab_get_user_activity_feed

    Retrieve user's complete activity/events timeline.

  • gitlab_get_user_open_mrs

    Get all open merge requests authored by a user.

  • gitlab_get_user_review_requests

    Get MRs where user is assigned as reviewer with pending action.

  • gitlab_get_user_open_issues

    Get open issues assigned to a user, prioritized by severity/SLA.

  • gitlab_get_user_reported_issues

    Get issues reported/created by a user.

  • gitlab_get_user_resolved_issues

    Get issues closed/resolved by a user.

  • gitlab_get_user_commits

    Get commits authored by a user within date range or branch.

  • Projects

    gitlab_list_projects, gitlab_get_project, gitlab_get_current_project, gitlab_search_projects

  • Issues

    gitlab_list_issues, gitlab_get_issue, gitlab_add_issue_comment, gitlab_summarize_issue

  • Repository

    gitlab_get_file_content, gitlab_list_repository_tree, gitlab_list_commits, gitlab_get_commit, gitlab_get_commit_diff, gitlab_create_commit,…

  • Branches

    gitlab_list_branches

  • Search

    gitlab_search_projects, gitlab_search_in_project

  • Users

    gitlab_get_current_user, gitlab_get_user, gitlab_list_user_events, gitlab_list_project_members

  • Releases

    gitlab_list_releases

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

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS

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
gitlab mcp logo

gitlab mcp

zereight/gitlab-mcp

70

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

Version Control