sonar-setup

Diagnose SonarQube MCP integration setup and connectivity issues.

3|1|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/denniscalazans/denniscalazans-plugins --skill sonar-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sonar-setup
Source: https://github.com/denniscalazans/denniscalazans-plugins/tree/main/plugins/code-quality/skills/sonar-setup
Command: npx skills add https://github.com/denniscalazans/denniscalazans-plugins --skill sonar-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps users set up and diagnose SonarQube integration issues, ensuring code quality workflows function correctly.

Core Features & Use Cases

  • Environment Check: Verifies necessary environment variables (SONARQUBE_URL, SONARQUBE_TOKEN, SONARQUBE_IDE_PORT).
  • Connectivity Test: Checks if the SonarQube server is reachable and if IDE-connected mode is active.
  • Tool Discovery: Identifies available SonarQube MCP tools for various code quality tasks.
  • Use Case: When code quality checks fail or a user wants to enable local pre-push analysis, this Skill guides them through the setup and troubleshooting process.

Quick Start

Run /code-quality:sonar-setup to diagnose your SonarQube integration.

Frequently Asked Questions about sonar-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix SonarQube MCP connectivity issues during setup?

To fix SonarQube MCP connectivity issues, you must validate environment variables like SONARQUBE_URL, check server reachability, and verify IDE-connected mode ports to restore functional code quality workflows.

What environment variables are required for SonarQube MCP integration?

SonarQube MCP integration requires the environment variables SONARQUBE_URL, SONARQUBE_TOKEN, and SONARQUBE_IDE_PORT to authenticate and establish server connectivity for code quality analysis.

Why does my SonarQube code quality check fail locally?

SonarQube code quality checks fail locally when the MCP configuration is incorrect, preventing the IDE from connecting to the server or discovering available code quality tools.

How do I enable local pre-push analysis with SonarQube?

To enable local pre-push analysis, you must configure the SonarQube MCP integration by setting the correct environment variables and ensuring the IDE-connected mode port is active.

Can I use SonarQube MCP tools without IDE-connected mode?

Using SonarQube MCP tools requires IDE-connected mode to be active. The setup process verifies that the IDE port is running to ensure functional code quality workflows and tool discovery.

What is the best way to troubleshoot SonarQube server reachability?

The best way to troubleshoot SonarQube server reachability is to run a diagnostic setup process that validates your environment variables and tests the server connection directly.