← Back to list

sonarqube-mcp
by moto-nrw
A German all day school supervision software
⭐ 6🍴 2📅 Jan 24, 2026
SKILL.md
name: sonarqube-mcp description: Query and manage code quality using SonarQube/SonarCloud MCP tools. Use when checking quality gates, finding issues, analyzing code snippets, understanding SonarQube rules, or working with code quality metrics.
SonarQube MCP
Use SonarQube/SonarCloud MCP tools to check code quality, find issues, and analyze code before pushing.
Quick Actions
Check Quality Gate
get_project_quality_gate_status
projectKey: "org_project"
pullRequest: "123" # or branch: "feature-branch"
status: "OK"= passesstatus: "ERROR"= fails- Check
conditionsarray for specific metrics
Find Issues
search_sonar_issues_in_projects
projects: ["org_project"]
pullRequestId: "123"
severities: ["BLOCKER", "CRITICAL"] # optional filter
Analyze Code Before Push
analyze_code_snippet
code: "your code here"
language: "typescript" # or go, python, java, etc.
This runs analysis WITHOUT triggering CI - great for catching issues early.
Understand a Rule
show_rule
key: "typescript:S1082" # or go:S3776, etc.
Mark False Positive
change_sonar_issue_status
key: "issue-key-from-search"
status: ["falsepositive"] # or ["accept"], ["reopen"]
Tool Reference
See TOOLS.md for complete tool documentation.
Severity Levels
| Level | Meaning |
|---|---|
| BLOCKER | Must fix immediately |
| CRITICAL | High impact |
| MAJOR | Significant problems |
| MINOR | Code smells |
| INFO | Informational |
Common Metrics
| Key | Description |
|---|---|
coverage | Test coverage % |
duplicated_lines_density | Duplication % |
reliability_rating | Bug rating (A-E) |
security_rating | Vulnerability rating |
sqale_rating | Maintainability rating |
ncloc | Lines of code |
complexity | Cyclomatic complexity |
Tips
- Pre-commit check: Use
analyze_code_snippetbefore pushing - PR status: Always check
get_project_quality_gate_statuswithpullRequestparam - Understand failures: Use
show_ruleto learn why code was flagged - Triage efficiently: Filter by
severities: ["BLOCKER", "CRITICAL"]first
Score
Total Score
65/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon


