Sonar MCP Server
io.github.igorolv/sonar-mcp-server
v0.1.0Updated Sep 17, 2026stdio · Docker
Read-only SonarQube Community Build access for AI agents: issues, hotspots, rules, code snippets
Install
Needs 1 secret. Replace 2 placeholders with your own values.
Run in your terminal. Replace 2 placeholders.
claude mcp add sonar-mcp-server -e 'SONAR_URL=<your-sonar-url>' -e 'SONAR_TOKEN=<your-sonar-token>' -- docker run -i --rm -e SONAR_URL -e SONAR_TOKEN ghcr.io/igorolv/sonar-mcp-server:0.1.0Configuration
3 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.
SONAR_TOKENEnv var· required· secretSonarQube user token (My Account -> Security -> Generate Tokens)SONAR_URLEnv var· requiredBase URL of the SonarQube instance, e.g. https://sonar.example.comSONAR_DEFAULT_PROJECT_KEYEnv var· optionalProject key used when a tool call does not name one
Links
Listed in the official MCP Registry since Sep 17, 2026. Mirrored daily; last checked Nov 26, 2026.