Skip to main content
Glama
mcp-bitbucket

mcp-bitbucket

by n11techhub

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_API_KEYNoAPI key for authentication
BITBUCKET_URLYesYour Bitbucket Server/Data Center URL
MCP_HTTP_PORTNoHTTP server port3001
BITBUCKET_TOKENYesPersonal Access Token
MCP_HTTP_ENDPOINTNoHTTP endpoint path/stream
ENABLE_HTTP_TRANSPORTNoEnable HTTP streaming transportfalse
BITBUCKET_DEFAULT_PROJECTNoDefault project key for operations

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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
bitbucket_create_pull_requestC

Creates a new Bitbucket pull request

bitbucket_get_pull_request_detailsC

Gets details for a Bitbucket pull request

bitbucket_approve_pull_requestB

Approves a Bitbucket pull request

bitbucket_get_pull_request_diffC

Gets the diff for a Bitbucket pull request

bitbucket_get_pull_request_reviewsC

Gets reviews for a Bitbucket pull request

bitbucket_list_workspacesC

Lists available Bitbucket workspaces.

bitbucket_list_repositoriesC

Lists Bitbucket repositories.

bitbucket_search_contentC

Searches content within Bitbucket repositories.

bitbucket_get_repository_detailsB

Gets details for a specific Bitbucket repository.

bitbucket_get_file_contentC

Gets the content of a specific file from a Bitbucket repository.

bitbucket_browse_directoryC

Browses a directory in a Bitbucket repository.

bitbucket_create_branchC

Creates a new branch in a Bitbucket repository.

bitbucket_add_pull_request_file_line_commentC

Adds a comment to a Bitbucket pull request, optionally as an inline comment on a specific file and line.

bitbucket_list_repository_branchesC

Lists branches for a Bitbucket repository.

bitbucket_get_user_profileC

Gets Bitbucket user profile details by username.

bitbucket_merge_pull_requestC

Merges a Bitbucket pull request

bitbucket_decline_pull_requestC

Declines a Bitbucket pull request

bitbucket_add_pull_request_commentC

Adds a general comment to a Bitbucket pull request

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.1/5.0

Scored across 18 tools

Disambiguation4/5

Most tools map cleanly to a distinct resource+action (PR details, diff, reviews, merge, decline, branches, files). The only real overlap is between bitbucket_add_pull_request_file_line_comment (which says it can post inline comments) and bitbucket_add_pull_request_comment, plus mild overlap between get_pull_request_details and get_pull_request_reviews.

Naming Consistency5/5

Every tool follows the same bitbucket_<verb>_<noun> pattern with uniform snake_case and consistent verb usage (get, list, create, add, merge, approve, decline). No naming outliers or mixed conventions.

Tool Count4/5

18 tools is on the heavier side but each covers a distinct Bitbucket operation across workspaces, repos, branches, files, and PR lifecycle. Slightly above the ideal range, and the two comment tools could plausibly be merged.

Completeness3/5

PR actions (create, details, diff, reviews, comments, approve, merge, decline), repo/file browsing, and branch creation are covered. However, there is no tool to list pull requests for a repository or list commits, which are core discovery operations and will block common agent workflows.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues