sonarqube-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SONARQUBE_URL | Yes | SonarQube URL (no trailing slash) | |
| SONARQUBE_TOKEN | Yes | Bearer token. Generate in: My Account → Security → Tokens | |
| SONARQUBE_SSL_VERIFY | No | true/false. Default: true. | true |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| sonarqube_list_projectsA | List SonarQube projects (components with qualifier Use this first to discover which project keys exist before calling
Pagination: if Examples:
- Use when: "What SonarQube projects contain 'backend' in the name?"
→ Returns:
dict with keys |
| sonarqube_project_metricsA | Fetch measures for a single project. Wraps To find valid metric keys, call with the default set first — SonarQube ignores unknown metric keys and returns what it knows. Examples:
- Use when: "What's the code coverage of |
| sonarqube_quality_gate_statusA | Fetch the Quality Gate status for a project. Wraps
Examples:
- Use when: "Is |
| sonarqube_get_issuesA | Search issues for a SonarQube project. Wraps Pagination: if Examples:
- Use when: "Triage top BLOCKER / CRITICAL bugs in |
| sonarqube_worst_metricsA | Rank projects by the worst value of a single metric. Algorithm:
For fine-grained metrics ( Examples:
- Use when: "Top 10 worst-coverage services across the org"
→ |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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/mshegolev/sonarqube-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server