C

Bitbucket MCP Server

Community-maintained MCP server for Bitbucket API supporting both Cloud and Server, with PR review, code search, and file management tools.

Overall Score67/100

Score Breakdown

Server Info

Package
@nexus2520/bitbucket-mcp-server
Registry
npm
Maintainer
Community
Category
Developer Tools
Tags
gitreposatlassian
Last Scanned
7 Apr 2026

Findings

4 issues

Authentication & Identity

HIGHNo per-request auth - requires instance-per-user

Stdio-only transport. Auth via BITBUCKET_USERNAME + BITBUCKET_APP_PASSWORD (Cloud) or BITBUCKET_TOKEN (Server). No HTTP/SSE transport, no MCP OAuth. Tool groups can be filtered via BITBUCKET_TOOL_GROUPS env var. For multi-tenant deployment, the platform must spawn a separate server instance per user.

Remediation

Add HTTP/SSE transport to accept per-request Authorization headers, or implement the MCP OAuth spec.

Tool Schema Quality

MEDIUMOnly 5 of 29 schemas have parameter constraints

Most schemas lack maxLength, enum, or pattern constraints on string parameters.

Remediation

Add constraints to string parameters, especially on write operations.

Maintenance & Trust

LOWCommunity-maintained by nexus2520

No official vendor backing.

Remediation

Seek vendor verification.

HIGH9 dependency vulnerabilities (1 critical, 4 high)

npm audit found 1 critical and 4 high severity CVEs.

Remediation

Run `npm audit fix` and update vulnerable dependencies.

Tools

29 total
NameDescriptionRisk
get_pull_requestGet full details of a pull request including active comments, file changes, reviewer status, and merge commit informationread
list_pull_requestsList pull requests for a repository with optional filtersread
create_pull_requestCreate a new pull requestwrite
update_pull_requestUpdate an existing pull request. Existing reviewers and their approval status are preserved when not explicitly updating the reviewer list.write
merge_pull_requestMerge a pull requestwrite
decline_pull_requestDecline/reject a pull requestwrite
add_commentAdd a comment to a pull request. Supports general comments, threaded replies, inline comments on specific lines, and code suggestions.write
delete_commentDelete a comment from a pull request. Comments with replies cannot be deleted.write
get_pull_request_diffGet the diff for a pull request with structured line-by-line information.read
set_pr_approvalApprove or remove approval from a pull requestwrite
set_review_statusRequest changes on or remove a change request from a pull requestwrite
list_pr_tasksList all tasks on a pull request (Bitbucket Server only)read
create_pr_taskCreate a new task on a pull request (Bitbucket Server only)write
update_pr_taskUpdate the text of an existing task on a pull request (Bitbucket Server only)write
delete_pr_taskDelete a task from a pull request (Bitbucket Server only)write
set_pr_task_statusMark a task as done or reopen it on a pull request (Bitbucket Server only)write
convert_pr_itemConvert a comment to a task or a task back to a comment (Bitbucket Server only)write
list_pr_commitsList all commits in a pull requestread
list_branch_commitsList commits in a branch with optional filtersread
list_branchesList branches in a repositoryread
get_branchGet detailed information about a branch including its latest commit and associated pull requestsread
delete_branchDelete a branchadmin
list_directory_contentList files and directories in a repository pathread
get_file_contentGet file content from a repository with smart truncation for large filesread
search_filesSearch for files by name or path pattern in a repositoryread
search_codeSearch for code across Bitbucket Server repositories (Server only)read
search_repositoriesSearch for repositories by name or description (Bitbucket Server only)read
list_projectsList all accessible Bitbucket projects/workspaces with optional filteringread
list_repositoriesList repositories in a project or across all accessible projectsread

Deploy Bitbucket MCP Server securely

CompleteFlow adds per-user authentication, permission scoping, and audit logging to any MCP server out of the box.

Deploy on CompleteFlow