Skip to content

sonarsource/sonarqube

v2.7.0SSAL-1.0

SonarQube is the AI code quality and security verification platform used by millions of developers to catch bugs, vulnerabilities, and leaked secrets. This plugin enforces those standards in the agent coding loop: 7,500+ distinct issue types, secrets scanning, agentic analysis, and quality gates across 40+ languages.

sonar-analyze

Analyze a file for quality and security issues using SonarQube

sonar-coverage

Find files with low test coverage and inspect uncovered lines in a SonarQube project (project key optional when MCP integration already defines the default project)

sonar-dependency-risks

Search for software composition analysis (SCA) dependency risks in a SonarQube project (project key optional when MCP integration already defines the default project)

sonar-duplication

Find files with code duplications in a SonarQube project and inspect duplication blocks for a file (project key optional when MCP integration already defines the default project)

sonar-fix-issue

Fix a specific SonarQube issue in code by rule key and location

sonar-integrate

Installs sonarqube-cli if not already installed, authenticates, and integrates SonarQube with the current agent (installs analysis hooks & SonarQube MCP Server). Use when the user wants to set up SonarQube integration or asks to configure SonarQube.

sonar-list-issues

Search and filter SonarQube issues for a project, branch, or pull request via sonarqube-cli (-p is always required on the CLI; resolve the key from user arguments or sonar-project.properties)

sonar-list-projects

List SonarQube projects accessible to the current user

sonar-quality-gate

Show SonarQube quality gate status for a project — pass/fail and each condition (metric key, threshold, actual value), plus worst-offender breakdowns. Project key optional — resolved from sonar-project.properties or the MCP integration default.

sonar-triage-dependency-risks

Triage SonarQube SCA dependency risks by CVE reachability, prepare safe UI writeups, and optionally bundle confirmed package fixes.