Skip to main content
Glama

create_branch

Create a new branch in a GitLab project by specifying the project ID, branch name, and source reference for development or feature work.

Instructions

Create a new branch in a GitLab project

Input Schema

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

Input Schema (JSON Schema)

{ "properties": { "branch": { "description": "Name for the new branch", "type": "string" }, "project_id": { "description": "Project ID or complete URL-encoded path to project", "type": "string" }, "ref": { "description": "Source branch/commit for new branch", "type": "string" } }, "required": [ "project_id", "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/harshmaur/gitlab-mcp'

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