Skip to main content
Glama

Bitbucket MCP Server

by Korfu

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BITBUCKET_USERNAMEYesYour Bitbucket username
BITBUCKET_WORKSPACEYesYour Bitbucket workspace name (typically your username or organization name)
BITBUCKET_APP_PASSWORDYesYour Bitbucket app password with Repository Read permissions

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
list_repositories

List all repositories in the configured Bitbucket workspace

get_repository_details

Get detailed information about a specific repository including latest commit info

list_commits

Get commit information for a specific repository

get_commit

Get a single commit by its hash.

update_repository_branching_model_settings

Update the branching model configuration for a repository.

update_project_branching_model_settings

Update the branching model configuration for a project.

list_branch_restrictions

List all branch restrictions for a repository.

get_branch_restriction

Get a single branch restriction by its ID.

get_project

Get a single project by its key.

list_default_reviewers

List default reviewers for a project.

list_pull_requests

List all pull requests in a repository.

get_pull_request

Get a single pull request by its ID.

create_pull_request

Create a new pull request.

update_pull_request

Update an existing pull request.

list_workspaces

List all workspaces accessible by the current user.

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

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