Build your SonarQube MCP Server
The SonarQube MCP Server can be launched using our container image, installed using our JAR, and you can build your own server if needed. This page helps you get started with any of those options.
Build locally
Manual installation
{
"sonarqube": {
"command": "java",
"args": [
"-jar",
"<PathToYourSonarQubeMCPServerJAR>"
],
"env": {
"STORAGE_PATH": "<PathToYourMCPStorage>",
"SONARQUBE_TOKEN": "<YourSonarQubeUserToken>",
"SONARQUBE_ORG": "<YourOrganization>"
}
}
}{
"sonarqube": {
"command": "java",
"args": [
"-jar",
"<PathToYourSonarQubeMCPServerJAR>"
],
"env": {
"STORAGE_PATH": "<PathToYourMCPStorage>",
"SONARQUBE_TOKEN": "<YourSonarQubeUserToken>",
"SONARQUBE_URL": "<YourSonarQubeURL>"
}
}
}Deployment options.
Last updated
Was this helpful?

