Git MCP Server

push

Push commits to remote

Input Schema

NameRequiredDescriptionDefault
branchYesBranch name
forceNoForce push changes
noVerifyNoSkip pre-push hooks
pathNoPath to repository. MUST be an absolute path (e.g., /Users/username/projects/my-repo)
remoteNoRemote nameorigin
tagsNoPush all tags

Input Schema (JSON Schema)

{ "properties": { "branch": { "description": "Branch name", "type": "string" }, "force": { "default": false, "description": "Force push changes", "type": "boolean" }, "noVerify": { "default": false, "description": "Skip pre-push hooks", "type": "boolean" }, "path": { "description": "Path to repository. MUST be an absolute path (e.g., /Users/username/projects/my-repo)", "type": "string" }, "remote": { "default": "origin", "description": "Remote name", "type": "string" }, "tags": { "default": false, "description": "Push all tags", "type": "boolean" } }, "required": [ "branch" ], "type": "object" }