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_URL": "https://sonarqube.us" //define this parameter to connect to an organization in the US region
}
}
}{
"sonarqube": {
"command": "java",
"args": [
"-jar",
"<PathToYourSonarQubeMCPServerJAR>"
],
"env": {
"STORAGE_PATH": "<PathToYourMCPStorage>",
"SONARQUBE_TOKEN": "<YourSonarQubeUserToken>",
"SONARQUBE_URL": "<YourSonarQubeServerURL>"
}
}
}Deployment options
Last updated
Was this helpful?

