Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>SonarQube MCPNew to Visual Studio Code? Get it now.
SonarQube MCP

SonarQube MCP

fazorboy

| (1) | Free
VS Code extension that provides SonarQube MCP server for AI assistants — code quality, issues, hotspots, metrics & rules at your fingertips
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🛡️ SonarQube MCP — VS Code Extension

SonarQube MCP

SonarQube MCP server for VS Code AI assistants
Integrates directly into VS Code's MCP servers panel with automatic lifecycle controls

VS Code Marketplace license VS Code version


✨ What It Does

This extension registers a SonarQube MCP server directly in VS Code's MCP servers list. Once installed, you get:

  • Automatic start/stop/restart controls in VS Code's MCP panel
  • 12 SonarQube tools available to GitHub Copilot and other AI assistants
  • Zero manual setup — just configure your SonarQube URL and token

🔧 Available Tools

Tool Description
sq_list_projects List projects with quality status
sq_get_project Detailed project overview with metrics
sq_search_issues Search bugs, vulnerabilities & code smells
sq_get_issue Full issue details with context
sq_get_quality_gate Quality gate pass/fail status & conditions
sq_search_hotspots Find security hotspots needing review
sq_get_hotspot Security hotspot details & remediation
sq_get_measures Code quality metrics for any project
sq_get_measures_history Track metric trends over time
sq_get_rule Rule details & remediation guidance
sq_search_rules Search rules by language, type, severity
sq_get_component_tree File tree with metrics to find problems

📦 Installation

From VS Code Marketplace

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
  3. Search for "SonarQube MCP"
  4. Click Install

⚙️ Configuration

Open VS Code Settings (Ctrl+, / Cmd+,) and search for "SonarQube MCP":

Setting Required Default Description
sonarqubeMcp.baseUrl ✅ — SonarQube/SonarCloud base URL
sonarqubeMcp.token ✅ — Authentication token
sonarqubeMcp.organization ❌ — SonarCloud organization key
sonarqubeMcp.defaultProject ❌ — Default project key
sonarqubeMcp.cacheTtlMs ❌ 300000 Cache TTL in ms (5 min)
sonarqubeMcp.cacheMaxSize ❌ 100 Max cached responses
sonarqubeMcp.timeoutMs ❌ 15000 HTTP request timeout in ms
sonarqubeMcp.pageSize ❌ 100 Default API page size

Or add to settings.json:

{
  "sonarqubeMcp.baseUrl": "https://sonarcloud.io",
  "sonarqubeMcp.token": "squ_your_token_here",
  "sonarqubeMcp.organization": "my-org"
}

📄 License

MIT © bhayanak

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft