About Bitbucket MCP Server
Bitbucket MCP Server is an MCP server published by pdogra1299 in the Developer Tools category: mCP Server for interacting with BitBucket API. Conduid read 25 tools from its source: add_comment, create_pull_request, decline_pull_request, delete_branch, get_branch, get_commit_detail and 19 more. It is published to npm as @nexus2520/bitbucket-mcp-server and starts with npx.
The repository has 31 stars and 27 forks, is licensed MIT, and its last commit was on 26 Oct 2026. The latest release is v3.0.1 (26 Sep 2026): Bug Fixes ci: add ci, release and commit policy workflows (b73ee2d) release: pin conventionalcommits preset to v8 for writer compatibility (e9cb095). It is the only release Conduid has on record for this repository. It passes all 5 static checks Conduid ran on the repository. Its topics include bitbucket, api, bitbucket-server, bitbucket-cloud, pull-request and code-review.
Install
claude mcp add bitbucket-mcp-server-9ed5 -- npx -y @nexus2520/bitbucket-mcp-servernpx -y @nexus2520/bitbucket-mcp-servergit clone https://github.com/pdogra1299/bitbucket-mcp-serverTools (25)
add_commentAdd a PR comment: general, threaded reply (parent_comment_id), inline (file_path + line_number), code suggestion (suggestion), or task (severity BLOCKER, Server only). code_snippet auto-resolves line_number from exact diff text when line_number is unknown.create_pull_requestCreate a pull request.decline_pull_requestDecline a pull request, optionally with a comment. Pass `version` to save a fetch (Server).delete_branchDelete a branch. Pass expected_head (commit SHA) to skip the lookup call (Server).get_branchGet a branch with its latest commit and open PRs (include_merged_prs adds merged ones).get_commit_detailGet a commit diff as raw unified diff text, or detail:"files" for just the changed-file list (no diff bodies).get_file_blamePer-line blame as commit spans (one call per ≤5000-line window — pass start_line/line_count for big files). Pair commit ids with get_commit_detail. Server only.get_file_contentRead a file. Windowed by default (start_line/line_count fetch ONLY that window server-side; ≤5000 lines per call). full_content=true or negative start_line (tail) fetches the whole file — prefer windows.get_pull_requestGet a pull request: metadata, reviewer status, merge info, comments and changed files. Set include_comments/include_file_changes false for a 1-call metadata read; include_tasks lists open/resolved tasks. Response carries `version` for follow-up mutations.get_pull_request_diffGet a PR diff as raw unified diff text (line numbers derive from @@ headers; +/- prefixes mark ADDED/REMOVED). Scope with file_path (server-side) or include/exclude glob patterns.grepSearch file CONTENTS in a repo with full regex, like ripgrep on a local clone — any branch, no index gaps. One archive fetch per repo+commit, cached in memory and freshness-checked every call (responses show as_of commit). Omit `query` to list files by glob only. Modes: content (matches), files (paths), count. Scope with glob and/or path to keep scans fast. Server only.list_branch_commitsList commits on a branch. since (as a rev) and include_merge_commits filter server-side; author/until/search and date-valued since filter client-side over a bounded page walk (noted when more pages exist).list_branchesList branches (most recently modified first on Server).list_directory_contentList files and directories at a repository path.list_pr_commitsList commits in a pull request.list_projectsList accessible projects/workspaces.list_pull_requestsList pull requests in a repository. Omit `repository` (Server only) to list YOUR PRs across all repos in one call (filter with role).list_repositoriesList repositories in a project (or all accessible on Server).manage_attachmentsDownload or delete a repository attachment by numeric id (Server only). Upload via the attachments param on add_comment/create_pull_request/update_pull_request. No list API exists.manage_commentEdit/delete/resolve/reopen a PR comment or task, or convert between comment and task (to_task/to_comment are Server-only). Pass `version` (from get_pull_request output) to save a fetch (Server).merge_pull_requestMerge a pull request. Pass `version` to save a fetch.search_codeIndex-backed exact-term code search across a whole PROJECT in one call (default branch only, files <512KiB, punctuation except . and _ ignored, case-insensitive, no regex, max ~1000 results). Best for cross-repo identifier lookups; for one repo, regex, or feature branches use grep.search_repositoriesFind repositories by name/description across the instance. Server only.set_review_statusSet YOUR reviewer status on a PR: APPROVED, NEEDS_WORK (request changes), or UNAPPROVED (clear). One call; the three states are mutually exclusive.update_pull_requestUpdate a pull request. Reviewers/approvals are preserved unless `reviewers` is passed. Pass `version` (from get/list) to save a fetch.Security checks
- ✓README presentThe repository's README runs to about 1.2K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionScanned 35 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
Releases
README
The repository's README runs to about 1.2K words, fetched a month ago. The original in the repository is authoritative.
Read full README