SonarQube MCP Server
Analyze code quality and security with SonarQube Server or Cloud directly in AI assistants.
io.github.SonarSource/sonarqube-mcp-server · Repository · version 1.21.0 · 623 stars · listed from registry
Install
The sweep pulls the image and runs it in a throwaway container, but this is the command a user would run:
docker run -i --rm docker.io/sonarsource/sonarqube-mcp
Needs credentials: SONARQUBE_TOKEN. The probe used placeholder values, so an amber needs credentials result below means the server asked for the real ones, not that it is broken. Maintainers: how to go green.
Results by platform
Linux
needs credentials2026-08-16 · probed over oci1 recorded run, oldest first.
handshake failed: MCP error -32000: Connection closed --- stderr (tail) --- Exception in thread "main" java.lang.IllegalArgumentException: SONARQUBE_URL or SONARQUBE_ORG must be set. Set SONARQUBE_URL to your SonarQube Server URL or SonarQube Cloud URL, or set SONARQUBE_ORG to connect to SonarQube Cloud. at org.sonarsource.sonarqube.mcp.configuration.McpServerLaunchConfiguration.validateStdioConfiguration(McpServerLaunchConfiguration.java:411) at org.sonarsource.sonarqube.mcp.configuration.McpServerLaunchConfiguration.<init>(McpServerLaunchConfiguration.java:170) at org.sonarsource.sonarqube.mcp.SonarQubeMcpServer.<init>(SonarQubeMcpServer.java:203) at org.sonarsource.sonarqube.mcp.SonarQubeMcpServer.main(SonarQubeMcpServer.java:199)
macOS
not tested2026-08-161 recorded run, oldest first.
docker not available on this runner, so container distributions are probed on Linux only
Windows
not tested2026-08-161 recorded run, oldest first.
docker not available on this runner, so container distributions are probed on Linux only
Badge
Paste this into the project README to show the current result:
[](https://doesitinstall.com/s/io.github.sonarsource__sonarqube-mcp-server.html)