mcp-bitbucket-review

v0.2.0
mcp-bitbucket-review Checked 2 days ago Published 1 year ago

A 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.

ParameterTypeDescription
pr_url *stringBitbucket pull request URL

get_pr_details Get Pr Details

Get detailed information about a Bitbucket pull request.

ParameterTypeDescription
api_token *stringBitbucket API token (App password)
email *stringAtlassian account email
pr_id *integerPull request ID
repo_slug *stringRepository name/slug
workspace *stringBitbucket workspace name

get_bitbucket_pr_diff Get Bitbucket Pr Diff

Get the diff for a Bitbucket pull request.

ParameterTypeDescription
api_token *stringBitbucket API token (App password)
email *stringAtlassian account email
pr_id *integerPull request ID
repo_slug *stringRepository name/slug
workspace *stringBitbucket workspace name
binarybooleanWhether to include binary file diffs. Defaults to False.
context_linesNumber of context lines around changes. Defaults to 3.
ignore_whitespacebooleanWhether 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.

ParameterTypeDescription
repository_name *stringThe name of the repository.