Connect SonarQube Cloud to Your AI Agent

Use AI with SonarQube Cloud to filter code issues and explain selected component quality measures.

3 tools API key

Try a SonarQube Cloud Task

Copy a prompt into your agent with the oo Skill installed. Add your page links and source notes before running it.

oo Skill SonarQube Cloud

Review Code Issues

Search issues by project, branch and documented severity or status filters.

/oo SonarQube Cloud: Search issues for project keys [keys], branch [branch], impact severities [severities], then summarize returned findings.

Explain Quality Measures

Read selected component measures and optional metric details.

/oo SonarQube Cloud: Get component measures for [key], metricKeys [keys], branch [branch], and explain the returned values.

Start Working with SonarQube Cloud

  1. Install OOMOL

    Set up oo CLI and the oo Skill in your agent.

    Install OOMOL →
  2. Connect SonarQube Cloud

    Provide a SonarQube Cloud token and select the official region API base URL if needed.

    Connect SonarQube Cloud →
  3. Give Your Agent a Task

    Use /oo with the pages to read, the changes to make, and where to save the result.

    Connection Guide →

Choose Your Agent

  • Access to the target organization and project analysis data.
  • Specify projectKeys, componentKey and metricKeys. Branch and pull-request scopes should match the analysis you want to review.

SonarQube Cloud Tools

Use AI with SonarQube Cloud to filter code issues and explain selected component quality measures.

Review Code Issues

Search issues by project, branch and documented severity or status filters.

Explain Quality Measures

Read selected component measures and optional metric details.

3 tools

List Projects

List projects visible in a SonarQube Cloud organization.

sonarcloud.list_projects

Search Issues

Search and filter code issues across SonarQube Cloud projects.

sonarcloud.search_issues

Get Component Measures

Read selected code-health measures for a SonarQube Cloud component.

sonarcloud.get_component_measures

Frequently Asked Questions

Can I change code through these actions?

They read analysis issues and measures, not source-code edits.

Which regional URLs are supported?

Use the official EU sonarcloud.io/api or US sonarqube.us/api endpoint configured for the account.

What should I specify in my request?

Specify projectKeys, componentKey and metricKeys. Branch and pull-request scopes should match the analysis you want to review.

Connect SonarQube Cloud

About SonarQube Cloud ↗