Skip to main content
Glama

Git Repo Browser MCP

git_clean

Clean untracked files and directories from a local Git repository. Configure options to remove directories, force clean, or perform a dry run to preview changes.

Instructions

Perform git clean operations.

Input Schema

NameRequiredDescriptionDefault
directoriesNoWhether to remove directories as well
dry_runNoWhether to perform a dry run
forceNoWhether to force clean
repo_pathYesThe path to the local Git repository

Input Schema (JSON Schema)

{ "properties": { "directories": { "default": false, "description": "Whether to remove directories as well", "type": "boolean" }, "dry_run": { "default": true, "description": "Whether to perform a dry run", "type": "boolean" }, "force": { "default": false, "description": "Whether to force clean", "type": "boolean" }, "repo_path": { "description": "The path to the local Git repository", "type": "string" } }, "required": [ "repo_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