SonarQube MCP Server for Zed
io.github.sonarsource/sonarqube-mcp-server
Analyze code quality and security with SonarQube Server or Cloud directly in AI assistants.
client:Zed
transport:stdio
runtime:oci
Install SonarQube MCP Server in Zed
~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json
{
"context_servers": {
"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>"
}
}
}
}
Merge this into your existing settings object — do not replace the file. Zed docs