host-mcp-bitbucket
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_PORT | No | HTTP port, only used with transport http. | 3000 |
| LOG_LEVEL | No | Log level: debug, info, warn, or error. | info |
| BITBUCKET_URL | No | Bitbucket API base URL. For Bitbucket Server/Data Center, point this to your server URL. | https://api.bitbucket.org/2.0 |
| MCP_TRANSPORT | No | Transport type: stdio or http. | stdio |
| BITBUCKET_TOKEN | Yes | Required. API token (app password or access token) for Bitbucket. | |
| BITBUCKET_TIMEOUT | No | HTTP timeout in milliseconds. | 30000 |
| BITBUCKET_INSECURE | No | Set to true to skip TLS certificate verification. | false |
| BITBUCKET_WORKSPACE | No | Default workspace. Auto-extracted from the URL if possible. For Data Center, this maps to a project key. | |
| BITBUCKET_MAX_RETRIES | No | Maximum retries for transient errors. | 3 |
| BITBUCKET_RETRY_DELAY | No | Base retry delay in milliseconds. | 1000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| getCurrentUserA | Get the currently authenticated Bitbucket user. Useful for verifying connectivity and credentials. |
| getWorkspaceB | Get details about a Bitbucket workspace (Cloud) or project (Data Center) |
| listRepositoriesB | List Bitbucket repositories in a workspace (Cloud) or project (Data Center) |
| getRepositoryC | Get details for a specific Bitbucket repository |
| createRepositoryB | Create a new Bitbucket repository in a workspace (Cloud) or project (Data Center) |
| getPullRequestsC | List pull requests for a repository |
| createPullRequestC | Create a new pull request |
| getPullRequestB | Get details for a specific pull request |
| updatePullRequestC | Update a pull request (title, description) |
| getPullRequestActivityB | Get the activity log for a pull request (comments, approvals, updates, etc.) |
| approvePullRequestC | Approve a pull request |
| unapprovePullRequestC | Remove approval from a pull request |
| requestChangesB | Request changes on a pull request |
| removeChangeRequestB | Remove a change request from a pull request |
| declinePullRequestC | Decline a pull request |
| mergePullRequestC | Merge a pull request |
| getPullRequestCommitsC | List commits on a pull request |
| getPullRequestStatusesA | List commit statuses associated with a pull request |
| getPullRequestCommentsB | List comments on a pull request. On Data Center, comments are extracted from the activity log. |
| getPullRequestCommentB | Get a specific comment on a pull request |
| addPullRequestCommentC | Add a comment to a pull request (general or inline on a specific file/line) |
| updatePullRequestCommentC | Update a comment on a pull request |
| deletePullRequestCommentC | Delete a comment on a pull request |
| resolveCommentC | Resolve a comment thread on a pull request |
| reopenCommentC | Reopen a resolved comment thread on a pull request |
| getPullRequestDiffB | Get the raw diff for a pull request |
| getPullRequestDiffStatA | Get diff statistics for a pull request (files changed, lines added/removed) |
| getPullRequestPatchC | Get the patch for a pull request |
| getPullRequestTasksC | List tasks on a pull request |
| createPullRequestTaskC | Create a task on a pull request |
| getPullRequestTaskC | Get a specific task on a pull request |
| updatePullRequestTaskA | Update a task on a pull request (content, state). On Data Center, the task version is fetched automatically for optimistic concurrency. |
| deletePullRequestTaskA | Delete a task from a pull request. On Data Center, the task version is fetched automatically for optimistic concurrency. |
| listBranchesB | List branches in a repository |
| listTagsB | List tags in a repository |
| addPendingReviewCommentA | Add a pending (draft) review comment to a pull request. The comment remains invisible to other users until the review is submitted. Supports general, inline (file/line), and reply comments. Data Center only. |
| getPendingReviewA | Get the current user's pending (draft) review on a pull request, including all pending comment threads. Data Center only. |
| submitPendingReviewA | Submit (publish) the current user's pending review on a pull request. All pending comments become visible. Optionally set approval status and add a summary comment. Data Center only. |
| discardPendingReviewA | Discard the current user's pending review on a pull request. All pending (draft) comments are permanently deleted. Data Center only. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 39 tools
The tools are largely split cleanly by resource and action, with clear list-vs-single pairs (getPullRequestComments/getPullRequestComment, getPullRequestTasks/getPullRequestTask). A few edges blur: getPullRequestDiff, getPullRequestPatch, and getPullRequestDiffStat are three similar output-oriented tools, and getPullRequestActivity overlaps with comment/approval listing. Still, most tools have a distinct, understandable purpose.
Naming is consistently camelCase with a verb_noun shape across the majority (getPullRequest, createPullRequestTask, deletePullRequestComment). Minor deviations exist where the subject is implied rather than stated (resolveComment, reopenComment, requestChanges) and RequestChanges reads oddly, but overall it's readable and predictable.
39 tools is heavy for a single server and sits well above the comfortable 3-15 range. The bulk is justified by a genuinely rich PR domain (comments, tasks, reviews, diffs), but the surface feels large enough that discoverability and selection cost increase.
Pull request coverage is excellent—full comment and task CRUD, pending reviews, activity, diffs, and approvals—so the PR workflow has no dead ends. However, repository management only offers create/get/list with no update or delete, and branches/tags are list-only, leaving notable gaps for a general Bitbucket server.