Skip to content
Windsurf

SonarQube MCP Server for Windsurf

io.github.sonarsource/sonarqube-mcp-server

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

client:Windsurf transport:stdio runtime:oci

Install SonarQube MCP Server in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "sonarqube-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/sonarsource/sonarqube-mcp"
      ],
      "env": {
        "SONARQUBE_TOKEN": "<SONARQUBE_TOKEN>",
        "SONARQUBE_ORG": "<SONARQUBE_ORG>",
        "SONARQUBE_URL": "<SONARQUBE_URL>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

SonarQube MCP Server in other clients