Back to Home
SonarSource icon

sonarqube-mcp-server

Verified Safe

by SonarSource

Overview

The SonarQube MCP Server enables seamless integration with SonarQube Server or Cloud for code quality and security, supporting analysis of code snippets and acting as a backend for AI coding agents.

Installation

Run Command
docker run -i --rm -e SONARQUBE_TOKEN -e SONARQUBE_ORG mcp/sonarqube

Environment Variables

  • STORAGE_PATH
  • SONARQUBE_TOKEN

Security Notes

The server employs robust security practices including TTL-based session token management, explicit authentication via 'SONARQUBE_TOKEN' header, and CORS protection to prevent DNS rebinding. It explicitly warns about binding to all network interfaces (0.0.0.0) and running without HTTPS. While a default keystore password ('sonarlint') is present for HTTPS setup, it's meant to be configurable. No direct 'eval' or arbitrary code execution vulnerabilities were found in the provided code snippets.

Similar Servers

Stats

Interest Score80
Security Score9
Cost ClassMedium
Avg Tokens150
Stars353
Forks54
Last Update2026-01-19

Tags

SonarQubeCode QualitySecurityMCP ServerStatic Analysis