HomeOther › SonarQube MCP Server

SonarQube MCP Server

Analyze code quality and security with SonarQube Server or Cloud directly in AI assistants.

Official Java
★ 656 stars Last pushed 2026-09-24 License: NOASSERTION

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Package (oci)

docker run -i --rm docker.io/sonarsource/sonarqube-mcp

Or add to your MCP client config:

{
  "mcpServers": {
    "sonarqube-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/sonarsource/sonarqube-mcp"
      ],
      "env": {
        "SONARQUBE_TOKEN": "<YOUR_VALUE>",
        "SONARQUBE_ORG": "<YOUR_VALUE>",
        "SONARQUBE_URL": "<YOUR_VALUE>"
      }
    }
  }
}
  • SONARQUBE_TOKEN required secret — Your SonarQube USER token
  • SONARQUBE_ORG secret — Your SonarQube Cloud organization key (if using SonarQube Cloud)
  • SONARQUBE_URL secret — Your SonarQube Server URL (if using SonarQube Server)

Related servers

Listed in wong2/awesome-mcp-servers (MIT)

Data from the Official MCP Registry