MCP Gitlab MCP server
Secure MCP server for GitLab projects, merge requests, issues, and pipelines
2 stars
Reviews
Write oneNobody has reviewed MCP Gitlab yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
MCP Gitlab tools (63, 26 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
cancel_job_toolwrite actionCancel a running CI/CD job.
cancel_pipeline_toolwrite actionCancel a running CI/CD pipeline.
compare_branches_toolCompare two branches, tags, or commits.
create_branch_toolwrite actionCreate a new branch in a GitLab repository.
create_file_toolwrite actionCreate a new file in a GitLab repository.
create_issue_note_toolwrite actionCreate a note (comment) on an issue.
create_issue_toolwrite actionCreate a new issue in a GitLab project.
create_label_toolwrite actionCreate a new label in a GitLab project.
create_merge_request_toolwrite actionCreate a new merge request.
create_milestone_toolwrite actionCreate a new milestone in a GitLab project.
create_mr_discussion_toolwrite actionCreate a new discussion on a merge request.
create_mr_note_toolwrite actionCreate a note (comment) on a merge request.
create_pipeline_toolwrite actionCreate (trigger) a new CI/CD pipeline.
create_project_toolwrite actionCreate a new GitLab project.
create_release_toolwrite actionCreate a new release for a GitLab project.
create_snippet_toolwrite actionCreate a new snippet in a GitLab project.
create_wiki_page_toolwrite actionCreate a new wiki page in a GitLab project.
delete_branch_toolwrite actionDelete a branch from a GitLab repository.
delete_job_toolwrite actionDelete a CI/CD job's artifacts and trace log.
delete_label_toolwrite actionDelete a label from a GitLab project.
delete_pipeline_toolwrite actionDelete a CI/CD pipeline and all its jobs permanently.
delete_project_toolwrite actionDelete a GitLab project permanently.
get_current_user_toolGet the currently authenticated GitLab user.
get_file_toolGet a file from a GitLab repository.
get_group_toolGet GitLab group details by ID or path.
get_issue_toolGet a single issue by its IID.
get_job_log_toolGet the log (trace) output of a CI/CD job.
get_merge_request_toolGet a single merge request by its IID.
get_mr_changes_toolGet the changes (diff) for a merge request.
get_pipeline_toolGet a single CI/CD pipeline by ID.
get_project_branch_toolGet a single repository branch.
get_project_toolGet GitLab project details by ID or path.
get_release_toolGet a single release by tag name.
get_user_toolGet a specific GitLab user by ID.
get_wiki_page_toolGet a single wiki page by slug.
list_group_projects_toolList projects within a GitLab group.
list_groups_toolList GitLab groups accessible by the API token.
list_issue_notes_toolList notes (comments) on an issue.
list_issues_toolList issues for a GitLab project.
list_labels_toolList labels for a GitLab project.
list_merge_requests_toolList merge requests for a GitLab project.
list_milestones_toolList milestones for a GitLab project.
list_mr_discussions_toolList discussions (threaded comments) on a merge request.
list_mr_notes_toolList notes (comments) on a merge request.
list_pipeline_jobs_toolList jobs for a CI/CD pipeline.
list_pipelines_toolList CI/CD pipelines for a GitLab project.
list_project_branches_toolList repository branches for a GitLab project.
list_project_commits_toolList repository commits for a GitLab project.
list_projects_toolList GitLab projects accessible by the API token.
list_releases_toolList releases for a GitLab project.
list_repository_tree_toolList repository tree (files and directories).
list_snippets_toolList snippets for a GitLab project.
list_users_toolList GitLab users.
list_wiki_pages_toolList wiki pages for a GitLab project.
retry_job_toolRetry a specific failed CI/CD job.
retry_pipeline_toolRetry all failed jobs in a CI/CD pipeline.
search_global_toolSearch across all GitLab resources accessible by the token.
search_project_toolSearch within a specific GitLab project.
update_file_toolwrite actionUpdate an existing file in a GitLab repository.
update_issue_toolwrite actionUpdate an existing issue.
update_label_toolwrite actionUpdate an existing label in a GitLab project.
update_merge_request_toolwrite actionUpdate an existing merge request.
update_milestone_toolwrite actionUpdate an existing milestone.
Public scan report
scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it
- Code scan27 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 2 days ago15/15
- Maintainer identityregistry namespace matches repository owner7/10
How MCP Gitlab compares
Against every graded Developer tools MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 91/100
- higher than 85% of 1,119 Developer tools servers
- Tools
- 63
- the typical Developer tools server has 7
- Tools that change things
- 41%
- typical: 5%. Fewer write tools means less an agent can break
- GitHub stars
- 2
- more than 65% of 855 Developer tools servers
What its tools let an agent do: 37 read · 14 create · 5 change · 7 delete
Install MCP Gitlab in Claude Code, Cursor or VS Code
claude mcp add gitlab -- uvx mcp-gitlab-crunchtools
What the publisher says
From the MCP Gitlab repository's README, as published. We do not edit it. Read it on GitHub
MCP GitLab CrunchTools
A secure MCP (Model Context Protocol) server for GitLab projects, merge requests, issues, pipelines, and search. Works with any GitLab instance (gitlab.com, self-hosted, or enterprise).
Overview
This MCP server is designed to be:
- Secure by default - documented threat model (see SECURITY.md), Pydantic input validation, and the API token held as a SecretStr to prevent accidental logging
- No third-party services - Runs locally via stdio, your API token never leaves your machine
- Multi-instance - Works with gitlab.com, self-hosted GitLab, or enterprise instances via configurable URL
- Cross-platform - Works on Linux, macOS, and Windows
- Automatically updated - GitHub Actions monitor for CVEs and update dependencies
- Containerized - Available at quay.io/crunchtools/mcp-gitlab built on Hummingbird Python base image
Naming Convention
Why Hummingbird?
The container image is built on the Hummingbird Python base image from Project Hummingbird, which provides:
- Minimal CVE exposure - Built with a minimal package set, dramatically reducing the attack surface
- Regular updates - Security patches are applied promptly
- Optimized for Python - Pre-configured Python environment with uv package manager
- Production-ready - Proper signal handling and non-root user defaults
Features
Project Management (5 tools)
- list_projects - List projects with filtering and search
- get_project - Get project details by ID or path
- listprojectbranches - List repository branches
- getprojectbranch - Get a single branch
- listprojectcommits - List commits with date/path filtering
Group Management (3 tools)
- list_groups - List groups with filtering
- get_group - Get group details by ID or path
- listgroupprojects - List projects in a group (with subgroup support)
Merge Requests (7 tools)
- listmergerequests - List MRs by state, labels, milestone
- getmergerequest - Get MR details
- createmergerequest - Create a new MR
- updatemergerequest - Update MR title, description, state, assignees
- listmrnotes - List comments on an MR
- createmrnote - Add a comment to an MR
- getmrchanges - Get the diff for an MR
Issues (6 tools)
- list_issues - List issues by state, labels, milestone, assignee
- get_issue - Get issue details
- create_issue - Create a new issue
- update_issue - Update issue title, description, state, labels
- listissuenotes - List comments on an issue
- createissuenote - Add a comment to an issue
Pipelines (4 tools)
- list_pipelines - List CI/CD pipelines with status filtering
- get_pipeline - Get pipeline details
- listpipelinejobs - List jobs in a pipeline
- getjoblog - Get job log output
Search (2 tools)
- search_global - Search across all accessible GitLab resources
- search_project - Search within a specific project
Installation
With uvx (Recommended)
uvx mcp-gitlab-crunchtoolsWith pip
pip install mcp-gitlab-crunchtoolsWith Container
podman run -e GITLAB_TOKEN=your_token \
quay.io/crunchtools/mcp-gitlabConfiguration
Environment Variables
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
MCP Gitlab: common questions
- Is MCP Gitlab MCP server safe?
- Yes, by our scan: it is graded A (91/100). Read the MCP Gitlab safety report
- How do I install MCP Gitlab?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does MCP Gitlab need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is MCP Gitlab maintained?
- The last commit was 39 days ago (2026-09-26). The latest release is v0.4.1.
- What can I use instead of MCP Gitlab?
- Servers from other publishers that do the same job: Gk CLI MCP server, Sentry MCP server and GitHub MCP server.
- How does MCP Gitlab compare with other Developer tools MCP servers?
- safety score 91/100 (higher than 85% of 1,119 Developer tools servers); tools 63 (the typical Developer tools server has 7); tools that change things 41% (typical: 5%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to MCP Gitlab
Same job from other publishers: the closest match first, then the best rated.
Gk CLIThe GitKraken MCP Server for managing repos, PRs, issues across GitHub, GitLab, Bitbucket and more.not reviewedEstablishedB- SentryMCP server for Sentry - error monitoring, issue tracking, and debugging for AI assistantsnot reviewedWidely usedA
- GitHubConnect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.not reviewedEstablishedA
walkerOS FlowBuild, validate, simulate, and deploy walkerOS event pipelinesnot reviewedEstablishedB- Atlassian Dc JiraMCP server for Atlassian Jira Data Center - search, view, and create issuesnot reviewedEstablishedB