Git MCP Server

branch_delete

Delete a specific branch in a Git repository by specifying the branch name and repository path, streamlining branch management through the Git MCP Server.

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

ID: 46aozzlyhx