SonarQube MCP Server
Skills
issues
Search and filter SonarQube issues by severity, status, assignee, tag, file path, directory, scope, and more. Critical for dashboards, targeted clean-up sprints, security audits, and regression testing. Supports faceted search for aggregations.
hotspot
Get detailed information about a specific security hotspot
metrics
Get available metrics from SonarQube. Use this to discover all measurable code quality dimensions (lines of code, complexity, coverage, duplications, etc.) for reports and dashboards
hotspots
Search for security hotspots with filtering options
projects
List all SonarQube projects with metadata. Essential for project discovery, inventory management, and accessing project-specific analysis data (requires admin permissions)
scm_blame
Get SCM blame information for source code
components
Search and navigate SonarQube components (projects, directories, files). Supports text search, filtering by type/language, and tree navigation
assignIssue
Assign a SonarQube issue to a user or unassign it
reopenIssue
Reopen a SonarQube issue
source_code
View source code with issues highlighted
system_ping
Ping the SonarQube instance to check if it is up
confirmIssue
Confirm a SonarQube issue
quality_gate
Get quality gate conditions
resolveIssue
Resolve a SonarQube issue
quality_gates
List available quality gates
system_health
Get the health status of the SonarQube instance. Monitor system components, database connectivity, and overall service availability for operational insights
system_status
Get the status of the SonarQube instance
unconfirmIssue
Unconfirm a SonarQube issue
markIssueWontFix
Mark an issue as won't fix
measures_history
Get measures history for a component
addCommentToIssue
Add a comment to a SonarQube issue
markIssuesWontFix
Mark multiple issues as won't fix (bulk operation)
measures_component
Get measures for a specific component (project, directory, or file). Essential for tracking code quality metrics, technical debt, and trends over time
measures_components
Get measures for multiple components
quality_gate_status
Get project quality gate status
update_hotspot_status
Update the status of a security hotspot (requires appropriate permissions)
markIssueFalsePositive
Mark an issue as false positive
markIssuesFalsePositive
Mark multiple issues as false positive (bulk operation)