Sonar MCP Server for Grok
io.github.igorolv/sonar-mcp-server
Read-only SonarQube Community Build access for AI agents: issues, hotspots, rules, code snippets
client:Grok
transport:stdio
runtime:oci
Install Sonar MCP Server in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"sonar-mcp-server": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/igorolv/sonar-mcp-server:0.1.0"
],
"env": {
"SONAR_URL": "<SONAR_URL>",
"SONAR_TOKEN": "<SONAR_TOKEN>",
"SONAR_DEFAULT_PROJECT_KEY": "<SONAR_DEFAULT_PROJECT_KEY>"
}
}
}
}
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