Skip to main content
Glama

Git Repo Browser MCP

git_delete_branch

Remove unwanted branches from Git repositories locally. Specify the repository path and branch name, and optionally force deletion. Simplify repository management with this tool in the Git Repo Browser MCP.

Instructions

Delete a branch from the repository.

Input Schema

NameRequiredDescriptionDefault
branch_nameYesThe name of the branch to delete
forceNoWhether to force deletion
repo_pathYesThe path to the local Git repository

Input Schema (JSON Schema)

{ "properties": { "branch_name": { "description": "The name of the branch to delete", "type": "string" }, "force": { "default": false, "description": "Whether to force deletion", "type": "boolean" }, "repo_path": { "description": "The path to the local Git repository", "type": "string" } }, "required": [ "repo_path", "branch_name" ], "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