B

Bitbucket MCP

by lahma · io.github.lahma/bitbucket-mcp

Enables managing the full Bitbucket Cloud pull-request lifecycle — listing, reading, diffing, commenting, reviewing, task tracking, mergeability checks, merging and declining — and diagnosing failing Pipelines builds down to the log line that explains them. Twenty-two annotated tools return structured content, with native AOT binaries and no runtime to install.

nuget Local · stdio GlamaOfficial MCP Registry High confidence

Install

No install method is published for this server: no package and no remote endpoint. Check its source repository or registry listing for setup instructions.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
BITBUCKET_OAUTH_KEY No OAuth consumer key (browser flow).
BITBUCKET_OAUTH_SECRET secret No OAuth consumer secret (browser flow).
BITBUCKET_ACCESS_TOKEN secret No Bearer token (workspace, project or repository access token). Highest precedence; bypasses OAuth entirely.
BITBUCKET_EMAIL No Atlassian account email, paired with BITBUCKET_API_TOKEN.
BITBUCKET_API_TOKEN secret No Atlassian API token. With the email, sent as Basic base64(email:token). Second precedence.
BITBUCKET_DEFAULT_WORKSPACE No Default for the workspace tool parameter. The URL slug, not the display name.
BITBUCKET_MCP_LOG_LEVEL No Minimum level for the stderr logger: Trace, Debug, Information, Warning, Error, Critical, None. Default: Information
BITBUCKET_MCP_NO_BROWSER No 1 never launches a browser; the authorize URL is logged instead. Accepts 1/true/yes/on and 0/false/no/off. Default: 0
BITBUCKET_MCP_TOKEN_FILE No Full path of the OAuth token cache file, overriding the per-OS default.
BITBUCKET_MCP_MAX_LOG_BYTES No Byte budget for one log read (4096–8388608), and therefore the upper bound on what a log costs in memory however large the file is. Default: 262144
BITBUCKET_MCP_MAX_LOG_LINES No Pipeline log lines returned per call (1–5000). Overridable per call with maxLines. Default: 200
BITBUCKET_MCP_MAX_DIFF_LINES No Diff lines returned per response before truncation (1–1000000). Default: 4000
BITBUCKET_OAUTH_CALLBACK_HOST No Host in the redirect URI. Must match the consumer's registered callback URL. Default: 127.0.0.1
BITBUCKET_OAUTH_CALLBACK_PORT No Port in the redirect URI, 1–65535. Must match the consumer's registered callback URL. Default: 33418
BITBUCKET_MCP_MAX_LINES_PER_FILE No Diff lines returned per file before truncation (1–100000). Overridable per call with maxLinesPerFile. Default: 400
BITBUCKET_MCP_AUTH_TIMEOUT_SECONDS No Bound, in seconds (1–3600), on a browser sign-in started from inside a tool call. Default: 180

Similar servers