← Back to list

gitlab-branches
by Knuckles-Team
GitLab MCP Server and Python API Wrapper
⭐ 9🍴 0📅 Jan 24, 2026
SKILL.md
name: gitlab-branches description: "Manages GitLab branches. Use for listing, creating, deleting, or querying branches in projects. Triggers: branch operations, git branching."
Overview
This skill handles branch-related tasks in GitLab via MCP tools. Focus on one operation per call for efficiency.
Available Tools
get_branches: Get branches in a GitLab project, optionally filtered.- Parameters:
project_id(str): Optional. - Project ID or pathsearch(Optional[str]): Optional. - Filter branches by name containing this termregex(Optional[str]): Optional. - Filter branches by regex pattern on namebranch(Optional[str]): Optional. - Branch name
- Parameters:
create_branch: Create a new branch in a GitLab project from a reference.- Parameters:
project_id(str): Optional. - Project ID or pathbranch(str): Optional. - New branch nameref(str): Optional. - Reference to create from (branch/tag/commit SHA)
- Parameters:
delete_branch: Delete a branch or all merged branches in a GitLab project.- Parameters:
project_id(str): Optional. - Project ID or pathbranch(Optional[str]): Optional. - Branch name to deletedelete_merged_branches(Optional[bool]): Optional. - Delete all merged branches (excluding protected)ctx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
Usage Instructions
- Identify the project_id (e.g., from query or prior context).
- Call the appropriate tool with minimal params.
- Handle pagination if results exceed limits (use MCP's built-in support).
Examples
- List branches: Call
get_brancheswith project_id="my/project" and search="feature". - Create:
create_branchwith project_id="123", branch="new-feature", ref="main". - Delete merged:
delete_branchwith project_id="123", delete_merged_branches=true.
Error Handling
- Missing params: Retry with required fields.
- 404: Branch/project not found—verify IDs.
- Rate limits: Wait and retry.
Score
Total Score
65/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon

