Bitbucket Server MCP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BITBUCKET_URLNoBase URL of your Bitbucket Server instance.
BITBUCKET_TOKENNoPersonal access token for authentication.
BITBUCKET_PASSWORDNoPassword for basic authentication.
BITBUCKET_USERNAMENoUsername for basic authentication.

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
create_pull_request

Create a new pull request

get_pull_request

Get pull request details

merge_pull_request

Merge a pull request

decline_pull_request

Decline a pull request

add_comment

Add a comment to a pull request

get_diff

Get pull request diff

get_reviews

Get pull request reviews