Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SONARLESS_SCANNERNoPer-project scanner to use (auto-detected by default).auto
SONARLESS_SOURCESNoPer-project sources path..
SONARLESS_INSTANCENoNames the containers (`-server`, `-mcp`), network and volumes.sonarless
SONARLESS_MCP_PORTNoPort for the shared SonarQube MCP server.9235
SONARLESS_MCP_IMAGENoThe image used for the shared SonarQube MCP server.sonarsource/sonarqube-mcp:latest
SONARLESS_ADMIN_PASSNoLocal admin password.admin
SONARLESS_ADMIN_USERNoLocal admin username.admin
SONARLESS_SCAN_TESTSNoPer-project setting; set to true to run tests during build-based scans (needed for coverage).false
SONARLESS_AUTO_UPDATENoSet to false to turn off the daily background update check (binary + MCP image).true
SONARLESS_PLUGINS_DIRNoExtra plugin jars directory (a `shellcheck` binary there is mounted into CLI scans).<config dir>/plugins
SONARLESS_PROJECT_KEYNoPer-project SonarQube project key. Takes precedence over all other project key detection.
SONARLESS_SERVER_PORTNoWeb UI/API port (127.0.0.1).9234
SONARLESS_IDLE_TIMEOUTNoIdle timeout after which a background watcher stops the containers. Set to 0 to keep everything running.30m
SONARLESS_MCP_TOOLSETSNoToolsets passed to the MCP server (defaults to the server defaults).
SONARLESS_METRICS_FILENoPer-project file where `results` saves key metrics.sonar-metrics.json
SONARLESS_PROJECT_NAMENoPer-project SonarQube project name (default is detected).
SONARLESS_MCP_READ_ONLYNoPassed to the MCP server; set to true for read-only mode.false
SONARLESS_SCANNER_IMAGENoPer-project scanner CLI image.sonarsource/sonar-scanner-cli:12.1
SONARLESS_SONARQUBE_VERSIONNoThe `sonarqube` image tag. Set this to match the SonarQube version your CI uses.26.6.0.123539-community

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