push_branch
Push the current local branch to origin after owner confirmation phrase; requires GITHUB_MCP_ALLOW_PUSH=true. Use it to publish local commits to the remote repository.
Instructions
Push the current local branch to origin. Requires GITHUB_MCP_ALLOW_PUSH=true and the owner confirmation phrase.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"confirmationPhrase": "<confirmationPhrase>"
},
"name": "push_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirmationPhrase | Yes |