Skip to main content
Glama

Bitbucket MCP Server

by pdogra1299

delete_branch

Removes a specified branch from a Bitbucket repository. Specify the workspace, repository, and branch name. Optional force delete unmerged branches.

Instructions

Delete a branch

Input Schema

NameRequiredDescriptionDefault
branch_nameYesBranch name to delete
forceNoForce delete even if branch is not merged (optional, default: false)
repositoryYesRepository slug (e.g., "my-repo")
workspaceYesBitbucket workspace/project key (e.g., "PROJ")

Input Schema (JSON Schema)

{ "properties": { "branch_name": { "description": "Branch name to delete", "type": "string" }, "force": { "description": "Force delete even if branch is not merged (optional, default: false)", "type": "boolean" }, "repository": { "description": "Repository slug (e.g., \"my-repo\")", "type": "string" }, "workspace": { "description": "Bitbucket workspace/project key (e.g., \"PROJ\")", "type": "string" } }, "required": [ "workspace", "repository", "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/pdogra1299/bitbucket-mcp-server'

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