Skip to main content
Glama
phpl

bitbucket-mcp-server

by phpl

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BITBUCKET_URLYesYour Bitbucket Server URL (e.g., https://bitbucket.example.com)
BITBUCKET_TOKENYesPersonal access token with read permissions

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
get_user_profileA

Get Bitbucket Server user profile by username

get_all_usersA

Retrieve a page of users, optionally filtered by search term

list_projectsA

List projects visible to the authenticated user. Can filter by name or permission.

list_repositoriesB

List all repositories in a Bitbucket Server project

get_inbox_pull_requestsA

Returns pull requests in the authenticated user's inbox where they are assigned as a reviewer.

get_pull_requestA

Get full details for a pull request including title, description, author, state, branches, reviewers, and participants.

get_pull_request_changesA

Get list of all changed files in a pull request with file-level metadata (paths, change types like ADD/MODIFY/DELETE).

get_pull_request_diffB

Get diff for a pull request. Omit path for full PR diff, or specify a file path for a specific file. Supports text and JSON formats.

get_pull_request_file_diffA

Get structured line-by-line diff for a specific file in a pull request. Returns JSON with hunks, segments, and exact line numbers.

get_pull_request_activitiesC

Get activity on a pull request including comments, approvals, merges, reviews, and updates. Can filter by activity types.

get_pull_request_commitsB

Get the commits for a pull request.

list_pull_requestsA

List pull requests for a repository. Can filter by state, direction, and branch.

get_repositoryB

Get details of a specific repository.

list_branchesB

List branches for a repository.

browse_filesC

Browse files/directories in a repository at a given path and ref.

get_file_contentC

Get the raw content of a file in a repository.

list_commitsC

List commits for a repository, optionally filtered by branch/tag/commit.

get_commitA

Get details of a specific commit.

get_commit_diffA

Get the diff for a specific commit.

list_tagsC

List tags for a repository.

get_default_branchB

Get the default branch of a repository.

get_pull_request_merge_statusC

Check if a pull request can be merged (merge preconditions).

get_pull_request_tasksB

Get tasks/blockers on a pull request.

search_codeB

Search for code across repositories.

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/phpl/bitbucket-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server