Skip to main content
Glama

Bitbucket MCP Server

by pdogra1299

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BITBUCKET_TOKENNoYour Bitbucket HTTP access token (for Bitbucket Server)
BITBUCKET_BASE_URLNoThe base URL of your Bitbucket Server instance (e.g., https://bitbucket.yourcompany.com)
BITBUCKET_USERNAMENoYour Bitbucket username (for Bitbucket Cloud) or email address (for Bitbucket Server)
BITBUCKET_APP_PASSWORDNoYour Bitbucket app password (for Bitbucket Cloud)

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
get_pull_request

Get details of a Bitbucket pull request including merge commit information

list_pull_requests

List pull requests for a repository with optional filters

create_pull_request

Create a new pull request

update_pull_request

Update an existing pull request

add_comment

Add a comment to a pull request (general or inline on specific code)

merge_pull_request

Merge a pull request

list_branches

List branches in a repository

delete_branch

Delete a branch

get_pull_request_diff

Get the diff/changes for a pull request

approve_pull_request

Approve a pull request

unapprove_pull_request

Remove approval from a pull request

request_changes

Request changes on a pull request

remove_requested_changes

Remove change request from a pull request

get_branch

Get detailed information about a branch including associated pull requests

list_directory_content

List files and directories in a repository path

get_file_content

Get file content from a repository with smart truncation for large files

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

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