Back to Home
9506hqwy icon

sonarqube-mcp-server

Verified Safe

by 9506hqwy

Overview

Provides a Model Context Protocol (MCP) server that exposes SonarQube API functionalities, allowing external tools, such as AI agents, to interact with and manage SonarQube instances.

Installation

Run Command
docker run --rm -i -e SONARQUBE_URL=<YOUR_SONARQUBE_URL> -e SONARQUBE_TOKEN=<YOUR_SONARQUBE_TOKEN> sonarqube-mcp-server

Environment Variables

  • SONARQUBE_URL
  • SONARQUBE_USER
  • SONARQUBE_PASSWORD
  • SONARQUBE_TOKEN
  • SONARQUBE_READONLY

Security Notes

The server acts as a proxy for SonarQube APIs. It is implemented in Go, following standard coding practices. Credentials (URL, username, password, token) are handled at runtime via command-line flags or environment variables and are not hardcoded. It supports both basic and bearer token authentication. A 'readonly' flag is available (defaulting to true) to restrict operations to HTTP GET methods only, enhancing security by preventing write operations. The server itself does not introduce complex parsing or arbitrary code execution risks. The primary security considerations depend on the trustworthiness of the SonarQube instance it connects to and the secure management of the credentials provided to this server.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens75
Stars0
Forks0
Last Update2025-12-08

Tags

SonarQubeMCPCode AnalysisAPI IntegrationDeveloper Tools