Skip to main content
Glama
donchoko

bb-mcp-server

by donchoko

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BITBUCKET_EMAILYesAtlassian account email, used with the API token for Basic Auth.
BITBUCKET_BASE_URLNoAPI base URL override. Defaults to https://api.bitbucket.org/2.0.https://api.bitbucket.org/2.0
BITBUCKET_API_TOKENYesAPI token from id.atlassian.com.
BITBUCKET_REPO_SLUGNoDefault repository slug, so tools can omit repoSlug per call.
BITBUCKET_WORKSPACENoDefault workspace slug, so tools can omit workspace per call.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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 inlinePath (and optionally inlineLine) for a code review comment anchored to a file, or parentId to reply to an existing comment. Omit both for a general comment.

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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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