Loading...
{
"mcpServers": {
"sonarqube": {
"command": "npx",
"args": ["-y", "sonarqube-mcp-server@latest"],
"env": {
"SONARQUBE_URL": "https://sonarcloud.io",
"SONARQUBE_TOKEN": "your-token-here",
"SONARQUBE_ORGANIZATION": "your-org (for SonarCloud)"
}
}
}
}get_project_statusRetrieves the current status and quality gate results for a specified project.
Read-only operation, no modification of data.
update_quality_profileModifies an existing quality profile by adding or removing rules.
Changes the configuration of code analysis rules.
create_projectCreates a new project within the Sonarqube instance.
Creates new entities within the system.
delete_projectDeletes a project and its associated data from Sonarqube.
Destructive operation that permanently removes data.
The Sonarqube MCP server can be safe for read-only operations with proper RBAC. However, write operations, especially with an unmaintained version, pose a moderate risk due to potential configuration changes and security vulnerabilities. Exercise caution and consider migrating to the official version.