ClaudeChatGPTPerplexityGeminiMicrosoft CopilotRaycastMeta AIGrokZ.aiQwenKimi
DeepSeekMistralCursorVS CodeWindsurfJetBrainsClineLovableVercel AI SDKLangChain

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.

Included with plan

Ask AI about this Connector

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.

ChatGPTClaudeCursorPerplexityGeminiMicrosoft CopilotRaycastMeta AI

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.

Capability set01 / 03

01-04

4 capabilities in this set.

Part of 10 available through SonarQube.

  1. 01

    Get duplications

    Get code duplication blocks for a file in SonarQube

  2. 02

    Get hotspots

    Get security hotspots for a SonarQube project

  3. 03

    Get measures

    Requires project key and comma-separated metric keys. Get code quality measures/metrics for a SonarQube project

  4. 04

    Get quality gate status

    Get the quality gate status for a SonarQube project

Capability set02 / 03

05-07

3 capabilities in this set.

Part of 10 available through SonarQube.

  1. 05

    List quality gates

    List all quality gate definitions in SonarQube

  2. 06

    List rules

    Can filter by language. List SonarQube analysis rules

  3. 07

    Search issues

    Filter by project key and optional severities. Search code issues in a SonarQube/SonarCloud project

Capability set03 / 03

08-10

3 capabilities in this set.

Part of 10 available through SonarQube.

  1. 08

    Search projects

    Returns project keys and names. Project keys are required for most other capabilities. Search projects on SonarQube/SonarCloud

  2. 09

    Get component tree

    Get the component tree (files/directories) of a SonarQube project with metrics

  3. 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.

Daily averagePeak 1014ms
Aug 20Today
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.

Connector linkhttps://edge.vinkius.com/vk_preview_65ij3kQdNIdLxz6QrHqXvdxjl6hvRUXIu2uwF792/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — SonarQube capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "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.