SonarQube MCP Server for Grok
io.github.sonarsource/sonarqube-mcp-server
Analyze code quality and security with SonarQube Server or Cloud directly in AI assistants.
client:Grok
transport:stdio
runtime:oci
Install SonarQube MCP Server in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"sonarqube-mcp-server": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/sonarsource/sonarqube-mcp"
],
"env": {
"SONARQUBE_TOKEN": "<SONARQUBE_TOKEN>",
"SONARQUBE_ORG": "<SONARQUBE_ORG>",
"SONARQUBE_URL": "<SONARQUBE_URL>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs