gitlab mcp

create_branch

Create a new branch in a GitLab project

Input Schema

NameRequiredDescriptionDefault
branchYesName for the new branch
project_idYesProject ID or URL-encoded path
refNoSource branch/commit for new branch

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "branch": { "description": "Name for the new branch", "type": "string" }, "project_id": { "description": "Project ID or URL-encoded path", "type": "string" }, "ref": { "description": "Source branch/commit for new branch", "type": "string" } }, "required": [ "project_id", "branch" ], "type": "object" }