Skip to main content
Glama

Bitbucket MCP Server

by pdogra1299

create_pull_request

Generate a pull request in Bitbucket by specifying workspace, repository, branches, and optional details like description, reviewers, and branch closure setting.

Instructions

Create a new pull request

Input Schema

NameRequiredDescriptionDefault
close_source_branchNoWhether to close source branch after merge (optional, default: false)
descriptionNoDescription of the pull request (optional)
destination_branchYesDestination branch name (e.g., "main", "master")
repositoryYesRepository slug (e.g., "my-repo")
reviewersNoArray of reviewer usernames/emails (optional)
source_branchYesSource branch name
titleYesTitle of the pull request
workspaceYesBitbucket workspace/project key (e.g., "PROJ")

Input Schema (JSON Schema)

{ "properties": { "close_source_branch": { "description": "Whether to close source branch after merge (optional, default: false)", "type": "boolean" }, "description": { "description": "Description of the pull request (optional)", "type": "string" }, "destination_branch": { "description": "Destination branch name (e.g., \"main\", \"master\")", "type": "string" }, "repository": { "description": "Repository slug (e.g., \"my-repo\")", "type": "string" }, "reviewers": { "description": "Array of reviewer usernames/emails (optional)", "items": { "type": "string" }, "type": "array" }, "source_branch": { "description": "Source branch name", "type": "string" }, "title": { "description": "Title of the pull request", "type": "string" }, "workspace": { "description": "Bitbucket workspace/project key (e.g., \"PROJ\")", "type": "string" } }, "required": [ "workspace", "repository", "title", "source_branch", "destination_branch" ], "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