Skip to Content
mcp-sonarqube

πŸ‘‹ Introduction

A read-only SonarQube MCP server that answers "why is the gate red".

A SonarQube MCP server with 6 read-only tools, built on the @kud/sonarqube core. It turns a failing quality gate into a short answer: the status, the new-code period, and the failing conditions first, with ratings shown as A to E.

Features

  • 🚦 Quality gate explainer - Status word, new-code period, failing conditions first
  • 🐞 Issue search - File, line, rule, severity, type, message, author and date
  • πŸ“ Measures - Coverage, bugs, ratings for a project, branch or pull request
  • πŸ”Ž Source snippets - The lines around an issue, with the focus line marked
  • πŸ” Safe auth - The token is sent as basic-auth username and never returned or logged

Quick Start

SONAR_HOST_URL=https://sonarqube.example.com \
SONARQUBE_TOKEN=<your-token> \
npx --yes @kud/mcp-sonarqube@latest

See Tools and Configuration.