mcp-bitbucket-review
v0.2.0A simple MCP server for adding pull request review functionality for users of bitbucket.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_bitbucket_creds Get Bitbucket Creds
Retrieve Bitbucket credentials from environment variables. Returns: tuple: Containing the Bitbucket email and API token.
parse_bitbucket_pr_url Parse Bitbucket Pr Url
Parse a Bitbucket pull request URL to extract workspace, repository, and PR ID.
| Parameter | Type | Description |
|---|---|---|
pr_url * | string | Bitbucket pull request URL |
get_pr_details Get Pr Details
Get detailed information about a Bitbucket pull request.
| Parameter | Type | Description |
|---|---|---|
api_token * | string | Bitbucket API token (App password) |
email * | string | Atlassian account email |
pr_id * | integer | Pull request ID |
repo_slug * | string | Repository name/slug |
workspace * | string | Bitbucket workspace name |
get_bitbucket_pr_diff Get Bitbucket Pr Diff
Get the diff for a Bitbucket pull request.
| Parameter | Type | Description |
|---|---|---|
api_token * | string | Bitbucket API token (App password) |
email * | string | Atlassian account email |
pr_id * | integer | Pull request ID |
repo_slug * | string | Repository name/slug |
workspace * | string | Bitbucket workspace name |
binary | boolean | Whether to include binary file diffs. Defaults to False. |
context_lines | Number of context lines around changes. Defaults to 3. | |
ignore_whitespace | boolean | Whether to ignore whitespace changes. Defaults to True. |
get_code_review_checklist Get Code Review Checklist
Get code review checklist which acts as a guideline to review pull request. LLM must call this to get repository specific review guidelines.
| Parameter | Type | Description |
|---|---|---|
repository_name * | string | The name of the repository. |