Git MCP Server

by cyanheads
Verified

bulk_action

Execute multiple Git operations sequentially, including staging files, committing changes, and pushing to branches, using a defined array of actions for streamlined workflow management.

Instructions

Execute multiple Git operations in sequence. This is the preferred way to execute multiple operations.

Input Schema

NameRequiredDescriptionDefault
actionsYesArray of Git operations to execute in sequence
pathNoPath to repository. MUST be an absolute path (e.g., /Users/username/projects/my-repo)

Input Schema (JSON Schema)

{ "properties": { "actions": { "description": "Array of Git operations to execute in sequence", "items": { "oneOf": [ { "properties": { "files": { "description": "Files to stage. If not provided, stages all changes.", "items": { "description": "MUST be an absolute path (e.g., /Users/username/projects/my-repo/src/file.js)", "type": "string" }, "type": "array" }, "type": { "const": "stage" } }, "required": [ "type" ], "type": "object" }, { "properties": { "message": { "description": "Commit message", "type": "string" }, "type": { "const": "commit" } }, "required": [ "type", "message" ], "type": "object" }, { "properties": { "branch": { "description": "Branch name", "type": "string" }, "remote": { "default": "origin", "description": "Remote name", "type": "string" }, "type": { "const": "push" } }, "required": [ "type", "branch" ], "type": "object" } ], "type": "object" }, "minItems": 1, "type": "array" }, "path": { "description": "Path to repository. MUST be an absolute path (e.g., /Users/username/projects/my-repo)", "type": "string" } }, "required": [ "actions" ], "type": "object" }

You must be authenticated.

Other Tools from Git MCP Server

Related Tools

ID: e0hyslgby6