MCP server · Audited from source
Bitbucket MCP server
by matanyemini/bitbucket-mcpMIT licenceAudited 7 Oct 2026 · source 0ec68463430e
Is it safe? Yes — SAFE, grade B (89/100). It exposes 49 tools: 27 read, 19 write and 3 destructive. The audit recorded 5 findings (0 critical, 0 high, 1 medium, 1 low). Maintainer's description: Bitbucket MCP - A Model Context Protocol (MCP) server for integrating with Bitbucket Cloud and Server APIs
Cite
Cite this page
ModelsAtlas. “Bitbucket MCP server (matanyemini/bitbucket-mcp)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/matanyemini/bitbucket-1
2 MCP servers are called Bitbucket. This is the one we pick. Compare all 2 →
- matanyemini/bitbucket-mcp★ 166✓SAFE
- pdogra1299/bitbucket-mcp-server★ 29✓SAFE
Trust audit
Audit 0.4.1 · full source read 7 Oct 2026
5 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
- NetworkNone observedNothing seen in the source
- 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 |
L1 Static source | Secrets, path traversal, supply chain | PASS 1 finding |
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
matanyeminiUser accountAccount type recorded when we read the repository. - PackagePublished on npm
bitbucket-mcpat version 5.0.7 - LicenceMITFrom the repository, as read at the audited commit.
- Last push5 months agoActivity of the repository when we read it.
- Source commit read0ec68463430eThe audit covers exactly this commit, read on 7 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory49 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 (5)
Sorted by severity
MEDIUMFilesystem / pathmcp.destructive_tools
deletePullRequestComment, deletePullRequestTask, unapprovePullRequest
- Why
- 3 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWSupply chainsupply.unpinned · package.json
axios, dotenv, winston, @types/express, @types/jest, @types/node, @typescript-eslint/eslint-plugin, @typescript-eslint/parser
- Why
- 15 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
INFOPrompt injectionprompt.credential_read · CLAUDE.md:105
Requires "Pipelines: Read" permission in Bitbucket app password. Target configuration uses:
- Why
- asks the agent to read credentials
- Fix
- —
INFOPrompt injectionprompt.credential_read · README.md:101
| `BITBUCKET_TOKEN` | Your Bitbucket access token (alternative to username/password) | No |
- Why
- asks the agent to read credentials
- Fix
- —
INFOPrompt injectionprompt.credential_read · README.md:135
1. **Test API access**: Verify your credentials work by testing the Bitbucket API directly:
- Why
- asks the agent to read credentials
- Fix
- —
Tools it exposes
49 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 |
|---|---|---|
deletePullRequestComment | destructive | Delete a comment on a pull request |
deletePullRequestTask | destructive | Delete a task from a pull request |
unapprovePullRequest | destructive | Remove approval from a pull request |
addPendingPullRequestComment | write | Add a pending (draft) comment to a pull request that can be published later |
addPullRequestComment | write | Add a comment to a pull request (general, inline, or a threaded reply to another comment) |
createDraftPullRequest | write | Create a new draft pull request |
createPullRequest | write | Create a new pull request |
createPullRequestTask | write | Create a task on a pull request |
getPipelineRun | write | Get details for a specific pipeline run |
getPipelineSteps | write | List steps for a pipeline run |
getPullRequestPatch | write | Get patch for a pull request |
getPullRequestStatuses | write | List commit statuses associated with a pull request |
mergePullRequest | write | Merge a pull request |
publishDraftPullRequest | write | Publish a draft pull request to make it ready for review |
publishPendingComments | write | Publish all pending comments for a pull request |
runPipeline | write | Trigger a new pipeline run |
stopPipeline | write | Stop a running pipeline |
updateProjectBranchingModelSettings | write | Update the branching model config for a project |
updatePullRequest | write | Update a pull request |
updatePullRequestComment | write | Update a comment on a pull request |
updatePullRequestTask | write | Update a task on a pull request |
updateRepositoryBranchingModelSettings | write | Update the branching model config for a repository |
approvePullRequest | read | Approve a pull request |
convertTodraft | read | Convert a regular pull request to draft status |
declinePullRequest | read | Decline a pull request |
getEffectiveDefaultReviewers | read | Get effective default reviewers for a repository |
getEffectiveRepositoryBranchingModel | read | Get the effective branching model for a repository |
getPendingReviewPRs | read | List all open pull requests in the workspace where the authenticated user is a reviewer and has not yet approved. |
getPipelineStep | read | Get details for a specific pipeline step |
getPipelineStepLogs | read | Get logs for a specific pipeline step |
getProjectBranchingModel | read | Get the branching model for a project |
getProjectBranchingModelSettings | read | Get the branching model config for a project |
getPullRequest | read | Get details for a specific pull request |
getPullRequestActivity | read | Get activity log for a pull request |
getPullRequestComment | read | Get a specific comment on a pull request |
getPullRequestComments | read | List comments on a pull request |
getPullRequestCommits | read | Get commits on a pull request |
getPullRequestDiff | read | Get diff for a pull request |
getPullRequestDiffStat | read | Get diff statistics for a pull request |
getPullRequestTask | read | Get a specific task on a pull request |
getPullRequestTasks | read | List tasks on a pull request |
getPullRequests | read | Get pull requests for a repository |
getRepository | read | Get repository details |
getRepositoryBranchingModel | read | Get the branching model for a repository |
getRepositoryBranchingModelSettings | read | Get the branching model config for a repository |
listPipelineRuns | read | List pipeline runs for a repository |
listRepositories | read | List Bitbucket repositories |
reopenComment | read | Reopen a resolved comment thread on a pull request |
resolveComment | read | Resolve a comment thread on a pull request |
Install
Package version 5.0.7 · audited commit 0ec6846
claude mcp add bitbucket-mcp -- npx -y [email protected]
The command pins the package version recorded in the source (5.0.7); the audit covers commit 0ec68463430e. Transport: stdio · streamable-http. Reads these environment variables: BITBUCKET_PASSWORD, BITBUCKET_TOKEN. Give it the narrowest token it needs.
Audit history
- ✓SAFE B 89 / 100
First audit ·
0ec68463430e
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/matanyemini/bitbucket-1/)
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
- matanyemini/bitbucket-mcp on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
- ModelsAtlas trust audit — SAFE verdict for commit 0ec68463430eObserved · 7 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?