Skip to main content
Glama
Acendas

Bitbucket MCP Server

by Acendas

merge_pull_request

Merge a pull request on Bitbucket Cloud using specified strategies like merge_commit, squash, or fast_forward, with options to close source branches and add custom commit messages.

Instructions

Merge a Pull Request on Bitbucket Cloud.

Args: repo_slug: Repository slug (name) pr_id: Pull Request ID to merge merge_strategy: Merge strategy - "merge_commit", "squash", or "fast_forward" (default: merge_commit) close_source_branch: Whether to close the source branch after merge (default: False) message: Custom merge commit message (optional) workspace: Bitbucket workspace (optional if configured)

Returns: Merge result with commit details or error message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_slugYes
pr_idYes
merge_strategyNomerge_commit
close_source_branchNo
messageNo
workspaceNo

Latest Blog Posts

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/Acendas/bitbucket-mcp'

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