sonarqube-mcp-server
If you are the rightful owner of sonarqube-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The SonarQube MCP Server is a Model Context Protocol server designed for seamless integration with SonarQube Server or Cloud, enabling code snippet analysis directly within the agent context.
The SonarQube MCP Server is a robust Model Context Protocol (MCP) server that facilitates seamless integration with SonarQube Server or Cloud. It is designed to enhance the code analysis process by allowing the analysis of code snippets directly within the agent context. This server is particularly useful for developers and organizations looking to maintain high code quality and adhere to best practices by leveraging SonarQube's powerful analysis capabilities. The server can be easily set up using a Docker image, and it supports various platforms including VS Code, Cursor, and Windsurf. Additionally, it offers a manual installation option for those who prefer more control over the setup process. The server requires a Java Development Kit (JDK) version 21 or later for building, and it provides a comprehensive set of tools for code analysis, issue management, and project quality assessment.
Features
- Seamless integration with SonarQube Server or Cloud
- Direct code snippet analysis within the agent context
- Easy setup with Docker image and support for multiple platforms
- Comprehensive tools for code analysis and issue management
- Support for manual installation and configuration
Tools
analyze_code_snippet
Analyze a code snippet with SonarQube analyzers to find SonarQube issues in it.
list_languages
List all programming languages supported in this instance.
change_sonar_issue_status
Change the status of a SonarQube issue to 'accept', 'falsepositive' or to 'reopen' an issue.
search_sonar_issues_in_projects
Search for SonarQube issues in my organization's projects.
get_component_measures
Get measures for a component (project, directory, file).