Loading MCP server directory, please wait...
Read-only SonarQube Community Build access for AI agents: issues, hotspots, rules, code snippets
npx @getmcp/cli add io.github.igorolv/sonar-mcp-serverRequires Docker Engine. Community-contributed server. Review source before installing.
SONAR_URLBase URL of the SonarQube instance, e.g. https://sonar.example.com
SONAR_TOKENSonarQube user token (My Account -> Security -> Generate Tokens)
Config file: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"io.github.igorolv/sonar-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"SONAR_URL",
"-e",
"SONAR_TOKEN",
"-e",
"SONAR_DEFAULT_PROJECT_KEY",
"ghcr.io/igorolv/sonar-mcp-server:0.1.0"
],
"env": {
"SONAR_URL": "",
"SONAR_TOKEN": "",
"SONAR_DEFAULT_PROJECT_KEY": ""
}
}
}
}