Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLog level: fatal … trace. Logs go to stderr. Default: info.info
BITBUCKET_URLYesInstance base URL. Required for the MCP server.
MCP_HTTP_PORTNoEnables HTTP transport on this port instead of stdio.
BITBUCKET_TOKENYesPersonal Access Token. Required for the MCP server.
BITBUCKET_API_BASENoREST module and version. Default: api/1.0.api/1.0
BITBUCKET_USER_SLUGNoUser slug the review tools act as, when a proxy strips X-AUSERNAME.
MCP_PERMISSION_MODENoWhich verbs the MCP server exposes — see Permissions. Default: full.full
BITBUCKET_ALLOWED_REPOSNoRepository allowlist: comma-, semicolon- or space-separated patterns. Unset means all.
BITBUCKET_DIFF_MAX_CHARSNoEnvironment-overridable cap: max chars for diff. Default: 60000.60000
BITBUCKET_DIFF_HEAD_RATIONoEnvironment-overridable cap: head ratio. Default: 0.6.0.6
BITBUCKET_ALLOWED_PROJECTSNoRepository allowlist: comma-, semicolon- or space-separated patterns. Unset means all.
BITBUCKET_DIFF_CACHE_ENTRIESNoEnvironment-overridable cap: cache entries. Default: 4.4
BITBUCKET_DIFF_CONTEXT_LINESNoEnvironment-overridable cap: context lines. Default: 3.3
BITBUCKET_REQUEST_TIMEOUT_MSNoEnvironment-overridable cap: request timeout in ms. Default: 30000.30000
BITBUCKET_DIFF_FETCH_MAX_CHARSNoEnvironment-overridable cap: max chars to fetch. Default: 12000000.12000000
BITBUCKET_CHANGED_FILES_MAX_ITEMSNoEnvironment-overridable cap: max changed files items. Default: 1000.1000
BITBUCKET_CHANGED_FILES_STATS_MAX_FILESNoEnvironment-overridable cap: max changed files stats. Default: 500.500

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