SonarQube MCP Server

Stabledevelopment
70 starsTypeScriptcommunity
GitHub
About

Overview

The SonarQube MCP Server enables AI agents to interact with SonarQube for continuous code quality inspection. It provides tools for viewing project quality gates, listing issues, analyzing code smells, checking test coverage, and tracking technical debt metrics.
Capabilities

Tools & Capabilities

list_projects

List SonarQube projects

get_quality_gate

Get quality gate status for a project

list_issues

List code issues found by analysis

get_measures

Get code metrics (coverage, complexity, etc.)

search_issues

Search for specific types of issues

Setup

Installation

bash
Install
npx -y mcp-server-sonarqube
Examples

Example Usage

javascript
Usage
{
  "mcpServers": {
    "sonarqube": {
      "command": "npx",
      "args": ["-y", "mcp-server-sonarqube"],
      "env": {
        "SONARQUBE_URL": "http://localhost:9000",
        "SONARQUBE_TOKEN": "your-token"
      }
    }
  }
}

Quick Info

Authorcommunity
LanguageTypeScript
StatusStable
Stars 70
Last UpdatedFeb 12, 2026

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow.

Get in Touch

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow. From proprietary data sources to internal tools, we have you covered.

Contact Us
CortexAgent Customer Service

Want to skip the form?

Our team is available to help you get started with CortexAgent.

This chat may be recorded for quality assurance. You can view our Privacy Policy.