create_branch
Create a new branch in a GitHub repository by specifying the owner, repository, and branch name. Optionally, set a source branch to derive the new branch from. Integrates with MCP API for secure access token management.
Instructions
Create a new branch in a GitHub repository
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branch | Yes | Name for the new branch | |
from_branch | No | Optional: source branch to create from (defaults to the repository's default branch) | |
owner | Yes | Repository owner (username or organization) | |
repo | Yes | Repository name |