bb-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BITBUCKET_EMAIL | Yes | Atlassian account email, used with the API token for Basic Auth. | |
| BITBUCKET_BASE_URL | No | API base URL override. Defaults to https://api.bitbucket.org/2.0. | https://api.bitbucket.org/2.0 |
| BITBUCKET_API_TOKEN | Yes | API token from id.atlassian.com. | |
| BITBUCKET_REPO_SLUG | No | Default repository slug, so tools can omit repoSlug per call. | |
| BITBUCKET_WORKSPACE | No | Default workspace slug, so tools can omit workspace per call. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| bb_list_pull_requestsA | Lists pull requests in a repository, optionally filtered by state or a Bitbucket query string. |
| bb_get_pull_requestA | Fetches full details of a single pull request, including its description. |
| bb_create_pull_requestB | Creates a new pull request from a source branch into a destination branch. |
| bb_update_pull_requestA | Updates an open pull request. Only the provided fields are changed; omit a field to leave it as-is. For description-only edits, prefer bb_update_pull_request_description. |
| bb_merge_pull_requestC | Merges an open pull request. |
| bb_decline_pull_requestB | Declines an open pull request. |
| bb_approve_pull_requestB | Approves a pull request as the authenticated user. |
| bb_unapprove_pull_requestA | Removes the authenticated user's approval from a pull request. |
| bb_get_pull_request_diffA | Fetches the unified diff of a pull request as raw text. |
| bb_get_pull_request_diffstatA | Fetches a per-file summary of changes (added/removed/modified, line counts) for a pull request. |
| bb_list_pull_request_commentsA | Lists all (non-deleted) comments on a pull request, including inline code comments and replies. |
| bb_get_pull_request_commentB | Fetches a single comment on a pull request by ID. |
| bb_create_pull_request_commentA | Adds a comment to a pull request. Provide |
| bb_update_pull_request_commentA | Edits the body of an existing comment. Only the comment's author can edit it. |
| bb_delete_pull_request_commentB | Deletes a comment from a pull request. |
| bb_get_pull_request_descriptionA | Fetches just a pull request's description text, as raw Markdown. |
| bb_update_pull_request_descriptionA | Replaces a pull request's description without touching its title, reviewers or destination branch. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/donchoko/bb-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server