About Sonarcube MCP Server
Sonarcube MCP Server is an MCP server in the Security category: mCP server for SonarQube — code quality, issues, quality gates, hotspots, metrics, rules. It has been installed 0 times through Conduid.
Install
claude mcp add sonarcube-mcp-server -- npx -y sonarcube-mcp-servernpx -y sonarcube-mcp-serverThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Sonarcube MCP Server
Powered by Claude · Grounded in docs
Security checks
- ·README presentNot checked yet.
- ·License declaredNot checked yet.
- ·Tests presentNot checked yet.
- ·Dependencies pinnedNot checked yet.
- ·No dynamic code executionNot checked yet.
- ·Scoped permissionsNot checked yet.
README
🛡️ SonarQube MCP Server
📦 Packages
This monorepo contains two packages:
| Package | Description | Docs |
|---|---|---|
sonarqube-mcp-server |
Standalone MCP server (npm, CLI, stdio) | 📖 README |
sonarqube-mcp-extension |
VS Code extension with built-in MCP server | 📖 README |
🔧 12 Tools at a Glance
| Tool | What it does |
|---|---|
sq_list_projects |
List projects with quality status |
sq_get_project |
Project overview with metrics |
sq_search_issues |
Search bugs, vulns & code smells |
sq_get_issue |
Full issue details |
sq_get_quality_gate |
Quality gate status & conditions |
sq_search_hotspots |
Security hotspots needing review |
sq_get_hotspot |
Hotspot details & remediation |
sq_get_measures |
Code quality metrics |
sq_get_measures_history |
Metric trends over time |
sq_get_rule |
Rule details & guidance |
sq_search_rules |
Search rules by language/type |
sq_get_component_tree |
File tree with metrics |
🚀 Quick Start
Option 1 — VS Code Extension (Recommended)
- Install SonarQube MCP from the VS Code Marketplace
- Set
sonarqubeMcp.baseUrlandsonarqubeMcp.tokenin VS Code settings - The MCP server appears automatically in VS Code's MCP panel — start/stop/restart from there
Option 2 — Standalone CLI
npm install -g sonarqube-mcp-server
export SONAR_MCP_BASE_URL="https://sonarcloud.io"
export SONAR_MCP_TOKEN="squ_your_token"
sonarqube-mcp-server
Option 3 — MCP Client Config (Claude Desktop, Cursor, etc.)
{
"mcpServers": {
"sonarqube": {
"command": "npx",
"args": ["sonarqube-mcp-server"],
"env": {
"SONAR_MCP_BASE_URL": "https://sonarcloud.io",
"SONAR_MCP_TOKEN": "squ_your_token"
}
}
}
}
📄 License
MIT © bhayanak
README mirrored from the source repository 4 months ago. The original is authoritative.