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
{
"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