Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BITBUCKET_EMAILNoAtlassian account email, paired with BITBUCKET_API_TOKEN.
BITBUCKET_API_TOKENNoAtlassian API token. With the email, sent as Basic base64(email:token). Second precedence.
BITBUCKET_OAUTH_KEYNoOAuth consumer key (browser flow).
BITBUCKET_ACCESS_TOKENNoBearer token (workspace, project or repository access token). Highest precedence; bypasses OAuth entirely.
BITBUCKET_OAUTH_SECRETNoOAuth consumer secret (browser flow).
BITBUCKET_MCP_LOG_LEVELNoMinimum level for the stderr logger: Trace, Debug, Information, Warning, Error, Critical, None.Information
BITBUCKET_MCP_NO_BROWSERNo1 never launches a browser; the authorize URL is logged instead. Accepts 1/true/yes/on and 0/false/no/off.0
BITBUCKET_MCP_TOKEN_FILENoFull path of the OAuth token cache file, overriding the per-OS default.
BITBUCKET_DEFAULT_WORKSPACENoDefault for the workspace tool parameter. The URL slug, not the display name.
BITBUCKET_MCP_MAX_LOG_BYTESNoByte budget for one log read (4096–8388608), and therefore the upper bound on what a log costs in memory however large the file is.262144
BITBUCKET_MCP_MAX_LOG_LINESNoPipeline log lines returned per call (1–5000). Overridable per call with maxLines.200
BITBUCKET_MCP_MAX_DIFF_LINESNoDiff lines returned per response before truncation (1–1000000).4000
BITBUCKET_OAUTH_CALLBACK_HOSTNoHost in the redirect URI. Must match the consumer's registered callback URL.127.0.0.1
BITBUCKET_OAUTH_CALLBACK_PORTNoPort in the redirect URI, 1–65535. Must match the consumer's registered callback URL.33418
BITBUCKET_MCP_MAX_LINES_PER_FILENoDiff lines returned per file before truncation (1–100000). Overridable per call with maxLinesPerFile.400
BITBUCKET_MCP_AUTH_TIMEOUT_SECONDSNoBound, in seconds (1–3600), on a browser sign-in started from inside a tool call.180

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources