Skip to content
mcp/skillhub

SonarQube MCP Server

by sonarsourceio.github.SonarSource/sonarqube-mcp-serverv1.21.0

Provides seamless integration with SonarQube Server or Cloud, and enables analysis of code snippets directly within the agent context

658Dockerstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Active1d ago

Install SonarQube MCP server

Install in Claude Code

claude mcp add sonarqube -e SONARQUBE_TOKEN='<sonarqube-token>' -e SONARQUBE_ORG='<sonarqube-org>' -e SONARQUBE_URL='<sonarqube-url>' -- docker run -i --rm -e SONARQUBE_TOKEN -e SONARQUBE_ORG -e SONARQUBE_URL docker.io/sonarsource/sonarqube-mcp

Configuration

VariableRequiredSecretDescription
SONARQUBE_TOKENyesyesYour SonarQube USER token
SONARQUBE_ORG—yesYour SonarQube Cloud organization key (if using SonarQube Cloud)
SONARQUBE_URL—yesYour SonarQube Server URL (if using SonarQube Server)

Freshness

Active — last maintenance signal 1d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-08 · 1d ago · GitHub

  2. Latest release

    2026-09-29 · 10d ago · GitHub · 1.28.0.4397

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-06-25 · 4mo ago · official registry · v1.21.0

FAQ

›How do I install the SonarQube MCP server in Claude Code?

Run: claude mcp add sonarqube -e SONARQUBE_TOKEN='<sonarqube-token>' -e SONARQUBE_ORG='<sonarqube-org>' -e SONARQUBE_URL='<sonarqube-url>' -- docker run -i --rm -e SONARQUBE_TOKEN -e SONARQUBE_ORG -e SONARQUBE_URL docker.io/sonarsource/sonarqube-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does SonarQube require an API key?

Yes. It expects SONARQUBE_TOKEN, SONARQUBE_ORG, SONARQUBE_URL, of which 3 are secrets.

›Can I use SonarQube as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is SonarQube in the official MCP registry?

Yes, as io.github.SonarSource/sonarqube-mcp-server.