Using SonarQube MCP Server
This page describes how to integrate the SonarQube MCP Server with SonarQube for IDE to enhance your development workflow in an AI-enabled environment.
Integration with SonarQube for IDE
{
"sonarqube": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"SONARQUBE_TOKEN",
"-e",
"SONARQUBE_ORG",
"-e",
"SONARQUBE_IDE_PORT",
"mcp/sonarqube"
],
"env": {
"SONARQUBE_TOKEN": "<YourSonarQubeUserToken>",
"SONARQUBE_ORG": "<YourSonarQubeOrganization>",
"SONARQUBE_IDE_PORT": "<Your-IDE-Port>"
}
}
}Analyzing code snippets in the agent
Example in Cursor

Using the MCP tools
Last updated
Was this helpful?

