Kiro
Set up the SonarQube MCP Server in Kiro and start using Sonar tools from your agent.
Set up MCP for Kiro
Environment variables
Connection and transport
{
"mcpServers": {
"sonarqube": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--init",
"--pull=always",
"-e",
"SONARQUBE_TOKEN",
"-e",
"SONARQUBE_ORG",
//"-e",
//"SONARQUBE_URL",
"mcp/sonarqube"
],
"env": {
"SONARQUBE_TOKEN": "<YourSonarQubeUserToken>",
"SONARQUBE_ORG": "<YourOrganizationName>"
//"SONARQUBE_URL": "https://sonarqube.us"
},
"disabled": false,
"autoApprove": []
}
}
}Use Sonar tools from Kiro
Last updated
Was this helpful?

