Use SonarQube with your AI.
Connect your account once and let the AI you already use work with it, without building another integration. Bring your standalone or cloud SonarQube quality gates native to your AI logic. Find bugs, duplications, and rewrite vulnerable code instantly.
Developed, maintained, and hosted by Vinkius.
MCP VERIFIED · PRODUCTION READY · VINKIUS GUARANTEED
Waiting for input…
Works with modern AI clients that support MCP, including ChatGPT, Claude, Cursor, and more.
Complete set · 10 capabilities
The complete SonarQube capability set.
These are the exact actions your AI can choose when you ask it to work with SonarQube.
01-04
4 capabilities in this set.
Part of 10 available through SonarQube.
- 01
Get duplications
Get code duplication blocks for a file in SonarQube
- 02
Get hotspots
Get security hotspots for a SonarQube project
- 03
Get measures
Requires project key and comma-separated metric keys. Get code quality measures/metrics for a SonarQube project
- 04
Get quality gate status
Get the quality gate status for a SonarQube project
05-07
3 capabilities in this set.
Part of 10 available through SonarQube.
- 05
List quality gates
List all quality gate definitions in SonarQube
- 06
List rules
Can filter by language. List SonarQube analysis rules
- 07
Search issues
Filter by project key and optional severities. Search code issues in a SonarQube/SonarCloud project
08-10
3 capabilities in this set.
Part of 10 available through SonarQube.
- 08
Search projects
Returns project keys and names. Project keys are required for most other capabilities. Search projects on SonarQube/SonarCloud
- 09
Get component tree
Get the component tree (files/directories) of a SonarQube project with metrics
- 10
Get source code
Get annotated source code lines from SonarQube for a file
Observed, not estimated
904ms average. Fast in production.
SonarQube is checked daily against the live service.
- Fastest day
- 726ms
- Slowest day
- 1014ms
- 14-day trend
- Slowing+36%
Connect your client
One URL. Every client.
Activate the Connector, copy your link, and paste it into the client you already use. 10 capabilities arrive ready to run.
Preview access · not provider authentication
The vk_preview_* token belongs to Vinkius preview infrastructure. It lets Claude discover and display the capabilities of SonarQube, so you can see the experience inside your AI.
It does not authenticate your account with SonarQube. Actions requiring credentials or live account data may not run until you activate the Connector and authorize the service.
SonarQube Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_65ij3kQdNIdLxz6QrHqXvdxjl6hvRUXIu2uwF792/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — SonarQube capabilities are ready to use.
{
"mcpServers": {
"sonarqube-sonarcloud-mcp": {
"url": "https://edge.vinkius.com/vk_preview_65ij3kQdNIdLxz6QrHqXvdxjl6hvRUXIu2uwF792/mcp"
}
}
}
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Step-by-step instructions for each client are in the guide. How to connect
FAQ
Questions SonarQube owners ask.
- 01
Can I connect this extension to my company's self-hosted, private SonarQube on-premise instance?
Yes! The capability requires a SONAR_BASE_URL credential. If your company uses https://sonar.internal-corp.local:9000, the MCP traffic routes originating from your local desktop client to that exact internal instance seamlessly, guaranteeing total compatibility even inside VPNs.
- 02
How can the AI know how to fix a Sonar 'Code Smell' specifically?
When the AI notices an identified smell from search_issues, it queries list_rules looking for the exact underlying Sonar rule ID definitions. Armed with the rigid logic rules enforced by SonarQube plus the get_source_code of your file, the LLM patches the snippet flawlessly.
- 03
Can it inspect duplication limits and technical debt logic?
Yes. Ask the LLM to inspect technical debt by running get_measures providing 'sqale_index' metric. On the other hand, it can pull specific chunk references using the get_duplications command, helping you extract redundant code safely.
Explore
More in Ship It
Cyclomatic Complexity Calculator AI Connector
Quantitatively analyze code maintainability using cyclomatic and cognitive complexity metrics.
ViewDocBreach AI Connector
Real-time documentation discovery for AI agents. Discover, read, and extract any API documentation without bro
ViewHelius (Solana) AI Connector
Access high-performance Solana data—fetch assets, balances, transaction history, and priority fee estimates di
ViewSolanaFM (Solana FM Block Explorer API) AI Connector
Access Solana blockchain data via SolanaFM — inspect blocks, transactions, account metadata, and token balance
View
Suggestions
MaestroQA AI Connector
Access quality assurance reviews, QA scores, and export performance data via the MaestroQA API.
ViewSemrush AI Connector
Grant your AI agent access to Semrush's massive SEO database to analyze competitor backlink profiles, track do
ViewHelp Scout AI Connector
Automate customer support via Help Scout — manage conversations, customers, and team workflows directly from a
ViewKitetags AI Connector
Generate optimized hashtags for Instagram and TikTok posts with AI that analyzes trending tags and maximizes r
View
