Skip to main content
Glama

Atlassian Bitbucket MCP Server

by aashari

bb_add_branch

Creates a new branch in a Bitbucket repository by specifying the workspace, repository, new branch name, and source branch or commit. Requires repository write permissions.

Instructions

Creates a new branch in a specified Bitbucket repository. Requires the workspace slug (workspaceSlug), repository slug (repoSlug), the desired new branch name (newBranchName), and the source branch or commit hash (sourceBranchOrCommit) to branch from. Requires repository write permissions. Returns a success message.

Input Schema

NameRequiredDescriptionDefault
newBranchNameYesThe name for the new branch.
repoSlugYesRepository slug where the branch will be created.
sourceBranchOrCommitYesThe name of the branch or the commit hash to branch from.
workspaceSlugNoWorkspace slug containing the repository. If not provided, the system will use your default workspace (either configured via BITBUCKET_DEFAULT_WORKSPACE or the first workspace in your account). Example: "myteam"

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "newBranchName": { "description": "The name for the new branch.", "minLength": 1, "type": "string" }, "repoSlug": { "description": "Repository slug where the branch will be created.", "minLength": 1, "type": "string" }, "sourceBranchOrCommit": { "description": "The name of the branch or the commit hash to branch from.", "minLength": 1, "type": "string" }, "workspaceSlug": { "description": "Workspace slug containing the repository. If not provided, the system will use your default workspace (either configured via BITBUCKET_DEFAULT_WORKSPACE or the first workspace in your account). Example: \"myteam\"", "type": "string" } }, "required": [ "repoSlug", "newBranchName", "sourceBranchOrCommit" ], "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/aashari/mcp-server-atlassian-bitbucket'

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