Based on the Qiita article, this post groups the tools exposed by the SonarQube MCP Server. Through MCP, AI assistants can access SonarQube data and analysis capabilities.

Tool categories

CategoryMain toolsPurpose
Code analysisanalyze_code_snippet, analyze_file_list, toggle_automatic_analysisAnalyze snippets and files; toggle IDE auto-analysis
Dependency riskssearch_dependency_risksSearch project dependency risks
Enterpriselist_enterprisesList SonarQube Cloud enterprises
Issueschange_sonar_issue_status, search_sonar_issues_in_projectsSearch issues and change their status
Projects / Portfoliossearch_my_sonarqube_projects, list_portfoliosSearch projects and portfolios
Quality Gatesget_project_quality_gate_status, list_quality_gatesRetrieve gate status and definitions
Metricsget_component_measures, search_metricsRetrieve coverage, complexity, and other measures
Rules / Sourcesshow_rule, list_rule_repositories, get_raw_source, get_scm_infoRetrieve rules, source, and SCM information
Systemget_system_health, get_system_info, get_system_logs, get_system_status, ping_systemCheck server health and logs
Webhookscreate_webhook, list_webhooksCreate and list webhooks

search_dependency_risks requires SonarQube Server 2025.4 Enterprise or later with Advanced Security enabled. Other tools may also have edition, deployment, or permission requirements.

Putting the tools to work

Together, these tools let an AI assistant search issues, check Quality Gates, retrieve metrics, and inspect rules or source code. Check permissions and specify the target project and branch before invoking them.

See the official SonarQube MCP Server documentation for details.