MCP server · Audited from source
Bitbucket MCP server
by pdogra1299/bitbucket-mcp-serverMIT licenceAudited 9 Oct 2026 · source a41f606bb86a
Is it safe? Yes — SAFE, grade B (89/100). It exposes 25 tools: 13 read, 9 write and 3 destructive. The audit recorded 8 findings (0 critical, 0 high, 1 medium, 5 low). Maintainer's description: MCP Server for interacting with BitBucket API
Cite
Cite this page
ModelsAtlas. “Bitbucket MCP server (pdogra1299/bitbucket-mcp-server)”. Retrieved 9 Oct 2026. https://modelsatlas.com/mcp/pdogra1299/bitbucket-2
2 MCP servers are called Bitbucket. You are viewing pdogra1299/bitbucket-mcp-server. Compare all 2 →
- matanyemini/bitbucket-mcp★ 166✓SAFE
- pdogra1299/bitbucket-mcp-server★ 29✓SAFE
Trust audit
Audit 0.4.1 · full source read 9 Oct 2026
8 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared1 observation
- NetworkDeclared4 observations
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 2 findings |
L1 Static source | Secrets, path traversal, supply chain | PASS 2 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 3 findings |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
pdogra1299User accountAccount type recorded when we read the repository. - PackagePublished on npm
@nexus2520/bitbucket-mcp-serverat version 3.0.1 - LicenceMITFrom the repository, as read at the audited commit.
- Last push12 days agoActivity of the repository when we read it.
- Source commit reada41f606bb86aThe audit covers exactly this commit, read on 9 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory25 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (8)
Sorted by severity
MEDIUMFilesystem / pathmcp.destructive_tools
delete_branch, manage_attachments, manage_comment
- Why
- 3 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInsecure cryptocrypto.weak_hash · src/core/snapshot.ts:515
return createHash('sha1').update(buf).digest('hex');- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, axios, form-data, tar-stream, @semantic-release/changelog, @semantic-release/git, @types/minimatch, @types/node
- Why
- 13 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.transfer_instruction · SETUP_GUIDE.md:64
Once you have these credentials, share them with me and I'll configure the MCP server for you. The credentials will be stored securely in your MCP settings configuration.
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
INFOPrompt injectionprompt.credential_read · SETUP_GUIDE_SERVER.md:3
Since you're using Bitbucket Server (self-hosted), you'll need to create an HTTP access token instead of an app password.
- Why
- asks the agent to read credentials
- Fix
- —
INFOPrompt injectionprompt.credential_read · SETUP_GUIDE_SERVER.md:57
2. An HTTP access token from the "HTTP access tokens" section
- Why
- asks the agent to read credentials
- Fix
- —
Tools it exposes
25 declared in source · 3 destructive
3 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
delete_branch | destructive | Delete a branch. Pass expected_head (commit SHA) to skip the lookup call (Server). |
manage_attachments | destructive | Download 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_comment | destructive | Edit/delete/resolve/reopen a PR comment or task, or convert between comment and task (to_task/to_comment are Server-only). |
add_comment | write | Add a PR comment: general, threaded reply (parent_comment_id), inline (file_path + line_number), |
create_pull_request | write | Create a pull request. |
get_branch | write | Get a branch with its latest commit and open PRs (include_merged_prs adds merged ones). |
get_commit_detail | write | Get a commit diff as raw unified diff text, or detail: |
get_file_blame | write | Per-line blame as commit spans (one call per ≤5000-line window — pass start_line/line_count for big files). |
get_pull_request | write | Get a pull request: metadata, reviewer status, merge info, comments and changed files. |
merge_pull_request | write | Merge a pull request. Pass |
set_review_status | write | Set YOUR reviewer status on a PR: APPROVED, NEEDS_WORK (request changes), or UNAPPROVED (clear). |
update_pull_request | write | Update a pull request. Reviewers/approvals are preserved unless |
decline_pull_request | read | Decline a pull request, optionally with a comment. Pass |
get_file_content | read | Read a file. Windowed by default (start_line/line_count fetch ONLY that window server-side; ≤5000 lines per call). |
get_pull_request_diff | read | Get a PR diff as raw unified diff text (line numbers derive from @@ headers; +/- prefixes mark ADDED/REMOVED). |
grep | read | Search file CONTENTS in a repo with full regex, like ripgrep on a local clone — any branch, no index gaps. |
list_branch_commits | read | List commits on a branch. since (as a rev) and include_merge_commits filter server-side; |
list_branches | read | List branches (most recently modified first on Server). |
list_directory_content | read | List files and directories at a repository path. |
list_pr_commits | read | List commits in a pull request. |
list_projects | read | List accessible projects/workspaces. |
list_pull_requests | read | List pull requests in a repository. Omit |
list_repositories | read | List repositories in a project (or all accessible on Server). |
search_code | read | Index-backed exact-term code search across a whole PROJECT in one call (default branch only, files <512KiB, |
search_repositories | read | Find repositories by name/description across the instance. Server only. |
Install
Package version 3.0.1 · audited commit a41f606
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 3.0.1. The audit covers commit a41f606 only.
claude mcp add bitbucket-mcp-server -- npx -y @nexus2520/[email protected]
{
"mcpServers": {
"bitbucket-mcp-server": {
"command": "npx",
"args": [
"-y",
"@nexus2520/[email protected]"
]
}
}
}The command pins the package version recorded in the source (3.0.1); the audit covers commit a41f606bb86a. Transport: stdio. No environment variables required.
Audit history
- ✓SAFE B 89 / 100
First audit ·
a41f606bb86a
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/pdogra1299/bitbucket-2/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Bitbucket MCP server
What is the Bitbucket MCP server?
What tools does Bitbucket expose?
Is Bitbucket safe to connect to an agent?
What credentials does Bitbucket need?
How does Bitbucket run?
How current is this page?
Which Bitbucket MCP server is the right one?
Sources
- pdogra1299/bitbucket-mcp-server on GitHub — the source we read, its licence, stars and activityObserved · 9 Oct 2026
- ModelsAtlas trust audit — SAFE verdict for commit a41f606bb86aObserved · 9 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Bitbucket MCP server?
- What tools does Bitbucket expose?
- Is Bitbucket safe to connect to an agent?