NestDaddy

SonarQube MCP Server

io.github.SonarSource/sonarqube-mcp-server ยท v1.32.0

Analyze code quality and security with SonarQube Server or Cloud directly in AI assistants.

Connect Runs on your machine

Terminal
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 docker.io/sonarsource/sonarqube-mcp
claude_desktop_config.json
{
  "mcpServers": {
    "sonarqube-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/sonarsource/sonarqube-mcp"
      ],
      "env": {
        "SONARQUBE_TOKEN": "<SONARQUBE_TOKEN>",
        "SONARQUBE_ORG": "<SONARQUBE_ORG>",
        "SONARQUBE_URL": "<SONARQUBE_URL>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "sonarqube-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/sonarsource/sonarqube-mcp"
      ],
      "env": {
        "SONARQUBE_TOKEN": "<SONARQUBE_TOKEN>",
        "SONARQUBE_ORG": "<SONARQUBE_ORG>",
        "SONARQUBE_URL": "<SONARQUBE_URL>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "sonarqube-mcp-server": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/sonarsource/sonarqube-mcp"
      ],
      "env": {
        "SONARQUBE_TOKEN": "<SONARQUBE_TOKEN>",
        "SONARQUBE_ORG": "<SONARQUBE_ORG>",
        "SONARQUBE_URL": "<SONARQUBE_URL>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
SONARQUBE_TOKEN
Required, secret
Your SonarQube USER token
SONARQUBE_ORG
Optional, secret
Your SonarQube Cloud organization key (if using SonarQube Cloud)
SONARQUBE_URL
Optional, secret
Your SonarQube Server URL (if using SonarQube Server)

Details

Packagedocker.io/sonarsource/sonarqube-mcp (OCI, stdio)
First published10 Nov 2026
Last updated10 Nov 2026
Registry nameio.github.SonarSource/sonarqube-mcp-server

More developer tools servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.