sonarless-mcp
by BrainerVirus
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SONARLESS_SCANNER | No | Per-project scanner to use (auto-detected by default). | auto |
| SONARLESS_SOURCES | No | Per-project sources path. | . |
| SONARLESS_INSTANCE | No | Names the containers (`-server`, `-mcp`), network and volumes. | sonarless |
| SONARLESS_MCP_PORT | No | Port for the shared SonarQube MCP server. | 9235 |
| SONARLESS_MCP_IMAGE | No | The image used for the shared SonarQube MCP server. | sonarsource/sonarqube-mcp:latest |
| SONARLESS_ADMIN_PASS | No | Local admin password. | admin |
| SONARLESS_ADMIN_USER | No | Local admin username. | admin |
| SONARLESS_SCAN_TESTS | No | Per-project setting; set to true to run tests during build-based scans (needed for coverage). | false |
| SONARLESS_AUTO_UPDATE | No | Set to false to turn off the daily background update check (binary + MCP image). | true |
| SONARLESS_PLUGINS_DIR | No | Extra plugin jars directory (a `shellcheck` binary there is mounted into CLI scans). | <config dir>/plugins |
| SONARLESS_PROJECT_KEY | No | Per-project SonarQube project key. Takes precedence over all other project key detection. | |
| SONARLESS_SERVER_PORT | No | Web UI/API port (127.0.0.1). | 9234 |
| SONARLESS_IDLE_TIMEOUT | No | Idle timeout after which a background watcher stops the containers. Set to 0 to keep everything running. | 30m |
| SONARLESS_MCP_TOOLSETS | No | Toolsets passed to the MCP server (defaults to the server defaults). | |
| SONARLESS_METRICS_FILE | No | Per-project file where `results` saves key metrics. | sonar-metrics.json |
| SONARLESS_PROJECT_NAME | No | Per-project SonarQube project name (default is detected). | |
| SONARLESS_MCP_READ_ONLY | No | Passed to the MCP server; set to true for read-only mode. | false |
| SONARLESS_SCANNER_IMAGE | No | Per-project scanner CLI image. | sonarsource/sonar-scanner-cli:12.1 |
| SONARLESS_SONARQUBE_VERSION | No | The `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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues