Skip to main content
Glama
mdanelutti

bitbucket-mcp-server

by mdanelutti

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP port (only if TRANSPORT=http)3000
TRANSPORTNoTransport mode: stdio or httpstdio
BITBUCKET_USERNAMEYesEmail or username of Bitbucket
BITBUCKET_API_TOKENYesAPI Token of Bitbucket
BITBUCKET_WORKSPACENoDefault workspace (avoids passing it on each call)
BITBUCKET_ENABLE_DANGEROUSNoEnables destructive operations (merge, decline)false

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
list_pull_requestsC

List pull requests for a repository

get_pull_requestC

Get details of a specific pull request

get_pull_request_diffC

Get the diff of a pull request

get_pull_request_commentsC

List comments on a pull request

get_pull_request_activityC

Get the activity log of a pull request

search_workspace_membersA

Search for workspace members by display name. Useful for finding reviewer UUIDs.

create_pull_requestC

Create a new pull request

update_pull_requestC

Update an existing pull request (title, description, reviewers)

approve_pull_requestC

Approve a pull request

unapprove_pull_requestC

Remove approval from a pull request

request_changesC

Request changes on a pull request

add_pull_request_commentB

Add a comment to a pull request (general, inline on a file/line, or reply to existing comment)

merge_pull_requestA

Merge a pull request (requires BITBUCKET_ENABLE_DANGEROUS=true)

decline_pull_requestA

Decline a pull request (requires BITBUCKET_ENABLE_DANGEROUS=true)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.3/5.0

Scored across 14 tools

Disambiguation4/5

Read tools (list, get, diff, comments, activity) and write tools (create, update, approve, unapprove, request_changes, comment, merge, decline) each target a distinct action on a pull request. Slight potential for confusion between get_pull_request_activity and get_pull_request_comments (activity logs often include comments), and between approve_pull_request and request_changes, but descriptions clarify the boundaries.

Naming Consistency5/5

Every tool follows a consistent snake_case verb_noun pattern (list_pull_requests, get_pull_request_diff, add_pull_request_comment, merge_pull_request). Even the odd-one-out search_workspace_members fits the same convention.

Tool Count5/5

14 tools is well within the ideal range and each maps to a meaningful step in the PR review/merge workflow. No redundant or filler tools are present.

Completeness4/5

The pull request lifecycle is thoroughly covered: discovery, inspection, creation, updates, review states (approve/unapprove/request changes), commenting, and merge/decline. Minor gaps remain around repository/branch discovery (no list_repositories or branch tools), which an agent may need to locate a repo before working with its PRs.

Maintenance

ActivityInactive
ResponsivenessNo issues