Sonar MCP Server for Cline
io.github.igorolv/sonar-mcp-server
Read-only SonarQube Community Build access for AI agents: issues, hotspots, rules, code snippets
client:Cline
transport:stdio
runtime:oci
Install Sonar MCP Server in Cline
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json · windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
{
"mcpServers": {
"sonar-mcp-server": {
"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>"
}
}
}
}
Cline's MCP Servers pane edits this file for you if you would rather not find it. Cline docs