Home › Other › SonarQube MCP Server

SonarQube MCP Server

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

Official Java
★ 685 stars Last pushed 2026-11-11 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 -e SONARQUBE_TOKEN=<YOUR_VALUE> -e SONARQUBE_ORG=<YOUR_VALUE> -e SONARQUBE_URL=<YOUR_VALUE> docker.io/sonarsource/sonarqube-mcp

Or add to your MCP client config:

{
  "mcpServers": {
    "sonarqube-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SONARQUBE_TOKEN=<YOUR_VALUE>",
        "-e",
        "SONARQUBE_ORG=<YOUR_VALUE>",
        "-e",
        "SONARQUBE_URL=<YOUR_VALUE>",
        "docker.io/sonarsource/sonarqube-mcp"
      ]
    }
  }
}
  • 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