Skip to main content
Glama

Atlassian Bitbucket MCP Server

by aashari

bb_diff_branches

Compare changes between branches in a Bitbucket repository. Identify file additions, deletions, and modifications with formatted Markdown output. Configure workspaceSlug, repoSlug, sourceBranch, and destinationBranch to analyze differences efficiently.

Instructions

Shows changes between branches in a repository identified by workspaceSlug and repoSlug. Compares changes in sourceBranch relative to destinationBranch. Limits the number of files to show with limit. Returns the diff as formatted Markdown showing file changes, additions, and deletions. Requires Bitbucket credentials to be configured.

Input Schema

NameRequiredDescriptionDefault
cursorNoPagination cursor for retrieving additional results
destinationBranchNoDestination branch for comparison. IMPORTANT NOTE: The output displays as "destinationBranch → sourceBranch", and parameter naming can be counterintuitive. For full code diffs, try both parameter orders if initial results show only summary. If not specified, defaults to "main". Example: "develop"
includeFullDiffNoWhether to include the full code diff in the output. Defaults to true for rich output.
limitNoMaximum number of changed files to return in results
repoSlugYesRepository slug containing the branches. Must be a valid repository slug in the specified workspace. Example: "project-api"
sourceBranchYesSource branch for comparison. IMPORTANT NOTE: The output displays as "destinationBranch → sourceBranch", and parameter naming can be counterintuitive. For full code diffs, try both parameter orders if initial results show only summary. Example: "feature/login-redesign"
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": { "cursor": { "description": "Pagination cursor for retrieving additional results", "exclusiveMinimum": 0, "type": "integer" }, "destinationBranch": { "description": "Destination branch for comparison. IMPORTANT NOTE: The output displays as \"destinationBranch → sourceBranch\", and parameter naming can be counterintuitive. For full code diffs, try both parameter orders if initial results show only summary. If not specified, defaults to \"main\". Example: \"develop\"", "type": "string" }, "includeFullDiff": { "description": "Whether to include the full code diff in the output. Defaults to true for rich output.", "type": "boolean" }, "limit": { "description": "Maximum number of changed files to return in results", "exclusiveMinimum": 0, "type": "integer" }, "repoSlug": { "description": "Repository slug containing the branches. Must be a valid repository slug in the specified workspace. Example: \"project-api\"", "minLength": 1, "type": "string" }, "sourceBranch": { "description": "Source branch for comparison. IMPORTANT NOTE: The output displays as \"destinationBranch → sourceBranch\", and parameter naming can be counterintuitive. For full code diffs, try both parameter orders if initial results show only summary. Example: \"feature/login-redesign\"", "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", "sourceBranch" ], "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