The GitLab MCP Server is a versatile tool designed to enhance project management and file operations using the GitLab API. It offers features such as automatic branch creation, comprehensive error handling, and the preservation of Git history during operations. Users can perform batch operations on multiple files, making it efficient for large-scale project updates. Key functionalities include creating or updating files, pushing multiple files in a single commit, searching for GitLab projects, and managing repositories. Additionally, it supports creating issues and merge requests, making it a comprehensive solution for managing GitLab projects effectively.
Create or update a single file in a project. Parameters: project_id (string), file_path (string), content (string), commit_message (string), branch (string), previous_path (optional string)
Push multiple files in a single commit. Parameters: project_id (string), branch (string), files (array), commit_message (string)
Search for GitLab projects. Parameters: search (string), page (optional number), per_page (optional number)
Create a new GitLab project. Parameters: name (string), description (optional string), visibility (optional string), initialize_with_readme (optional boolean)
Get contents of a file or directory. Parameters: project_id (string), file_path (string), ref (optional string)
Create a new issue. Parameters: project_id (string), title (string), description (optional string), assignee_ids (optional number[]), labels (optional string[]), milestone_id (optional number)
Create a new merge request. Parameters: project_id (string), title (string), description (optional string), source_branch (string), target_branch (string), draft (optional boolean), allow_collaboration (optional boolean)
Fork a project. Parameters: project_id (string), namespace (optional string)
Create a new branch. Parameters: project_id (string), branch (string), ref (optional string)
No reviews yet. Be the first to review!
Sign in to join the conversation
Start the server with node to access it via any client or IDE.
node path/to/downloaded/file.mjs