Skip to main content
Glama

Git MCP Server

by Sheshiyer

stash_save

Save uncommitted changes to a Git stash with a custom message. Optionally include untracked files, preserve staged changes, or add ignored files for flexible repository management.

Instructions

Save changes to stash

Input Schema

NameRequiredDescriptionDefault
allNoInclude ignored files
includeUntrackedNoInclude untracked files
keepIndexNoKeep staged changes
messageNoStash message
pathNoPath to repository. MUST be an absolute path (e.g., /Users/username/projects/my-repo)

Input Schema (JSON Schema)

{ "properties": { "all": { "default": false, "description": "Include ignored files", "type": "boolean" }, "includeUntracked": { "default": false, "description": "Include untracked files", "type": "boolean" }, "keepIndex": { "default": false, "description": "Keep staged changes", "type": "boolean" }, "message": { "description": "Stash message", "type": "string" }, "path": { "description": "Path to repository. MUST be an absolute path (e.g., /Users/username/projects/my-repo)", "type": "string" } }, "required": [], "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