Skip to main content
Glama

Git MCP

by Andre-Buzeli

git-stash

Temporarily store uncommitted changes to switch branches or tasks, then restore them later using stash, pop, apply, list, show, drop, or clear operations.

Instructions

Git stash tool for temporary changes management. Supports stash, pop, apply, list, show, drop, clear operations for storing and retrieving work-in-progress changes.

Input Schema

NameRequiredDescriptionDefault
actionYesThe stash operation to perform
includeUntrackedNoInclude untracked files when stashing
indexNoTry to reinstate index changes when applying/popping
keepIndexNoKeep index unchanged when stashing
messageNoStash message (for stash operation)
onelineNoShow stash list in oneline format
patchNoInteractive patch mode for selective stashing
projectPathYesAbsolute path to the project directory
quietNoSuppress output during stash operations
stashRefNoStash reference (e.g., "stash@{0}", "0") for pop, apply, show, drop operations

Input Schema (JSON Schema)

{ "properties": { "action": { "description": "The stash operation to perform", "enum": [ "stash", "pop", "apply", "list", "show", "drop", "clear" ], "type": "string" }, "includeUntracked": { "description": "Include untracked files when stashing", "type": "boolean" }, "index": { "description": "Try to reinstate index changes when applying/popping", "type": "boolean" }, "keepIndex": { "description": "Keep index unchanged when stashing", "type": "boolean" }, "message": { "description": "Stash message (for stash operation)", "type": "string" }, "oneline": { "description": "Show stash list in oneline format", "type": "boolean" }, "patch": { "description": "Interactive patch mode for selective stashing", "type": "boolean" }, "projectPath": { "description": "Absolute path to the project directory", "type": "string" }, "quiet": { "description": "Suppress output during stash operations", "type": "boolean" }, "stashRef": { "description": "Stash reference (e.g., \"stash@{0}\", \"0\") for pop, apply, show, drop operations", "type": "string" } }, "required": [ "action", "projectPath" ], "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/Andre-Buzeli/git-mcp'

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