Skip to main content
Glama

GitHub MCP Server Plus

create_branch

Easily create a new branch in a GitHub repository by specifying the repository owner, repo name, and branch name, with an option to set a custom source branch.

Instructions

Create a new branch in a GitHub repository

Input Schema

NameRequiredDescriptionDefault
branchYesName for the new branch
from_branchNoOptional: source branch to create from (defaults to the repository's default branch)
ownerYesRepository owner (username or organization)
repoYesRepository name

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "branch": { "description": "Name for the new branch", "type": "string" }, "from_branch": { "description": "Optional: source branch to create from (defaults to the repository's default branch)", "type": "string" }, "owner": { "description": "Repository owner (username or organization)", "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/PhialsBasement/mcp-github-server-plus'

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