Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SONARQUBE_ORGNoOrganization key — the last segment of sonarcloud.io/organizations/{key}. Required by listProjects and getRule only.
SONARQUBE_URLNoBase URL. Only sonarcloud.io and sonarqube.us over https are accepted; anything else is ignored with a warning on stderr.https://sonarcloud.io
SONARQUBE_TOKENNoUser token, sent as Bearer. Absent is legal: public projects stay readable, everything else fails with a message naming this variable.
SONARQUBE_MCP_LOG_LEVELNoMinimum level for the stderr logger: Trace, Debug, Information, Warning, Error, Critical, None.Information
SONARQUBE_MCP_READ_ONLYNo1 registers only the eighteen read tools; the five write tools are absent from tools/list. Accepts 1/true/yes/on and 0/false/no/off.0
SONARQUBE_MCP_MAX_PAGE_SIZENoCeiling on a tool's pageSize, 1–500. 500 is the API's own hard limit.100
SONARQUBE_MCP_DEFAULT_PROJECTNoDefault for the projectKey tool argument. The id in a project URL, not the repository name.
SONARQUBE_MCP_MAX_SOURCE_LINESNoCap on getFileCoverage's from–to span, 1–20000.2000
SONARQUBE_MCP_DEFAULT_PAGE_SIZENoThe pageSize a tool uses when the call omits it. Clamped to the ceiling above.50
SONARQUBE_MCP_HTTP_TIMEOUT_SECONDSNoWhole-request timeout, 5–600.100

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