Skip to main content
Glama
inceon

Bitbucket MCP Server

by inceon

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BITBUCKET_URLYesBitbucket base URL, such as https://api.bitbucket.org or https://bitbucket.example.com/bitbucket
BITBUCKET_TOKENYesAPI token, app password, or personal access token
BITBUCKET_USERNAMENoUsername paired with the token for basic auth (required if BITBUCKET_AUTH_TYPE is basic)
BITBUCKET_AUTH_TYPENobearer or basicbearer
BITBUCKET_MAX_DIFF_BYTESNoMaximum UTF-8 byte size returned in rawDiff1000000
BITBUCKET_ENABLE_WRITE_TOOLSNoSet to true to allow tools that modify Bitbucket, currently PR comment creationfalse

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_pull_requestA

Retrieves metadata, description, state/status, author, reviewers, source branch, destination branch, timestamps, and links for a specific Bitbucket pull request.

get_pull_request_diffA

Retrieves the raw diff and, when available, a structured list of changed files for a specific Bitbucket pull request.

add_pull_request_commentA

Creates a general, file, or inline line comment on a Bitbucket pull request. This is a write operation and requires BITBUCKET_ENABLE_WRITE_TOOLS=true.

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

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