Enables seamless integration with [SonarQube](https://www.sonarsource.com/) Server or Cloud and allows for code snippet analysis within the agent context.
Documentation
SonarQube MCP Server
Quick setup
The simplest method is to rely on our Docker image hosted at mcp/sonarqube.
Installation Instructions# VS Code
You can use the following buttons to simplify the installation process within VS Code.
Manual installation
You can manually install the SonarQube MCP server by copying the following snippet in the MCP servers configuration file:
Configuration
Depending on your environment, you should provide specific environment variables.
Tools
analyze_code_snippet - Analyze a code snippet with SonarQube analyzers to find SonarQube issues in it.
Troubleshooting
Applications logs will be written to the STORAGE_PATH/logs/mcp.log file.