Interact with SonarQube Cloud, Server and Community build over the web API. Analyze code to identify quality and security issues.
1M+
25 Tools
Version 4.43 or later needs to be installed to add the server automatically
Tools
| Name | Description |
|---|---|
analyze_code_snippet | Analyze a file or code snippet with SonarQube analyzers to identify code quality and security issues |
analyze_file_list | Analyze files in the current working directory using SonarQube for IDE |
toggle_automatic_analysis | Enable or disable SonarQube for IDE automatic analysis |
search_sonar_issues_in_projects | Search for SonarQube issues in my organization's projects |
change_sonar_issue_status | Change the status of a SonarQube issue |
search_my_sonarqube_projects | Find SonarQube projects. The response is paginated |
list_quality_gates | List all quality gates in my SonarQube |
get_project_quality_gate_status | Get the quality gate status for a project |
show_rule | Shows detailed information about a SonarQube rule |
list_rule_repositories | List rule repositories available in SonarQube |
list_languages | List all programming languages supported in this SonarQube instance |
get_component_measures | Get SonarQube measures for a project, such as ncloc, complexity, violations, coverage, etc |
search_metrics | Search for SonarQube metrics |
get_raw_source | Get source code as raw text from SonarQube. Require 'See Source Code' permission on file |
get_scm_info | Get SCM information of SonarQube source files. Require See Source Code permission on file's project |
get_system_health | Get the health status of SonarQube Server instance. Returns GREEN, YELLOW, or RED |
get_system_status | Get state information about SonarQube Server. Returns status, version, and id |
get_system_logs | Get SonarQube Server system logs in plain-text format. Requires system administration permission |
ping_system | Ping the SonarQube Server system to check if it's alive. Returns 'pong' as plain text |
get_system_info | Get detailed information about SonarQube Server system configuration including JVM state, database, search indexes, and settings. Requires 'Administer' permissions |
create_webhook | Create a new webhook for the SonarQube organization or project. Requires 'Administer' permission |
list_webhooks | List all webhooks for the SonarQube organization or project. Requires 'Administer' permission |
list_portfolios | List portfolios available in SonarQube with filtering and pagination options |
list_enterprises | List the enterprises available in SonarQube Cloud that you have access to |
search_dependency_risks | Search for software composition analysis issues (dependency risks) of a SonarQube project |