All plugins

SonarQube Cloud

Review code as it's written

Nothing opened?

SonarQube Cloud installs from inside ZeroTwo. Get the desktop app, then open this plugin from Plugins.

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.

What an agent can do with SonarQube Cloud

  • Analyze code quality

    The agent analyzes a file for quality and security issues using SonarQube while you write code across more than 40 languages and checks for leaked secrets.

  • Fix a reported issue

    The agent fixes a specific SonarQube issue in code, working from its rule key and location so the fix targets the exact problem that SonarQube reported.

  • Find coverage and risks

    The agent finds files with low test coverage, code duplications and dependency risks in a SonarQube project so you know where to improve.

How to connect SonarQube Cloud to ZeroTwo

  1. Open SonarQube Cloud in ZeroTwo

    Press Open in ZeroTwo on this page, or find SonarQube Cloud under Plugins in the app. Get the app first if it is not on this computer.

  2. Install the plugin

    Press Install. SonarQube Cloud needs no account or key.

  3. Give an agent a task

    Ask an agent for work that needs SonarQube Cloud, such as one of the example prompts below. The agent uses the plugin's tools to do it.

Example prompts1

  • SonarQube CloudHelp me fix the most severe SonarQube issues for this project

Skills10

  • 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.

Information6

Developer
Sonar
Category
Coding
Version
2.7.0

Questions

Does the SonarQube Cloud plugin need an API key?

No. The SonarQube Cloud server needs no account or key.

Does it cost anything?

The plugin itself is free. Agent work uses your ZeroTwo credits as usual, and anything SonarQube Cloud charges for is billed to your SonarQube Cloud account.

What does SonarQube Cloud receive?

SonarQube Cloud gets the requests an agent sends to it for you, such as searches, new items or the files you ask it to work with. It gets no other access to your ZeroTwo workspace.