Skip to main content
Glama

Git MCP Server

by Sheshiyer

bulk_action

Perform multiple Git operations in sequence on a repository using a single command. Stages files, commits changes, and pushes updates efficiently.

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

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/Sheshiyer/git-mcp-v2'

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