Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SONAR_TOKENYesSonarQube token. Sent as Basic Auth using Authorization: Basic base64("${SONAR_TOKEN}:").
SONAR_HOST_URLYesSonarQube base URL. Trailing slashes are normalized.
SONAR_PROJECT_KEYNoDefault project key used by project-scoped tools when projectKey and projectName are omitted.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_sonar_issuesC

Search read-only SonarQube issues through /api/issues/search.

get_quality_gate_statusC

Get read-only SonarQube quality gate status for a project.

get_rule_detailsC

Get read-only SonarQube rule details.

get_component_measuresC

Get read-only SonarQube component measures for metric keys.

get_sonar_sourcesA

Get read-only SonarQube source lines for a component.

search_sonar_projectsB

Find SonarQube project keys by project name or key.

get_sonar_issue_contextB

Get one SonarQube issue with source lines around the affected range.

get_sonar_fix_planA

Return unresolved SonarQube issues grouped by file with optional source context for fixing new-code or overall-code issues.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yozzone/sonarqube-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server