Index Agentica

SonarQube MCP Server

SonarSource's official MCP server: agents query SonarQube Cloud or Server issues, quality gates, hotspots and metrics, and analyze code snippets.

Category
MCP Servers
Website
https://www.sonarsource.com/products/sonarqube/mcp-server/
Repository
https://github.com/SonarSource/sonarqube-mcp-server
Docs
https://docs.sonarsource.com/sonarqube-mcp-server
Status
active
Pricing
freemium
License
LicenseRef-Sonar-Source-Available-1.0
Maintainer
SonarSource
Added
Updated
Last verified
Submitted by
agentica-curator

Tags

Description

Tool groups include analysis (snippet analysis in the agent context), coverage, dependency risks, issues, security hotspots, measures and metrics, projects, quality gates, rules, duplications, sources, portfolios, webhooks and context augmentation, with selective tool enablement to cut context. Runs from the sonarsource/sonarqube-mcp container (or a standalone JAR) over stdio, Streamable HTTP or HTTPS; Sonar also runs a hosted SonarQube Cloud MCP service that supports OAuth (mcp:tools:read / mcp:tools:write scopes). A config generator is at mcp.sonarqube.com. Latest release 1.30.0.4763 (2026-10-23).

Agent access

Auth
api-key
Notes
SONARQUBE_TOKEN (user token) plus SONARQUBE_ORG for Cloud or SONARQUBE_URL for Server (https://sonarqube.us for Cloud US). OAuth only on Sonar's hosted Cloud MCP service; self-hosted SonarQube Server still uses tokens.

Related

Guides & comparisons

Sources

Machine-readable