get_project_measures
Get Project Measures
Get current metric measures for a SonarQube project, branch, or pull request by metric keys.
get_project_measures
Get current metric measures for a SonarQube project, branch, or pull request by metric keys.
get_component
Get a SonarQube component, file, directory, project, or portfolio by component key, including ancestor metadata when returned.
list_component_tree
List child components under a SonarQube project, directory, or file, optionally filtered by branch, pull request, query text, and qualifiers.
get_hotspot
Get one SonarQube security hotspot by hotspot key, including normalized hotspot metadata and raw provider fields.
get_source
Retrieve SonarQube source code for a file component. Source text is returned as a Slate text attachment, not inline output.
list_project_pull_requests
List pull request analyses for a SonarQube project, including source branch, target branch, and status metadata when available.
manage_issue
Manage a SonarQube issue workflow: transition, assign, comment, set tags, set severity, or set type. Requires confirmWrite to be true.
get_system_status
Get SonarQube Server system status. This tool is Server-only and returns a ServiceError for SonarQube Cloud configs.
list_metrics
List SonarQube metrics that can be requested from measure tools, such as coverage, bugs, vulnerabilities, code smells, duplicated lines density, and ncloc.
search_measure_history
Search historical SonarQube measures for a project, branch, or pull request over time.
list_languages
List programming languages known to SonarQube, optionally filtered by search text.
search_issues
Search SonarQube issues by issue key, project, component, branch, pull request, status, severity, type, tags, and text query.
get_project_analysis_status
Get pending, in-progress, and last executed Compute Engine analysis tasks for a SonarQube project.
search_rules
Search SonarQube rules by text query, language, repository, tags, severity, type, and status.
get_quality_gate_status
Get the SonarQube quality gate status for one project key, project id, or analysis id, optionally scoped to a branch or pull request.
get_rule
Get one SonarQube rule by rule key, including rule metadata and raw remediation details returned by SonarQube.
get_issue_changelog
Get the changelog for a SonarQube issue, including workflow transitions, comments, assignments, and field changes when returned.
manage_hotspot
Change a SonarQube security hotspot review status and optional resolution. Requires confirmWrite to be true.
list_quality_gates
List SonarQube quality gates available to the current token, including the default gate when reported.
search_hotspots
Search SonarQube security hotspots for a project by branch, pull request, files, review status, resolution, and assignee ownership.
list_project_branches
List branches analyzed for a SonarQube project, including main branch and branch analysis status metadata when available.
get_compute_task
Get SonarQube Compute Engine task details by task id, including task status, component, analysis id, submitter, and timing metadata.
search_projects
Search SonarQube projects by text query or project keys. Returns project keys, names, qualifiers, visibility, and latest analysis metadata.
get_scm_info
Get SonarQube SCM blame information for a source component, optionally scoped to a line range.
get_duplications
Get SonarQube duplication blocks and related files for a source component, branch, or pull request.
get_issue
Get one SonarQube issue by issue key, including normalized issue metadata and raw provider fields.
Connect to SonarQube Server or SonarQube Cloud to inspect project quality, issues, branches, pull requests, measures, quality gate status, and analysis task state.
Common questions about connecting Sonarqube to AI agents with Metorial.