bitbucket-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BITBUCKET_REPO | Yes | Repository slug | |
| BITBUCKET_USERNAME | Yes | Atlassian account email | |
| BITBUCKET_API_TOKEN | Yes | API token from step 2 | |
| BITBUCKET_READ_ONLY | No | Expose read-only tools only | false |
| BITBUCKET_WORKSPACE | Yes | Workspace slug | |
| BITBUCKET_ENABLE_PIPELINES | No | Toggle pipeline tools | true |
| BITBUCKET_ENABLE_PULL_REQUESTS | No | Toggle pull request tools | true |
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": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_open_pull_requestsA | List open pull requests. |
| get_pull_requestC | Get a pull request's details. |
| get_pull_request_diffB | Get a pull request's diff. |
| get_pull_request_commitsB | Get a pull request's commits. |
| get_pull_request_statusesB | Get a pull request's build statuses. |
| get_pull_request_commentsC | Get a pull request's comments. |
| create_pull_requestC | Open a pull request. |
| update_pull_requestD | Update a pull request. |
| approve_pull_requestD | Approve a pull request. |
| unapprove_pull_requestC | Remove your approval from a pull request. |
| request_pull_request_changesC | Request changes on a pull request. |
| withdraw_pull_request_changesB | Withdraw your changes request on a pull request. |
| decline_pull_requestC | Decline a pull request. |
| merge_pull_requestC | Merge a pull request. |
| create_pull_request_commentC | Add a comment to a pull request. |
| create_inline_pull_request_commentC | Add an inline comment to a pull request. |
| reply_to_pull_request_commentC | Reply to a pull request comment. |
| edit_pull_request_commentC | Edit a pull request comment. |
| delete_pull_request_commentC | Delete a pull request comment. |
| resolve_pull_request_commentC | Resolve a pull request comment thread. |
| reopen_pull_request_commentB | Reopen a pull request comment thread. |
| get_pipelinesA | List recent pipeline runs. |
| get_pipelineC | Get a pipeline run. |
| get_pipeline_stepsC | Get a pipeline's steps. |
| get_pipeline_step_logC | Get the log for a pipeline step. |
| diagnose_pipeline_failureA | Get a failed pipeline's failed steps. |
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 26 tools
Each tool targets a distinct resource and action. Pull request tools are clearly separated by operation (get, create, update, merge, approve, etc.) and by scope (list vs detail, comments vs inline comments vs replies). Pipeline tools are similarly distinct for runs, steps, and logs.
Tool names consistently follow a verb_noun pattern (e.g., get_pull_request, create_pull_request_comment, get_pipeline_steps). Even the slightly longer names like request_pull_request_changes or diagnose_pipeline_failure remain readable and align with the pattern.
26 tools is slightly above the typical 3-15 range, but the scope intentionally covers both pull request management (21 tools) and pipeline inspection (5 tools). Each tool serves a distinct, non-redundant purpose, making the count justified rather than bloated.
The pull request lifecycle is well covered: create, update, merge, decline, approve, request changes, comments, diffs, commits, and statuses. Pipelines cover listing, getting details, steps, logs, and failure diagnosis. Minor gaps exist (e.g., no general list of PRs filtered by state, no pipeline triggering), but they are non-critical for most workflows.