Skip to main content
Glama
chzkyy

Bitbucket MCP Server

by chzkyy

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BITBUCKET_USERNAMEYesYour Bitbucket username
BITBUCKET_WORKSPACENoYour Bitbucket workspace slug (optional; can also be passed as a tool parameter)
BITBUCKET_APP_PASSWORDYesYour Bitbucket App Password

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
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_workspacesA

List all Bitbucket workspaces accessible by the authenticated user. Returns workspace names, slugs, and descriptions.

list_repositoriesB

List all repositories in a Bitbucket workspace. Returns repository names, slugs, descriptions, and links.

get_repositoryA

Get detailed information about a specific repository including its description, language, size, and URLs.

list_branchesA

List all branches in a repository. Returns branch names and latest commit hashes.

list_commitsA

List recent commits in a repository, optionally filtered by branch. Returns commit messages, authors, dates, and hashes.

get_commitB

Get detailed information about a specific commit including author, message, date, and files changed.

browse_directoryA

Browse the contents of a directory in a repository. Returns file and folder names, types, and paths. Use this to explore the repository structure.

get_file_contentA

Read the full content of a file in a repository. Returns the raw file content as text. Use this to read source code files.

search_codeA

Search for code across a repository using Bitbucket's code search. Returns matching files and snippet previews.

get_pull_requestsB

List pull requests in a repository. Returns PR titles, authors, states, and descriptions.

get_readmeA

Fetch and read the README file of a repository. Automatically finds README.md, README.txt, or readme.rst.

get_commit_diffA

Get the diff/patch of a specific commit showing all changes made. Returns unified diff format.

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/chzkyy/mcp_bitbucket'

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