Skip to main content
Glama

PyGithub MCP Server

by AstroMined

create_branch

Create a new branch in a GitHub repository by specifying the owner, repo, branch name, and optional source branch. Use this tool to manage repository workflows directly through the PyGithub MCP Server.

Instructions

Create a new branch in a GitHub repository.

Args: params: Dictionary with branch parameters - owner: Repository owner (username or organization) - repo: Repository name - branch: Name for new branch - from_branch: Source branch (optional, defaults to repo default) Returns: MCP response with branch creation result

Input Schema

NameRequiredDescriptionDefault
paramsYes

Input Schema (JSON Schema)

{ "properties": { "params": { "title": "Params", "type": "object" } }, "required": [ "params" ], "title": "create_branchArguments", "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/AstroMined/pygithub-mcp-server'

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