Skip to main content
Glama

Git MCP Server

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" }
Install Server

Other Tools from Git MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cyanheads/git-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server