git_push
Push current or specified branch to origin in a pushable repository, with optional branch and remote parameters. Enables controlled git updates via MCP.
Instructions
Push the current or specified branch to origin in a pushable repository.
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": {
"repo": "<repo>"
},
"name": "git_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| branch | No | ||
| remote | No |