Skip to main content
Glama

Atlassian Bitbucket MCP Server

by aashari

bb_get_pr

Retrieve detailed pull request information from Bitbucket, including status, reviewers, and code changes. Optionally include comments for comprehensive review. Requires workspace, repository, and PR ID inputs.

Instructions

Retrieves detailed information about a specific pull request identified by prId within a repository (repoSlug). If workspaceSlug is not provided, the system will use your default workspace. Includes PR details, status, reviewers, and diff statistics. Set includeFullDiff to true (default) for the complete code changes. Set includeComments to true to also retrieve comments (default: false; Note: Enabling this may increase response time for pull requests with many comments). Returns rich information as formatted Markdown, including PR summary, code changes, and optionally comments. Requires Bitbucket credentials to be configured.

Input Schema

NameRequiredDescriptionDefault
includeCommentsNoSet to true to retrieve comments for the pull request. Default: false. Note: Enabling this may increase response time for pull requests with many comments due to additional API calls.
includeFullDiffNoSet to true to retrieve the full diff content instead of just the summary. Default: true (rich output by default)
prIdYesNumeric ID of the pull request to retrieve as a string. Must be a valid pull request ID in the specified repository. Example: "42"
repoSlugYesRepository slug containing the pull request. This must be a valid repository in the specified workspace. Example: "project-api"
workspaceSlugNoWorkspace slug containing the repository. If not provided, the system will use your default workspace. Example: "myteam"

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "includeComments": { "default": false, "description": "Set to true to retrieve comments for the pull request. Default: false. Note: Enabling this may increase response time for pull requests with many comments due to additional API calls.", "type": "boolean" }, "includeFullDiff": { "default": true, "description": "Set to true to retrieve the full diff content instead of just the summary. Default: true (rich output by default)", "type": "boolean" }, "prId": { "description": "Numeric ID of the pull request to retrieve as a string. Must be a valid pull request ID in the specified repository. Example: \"42\"", "minLength": 1, "type": "string" }, "repoSlug": { "description": "Repository slug containing the pull request. This must be a valid repository in the specified workspace. Example: \"project-api\"", "minLength": 1, "type": "string" }, "workspaceSlug": { "description": "Workspace slug containing the repository. If not provided, the system will use your default workspace. Example: \"myteam\"", "type": "string" } }, "required": [ "repoSlug", "prId" ], "type": "object" }
Install Server

Other Tools from Atlassian Bitbucket MCP Server

Related Tools

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