Skip to content
sonarqube-integration logo

SonarQube Integration

sonarqube-integration

SonarQube integration via MCP for Java projects. The MCP server runs remotely and requires no local setup. Use natural language to query issues, analyze code, and check quality gates.

NeverSight/skills_feed0installs214stars

SKILL.md

Full skill instructions

SonarQube Integration

SonarQube integration via MCP (Model Context Protocol) for Java code quality analysis.

When to use this skill

  • Finding and fixing SonarQube issues
  • Checking quality gate status
  • Analyzing code for quality issues
  • Understanding SonarQube rules
  • Prioritizing issue remediation

Skill Contents

Sections

Available Resources

📚 references/​ - Detailed documentation


Quick Start

The SonarQube MCP server runs remotely at https://sonarqube-mcp.bitso.io/mcp and is automatically configured in all supported IDEs.

No setup required - just use natural language:

"Find HIGH severity issues in my-project"
"Show me details about rule java:S1128"
"What's the quality gate status for my-service?"
"Analyze this code for SonarQube issues"

MCP Tools Available

ToolPurpose
list_projectsList all SonarQube projects
get_issuesGet issues for a project
get_issue_detailsGet details for a specific issue
get_ruleGet rule documentation
get_quality_gateCheck quality gate status
analyze_codeAnalyze code snippet

Common Workflows

1. Fix Issues by Severity

"Find all BLOCKER issues in payment-service"
"Get details for issue AYx123..."
"Show me the rule java:S2259"

2. Check Quality Gate

"What's the quality gate status for my-service?"
"List all projects I have access to"

3. Understand Rules

"Explain rule java:S1128 (unused imports)"
"What are the CRITICAL rules for Java?"

Supported IDEs

The MCP is automatically available in:

IDEConfiguration
Cursor.cursor/​mcp.json
VS Code + Copilot.vscode/​mcp.json
Claude Code.mcp.json
IntelliJ IDEASee manual setup
Copilot CLISee manual setup

For IntelliJ and Copilot CLI, see: java/​commands/​add-sonarqube-mcp-to-intellij-and-copilot-cli.md

References

ReferenceDescription
references/​mcp-tools.mdFull MCP tool reference
references/​common-rules.mdCommon Java rules

Related Rules

  • .cursor/​rules/​java-sonarqube-setup.mdc - Setup guide
  • .cursor/​rules/​java-sonarqube-mcp.mdc - MCP tool reference
  • .claude/​commands/​fix-sonarqube-issues.md - Fix command

Related Skills

SkillPurpose
java-coverageJaCoCo coverage for SonarQube
gradle-standardsSonarQube Gradle plugin
<!-- AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY --> <!-- Source: bitsoex/​ai-code-instructions → java/​skills/​sonarqube-integration/​SKILL.md --> <!-- To modify, edit the source file and run the distribution workflow -->