MCPServers

Summary

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.

Available Actions(9)

create_or_update_file

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_files

Push multiple files in a single commit. Parameters: project_id (string), branch (string), files (array), commit_message (string)

search_repositories

Search for GitLab projects. Parameters: search (string), page (optional number), per_page (optional number)

create_repository

Create a new GitLab project. Parameters: name (string), description (optional string), visibility (optional string), initialize_with_readme (optional boolean)

get_file_contents

Get contents of a file or directory. Parameters: project_id (string), file_path (string), ref (optional string)

create_issue

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_merge_request

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_repository

Fork a project. Parameters: project_id (string), namespace (optional string)

create_branch

Create a new branch. Parameters: project_id (string), branch (string), ref (optional string)

Last Updated: April 8, 2025

社区评论

0.0
0 条评论
5
0
4
0
3
0
2
0
1
0

暂无评论. 成为第一个评论的人!

登录以参与讨论

Try it now in
HighlightHighlight AI

语言

TypeScript

分类