Skip to main content
Glama

Git MCP Server

branch_delete

Remove a specific branch from a Git repository by specifying its name and repository path using the Git MCP Server API.

Instructions

Delete a branch

Input Schema

NameRequiredDescriptionDefault
nameYesBranch name
pathNoPath to repository. MUST be an absolute path (e.g., /Users/username/projects/my-repo)

Input Schema (JSON Schema)

{ "properties": { "name": { "description": "Branch name", "type": "string" }, "path": { "description": "Path to repository. MUST be an absolute path (e.g., /Users/username/projects/my-repo)", "type": "string" } }, "required": [ "name" ], "type": "object" }

You must be authenticated.

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/cyanheads/git-mcp-server'

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