GitLab MCP Server
OfficialThe GitLab MCP Server allows you to interact with GitLab for repository and project management through the GitLab API. With this server, you can:
File Operations: Create, update, or push single/multiple files in a commit while maintaining Git history
Project Management: Create new repositories, search for projects, fork repositories, and create branches
Issue Tracking: Create and manage issues with labels, assignees, and milestones
Merge Requests: Create and manage merge requests, including draft MRs and collaboration settings
Content Retrieval: Fetch contents of files or directories from specific branches, tags, or commits
Batch Support: Perform operations like pushing multiple files in a single commit
Error Handling: Receive clear feedback for common issues
Allows interaction with GitLab repositories including project management, file operations, branch creation, issue tracking, merge request management, repository forking, and project search capabilities through the GitLab API
README.md not found. View project on GitHub.
Available Tools
9 toolscreate_branchB
Create a new branch in a GitLab project
Inputs: branch (required), project_id (required), ref.
create_issueB
Create a new issue in a GitLab project
Inputs: title (required), project_id (required), labels, description, +2 more.
create_merge_requestB
Create a new merge request in a GitLab project
Inputs: title (required), project_id (required), source_branch (required), target_branch (required), +3 more.
create_or_update_fileC
Create or update a single file in a GitLab project
Inputs: branch (required), content (required), file_path (required), project_id (required), +2 more.
create_repositoryC
Create a new GitLab project
Inputs: name (required), visibility, description, initialize_with_readme.
fork_repositoryB
Fork a GitLab project to your account or specified namespace
Inputs: project_id (required), namespace.
get_file_contentsB
Get the contents of a file or directory from a GitLab project
Inputs: file_path (required), project_id (required), ref.
push_filesC
Push multiple files to a GitLab project in a single commit
Inputs: files (required), branch (required), project_id (required), commit_message (required).
search_repositoriesB
Search for GitLab projects
Inputs: search (required), page, per_page.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool targets a distinct resource or action (branch, issue, merge request, file, repository, fork, search) with no overlapping purposes.
All tool names follow a consistent verb_noun pattern (e.g., create_branch, get_file_contents), with only 'create_or_update_file' being slightly longer but still consistent.
9 tools is well-scoped for a GitLab server, covering core operations without being excessive or insufficient.
Covers essential create/read operations but lacks explicit update/delete for issues, merge requests, and branches, which agents may need to work around.
Maintenance
Related MCP Connectors
Unofficial GitLab MCP — wraps the GitLab REST API v4 (BYO API key)
A MCP server built for developers enabling Git based project management with project and personal…
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
Related MCP Servers
- -licenseNot gradedqualityBmaintenanceMCP Server for the GitHub API, enabling file operations, repository management, search functionality, and more.127,455 npm92,139MIT
- AlicenseBqualityDmaintenanceMCP Server for the GitHub API, providing features for file operations, repository management, and advanced search, with automatic branch creation and comprehensive error handling.188MIT
- AlicenseBqualityDmaintenanceGitLab MCP Server (with activity tracking and group projects listing features) This server is based on the original GitLab MCP server with Group Projects Listing and Activity Tracking enhancements861,090 npm66MIT
- AlicenseCqualityDmaintenanceAn MCP server that enables communication with GitLab repositories, allowing interaction with GitLab's API to manage projects, issues, and repositories through natural language.451MIT