Skip to main content
Glama

MCP GitLab Server

by Vijay-Duke

gitlab_cherry_pick_commit

Apply a specific commit to another branch by creating a new commit, enabling backporting fixes or selective changes without merging. Requires commit SHA and target branch.

Instructions

Apply a specific commit to another branch without merging. Creates a new commit on target branch. Useful for backporting fixes or selective change application.

Input Schema

NameRequiredDescriptionDefault
branchYesGit branch name (string, required). Target branch for commits. Must exist. Example: 'feature/new-feature'
commit_shaYesGit commit SHA (string). Can be abbreviated (min 7 chars) or full 40-character SHA
project_idNoProject ID (integer) or path (string like 'group/project'). Optional - auto-detects from current git repository if not provided

Input Schema (JSON Schema)

{ "properties": { "branch": { "description": "Git branch name (string, required). Target branch for commits. Must exist. Example: 'feature/new-feature'", "type": "string" }, "commit_sha": { "description": "Git commit SHA (string). Can be abbreviated (min 7 chars) or full 40-character SHA", "type": "string" }, "project_id": { "description": "Project ID (integer) or path (string like 'group/project'). Optional - auto-detects from current git repository if not provided", "type": "string" } }, "required": [ "commit_sha", "branch" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Vijay-Duke/mcp-gitlab'

If you have feedback or need assistance with the MCP directory API, please join our Discord server