sonarqube / setup / claude-desktop
Setup guide

Set up SonarQube in Claude Desktop

communitystdiounknown

Provides seamless integration with [SonarQube](https://www.sonarsource.com/) Server or Cloud, and enables analysis of code snippets directly within the agent context


01Configuration
{ "mcpServers": { "sonarqube": { "command": "docker", "args": [ "run", "sonarsource/sonarqube-mcp" ] } } }

Add this to claude_desktop_config.json. Generated from the captured install method (docker); the mcpServers shape is shared across Claude Desktop, Cursor, Windsurf, Cline, and VS Code.


02Steps
  1. Make sure Claude Desktop is installed and up to date.
  2. Open claude_desktop_config.json and add the block above (merge into any existing mcpServers).
  3. Provide any required API keys/credentials as environment variables.
  4. Restart Claude Desktop and confirm SonarQube’s tools appear.

03Other runtimes

04Provenance
config_sourcegenerated from captured install method
last_checked2026-08-16 23:13Z
sourcesAwesome MCP Servers (wong2) [p6]

Next step

Want agents that act within guardrails? Apex is the live governed-agent product — paced, capped, and fully-logged actions with approvals before anything runs.

Explore Apex →

See also: server page · is it safe? · alternatives

Set up SonarQube MCP in Claude Desktop — MCPExplorer