Search / io.github.SonarSource/sonarqube-mcp-server
SonarQube MCP Server
L0· runs locallyAnalyze code quality and security with SonarQube Server or Cloud directly in AI assistants.
v1.21.0 · active · repository · descriptor JSON · versions
Search / io.github.SonarSource/sonarqube-mcp-server
L0· runs locallyAnalyze code quality and security with SonarQube Server or Cloud directly in AI assistants.
v1.21.0 · active · repository · descriptor JSON · versions
{
"mcpServers": {
"sonarqube-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"SONARQUBE_TOKEN",
"-e",
"SONARQUBE_ORG",
"-e",
"SONARQUBE_URL",
"docker.io/sonarsource/sonarqube-mcp"
],
"env": {
"SONARQUBE_TOKEN": "${SONARQUBE_TOKEN}",
"SONARQUBE_ORG": "${SONARQUBE_ORG}",
"SONARQUBE_URL": "${SONARQUBE_URL}"
}
}
}
}claude mcp add sonarqube-mcp-server -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[mcp_servers.sonarqube-mcp-server]
command = "docker"
args = ["run", "-i", "--rm", "-e", "SONARQUBE_TOKEN", "-e", "SONARQUBE_ORG", "-e", "SONARQUBE_URL", "docker.io/sonarsource/sonarqube-mcp"]
env = { "SONARQUBE_TOKEN" = "${SONARQUBE_TOKEN}", "SONARQUBE_ORG" = "${SONARQUBE_ORG}", "SONARQUBE_URL" = "${SONARQUBE_URL}" }
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"sonarqube-mcp-server": {
"type": "local",
"command": [
"docker",
"run",
"-i",
"--rm",
"-e",
"SONARQUBE_TOKEN",
"-e",
"SONARQUBE_ORG",
"-e",
"SONARQUBE_URL",
"docker.io/sonarsource/sonarqube-mcp"
],
"enabled": true,
"environment": {
"SONARQUBE_TOKEN": "{env:SONARQUBE_TOKEN}",
"SONARQUBE_ORG": "{env:SONARQUBE_ORG}",
"SONARQUBE_URL": "{env:SONARQUBE_URL}"
}
}
}
}{
"mcpServers": {
"sonarqube-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"SONARQUBE_TOKEN",
"-e",
"SONARQUBE_ORG",
"-e",
"SONARQUBE_URL",
"docker.io/sonarsource/sonarqube-mcp"
],
"env": {
"SONARQUBE_TOKEN": "${SONARQUBE_TOKEN}",
"SONARQUBE_ORG": "${SONARQUBE_ORG}",
"SONARQUBE_URL": "${SONARQUBE_URL}"
}
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=sonarqube-mcp-server&config=eyJjb21tYW5kIjoiZG9ja2VyIiwiYXJncyI6WyJydW4iLCItaSIsIi0tcm0iLCItZSIsIlNPTkFSUVVCRV9UT0tFTiIsIi1lIiwiU09OQVJRVUJFX09SRyIsIi1lIiwiU09OQVJRVUJFX1VSTCIsImRvY2tlci5pby9zb25hcnNvdXJjZS9zb25hcnF1YmUtbWNwIl0sImVudiI6eyJTT05BUlFVQkVfVE9LRU4iOiIke1NPTkFSUVVCRV9UT0tFTn0iLCJTT05BUlFVQkVfT1JHIjoiJHtTT05BUlFVQkVfT1JHfSIsIlNPTkFSUVVCRV9VUkwiOiIke1NPTkFSUVVCRV9VUkx9In19"
}{
"servers": {
"sonarqube-mcp-server": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"SONARQUBE_TOKEN",
"-e",
"SONARQUBE_ORG",
"-e",
"SONARQUBE_URL",
"docker.io/sonarsource/sonarqube-mcp"
],
"env": {
"SONARQUBE_TOKEN": "${SONARQUBE_TOKEN}",
"SONARQUBE_ORG": "${SONARQUBE_ORG}",
"SONARQUBE_URL": "${SONARQUBE_URL}"
}
}
}
}{
"mcpServers": {
"sonarqube-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"SONARQUBE_TOKEN",
"-e",
"SONARQUBE_ORG",
"-e",
"SONARQUBE_URL",
"docker.io/sonarsource/sonarqube-mcp"
],
"env": {
"SONARQUBE_TOKEN": "${SONARQUBE_TOKEN}",
"SONARQUBE_ORG": "${SONARQUBE_ORG}",
"SONARQUBE_URL": "${SONARQUBE_URL}"
}
}
}
}extensions:
"sonarqube-mcp-server":
enabled: true
name: "sonarqube-mcp-server"
type: stdio
cmd: "docker"
args:
- "run"
- "-i"
- "--rm"
- "-e"
- "SONARQUBE_TOKEN"
- "-e"
- "SONARQUBE_ORG"
- "-e"
- "SONARQUBE_URL"
- "docker.io/sonarsource/sonarqube-mcp"
envs:
"SONARQUBE_TOKEN": "${SONARQUBE_TOKEN}"
"SONARQUBE_ORG": "${SONARQUBE_ORG}"
"SONARQUBE_URL": "${SONARQUBE_URL}"
timeout: 300
Placeholders to fill from your own secret store: ${SONARQUBE_TOKEN}, ${SONARQUBE_ORG}, ${SONARQUBE_URL}. The registry never accepts secret values.
This is a local package: the command runs on your machine.
Not scored: fewer than three checks apply, usually because no remote answered a credential-free probe or the server is a local package.
protocol.modern, protocol.stateless, protocol.transport, protocol.list_ttlno remote answered a protocol handshake (not probed yet, unreachable, or local-only)auth.prm, auth.as_metadata, auth.cimdno remote uses OAuthauth.secret_in_urlno templated URLtools.descriptions, tools.description_length, tools.schemas, tools.annotations, tools.directory_hints, tools.token_cost, tools.api_dumptool list unknown (behind auth, not probed, or empty)stability.changes, stability.rug_pulltool list unknowndeps.known_vulns, deps.mcp_sdk_version, deps.resolvableno npm or PyPI packageNo tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+repository +namespace-matches-repo ~liveness-unmeasured ~updated-117d-ago -unpinned-packages(1)
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
| package | registry | version | runtime | secrets |
|---|---|---|---|---|
docker.io/sonarsource/sonarqube-mcp | oci | unpinned | – | SONARQUBE_TOKEN, SONARQUBE_ORG, SONARQUBE_URL |
No tools observed. Local packages are never executed by the registry.
Schemas: list_tools.
{
"name": "io.github.SonarSource/sonarqube-mcp-server",
"title": "SonarQube MCP Server",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"version": "1.21.0",
"packages": [
{
"transport": {
"type": "stdio"
},
"identifier": "docker.io/sonarsource/sonarqube-mcp",
"registryType": "oci",
"environmentVariables": [
{
"name": "SONARQUBE_TOKEN",
"format": "string",
"isSecret": true,
"isRequired": true,
"description": "Your SonarQube USER token"
},
{
"name": "SONARQUBE_ORG",
"format": "string",
"isSecret": true,
"description": "Your SonarQube Cloud organization key (if using SonarQube Cloud)"
},
{
"name": "SONARQUBE_URL",
"format": "string",
"isSecret": true,
"description": "Your SonarQube Server URL (if using SonarQube Server)"
}
]
}
],
"repository": {
"url": "https://github.com/SonarSource/sonarqube-mcp-server",
"source": "github"
},
"description": "Analyze code quality and security with SonarQube Server or Cloud directly in AI assistants."
}