Skip to main content
Glama

GitHub Enterprise MCP Server

create-branch

Create a new branch in a GitHub repository by specifying the owner, repository name, and branch name, with optional source branch selection.

Instructions

Create a new branch in a GitHub repository

Input Schema

NameRequiredDescriptionDefault
branchYesName for the new branch
from_branchNoSource branch to create from (defaults to the repository's default branch)
ownerYesRepository owner
repoYesRepository name

Input Schema (JSON Schema)

{ "properties": { "branch": { "description": "Name for the new branch", "type": "string" }, "from_branch": { "description": "Source branch to create from (defaults to the repository's default branch)", "type": "string" }, "owner": { "description": "Repository owner", "type": "string" }, "repo": { "description": "Repository name", "type": "string" } }, "required": [ "owner", "repo", "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/piyushgIITian/github-enterprice-mcp'

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