SonarQube MCP — projects, metrics, quality gate, issues, worst-metric ranking.
Connect Runs on your machine
claude mcp add sonarqube-mcp -e SONARQUBE_URL=<SONARQUBE_URL> -e SONARQUBE_TOKEN=<SONARQUBE_TOKEN> -e SONARQUBE_SSL_VERIFY=<SONARQUBE_SSL_VERIFY> -- uvx sonarqube-mcp==0.1.0
{
"mcpServers": {
"sonarqube-mcp": {
"command": "uvx",
"args": [
"sonarqube-mcp==0.1.0"
],
"env": {
"SONARQUBE_URL": "<SONARQUBE_URL>",
"SONARQUBE_TOKEN": "<SONARQUBE_TOKEN>",
"SONARQUBE_SSL_VERIFY": "<SONARQUBE_SSL_VERIFY>"
}
}
}
}
{
"mcpServers": {
"sonarqube-mcp": {
"command": "uvx",
"args": [
"sonarqube-mcp==0.1.0"
],
"env": {
"SONARQUBE_URL": "<SONARQUBE_URL>",
"SONARQUBE_TOKEN": "<SONARQUBE_TOKEN>",
"SONARQUBE_SSL_VERIFY": "<SONARQUBE_SSL_VERIFY>"
}
}
}
}
{
"servers": {
"sonarqube-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"sonarqube-mcp==0.1.0"
],
"env": {
"SONARQUBE_URL": "<SONARQUBE_URL>",
"SONARQUBE_TOKEN": "<SONARQUBE_TOKEN>",
"SONARQUBE_SSL_VERIFY": "<SONARQUBE_SSL_VERIFY>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
SONARQUBE_URLRequired | SonarQube URL (e.g. https://sonar.example.com or https://sonarcloud.io) |
SONARQUBE_TOKENRequired, secret | SonarQube authentication token (Bearer). Generate in: My Account → Security → Tokens. |
SONARQUBE_SSL_VERIFYOptional | Verify SSL certificates (true/false). Set to 'false' for self-signed certs. |
Details
| Package | [email protected] (PYPI, stdio) |
| First published | 18 Apr 2026 |
| Last updated | 18 Apr 2026 |
| Registry name | io.github.mshegolev/sonarqube-mcp |
More data and analytics servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
