Skip to main content
Glama

Git Repo Browser MCP

git_archive

Archive a Git repository in zip or tar format by specifying the repo path, output path, and format. Includes options to set a prefix and tree-ish for precise archiving.

Instructions

Create a git archive (zip or tar).

Input Schema

NameRequiredDescriptionDefault
formatNoArchive format (zip or tar)zip
output_pathYesOutput path for the archive
prefixNoPrefix for files in the archive
repo_pathYesThe path to the local Git repository
treeishNoTree-ish to archive (default: HEAD)HEAD

Input Schema (JSON Schema)

{ "properties": { "format": { "default": "zip", "description": "Archive format (zip or tar)", "enum": [ "zip", "tar" ], "type": "string" }, "output_path": { "description": "Output path for the archive", "type": "string" }, "prefix": { "description": "Prefix for files in the archive", "type": "string" }, "repo_path": { "description": "The path to the local Git repository", "type": "string" }, "treeish": { "default": "HEAD", "description": "Tree-ish to archive (default: HEAD)", "type": "string" } }, "required": [ "repo_path", "output_path" ], "type": "object" }

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/bsreeram08/git-commands-mcp'

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