fastmcp-sonarqube-metrics
If you are the rightful owner of fastmcp-sonarqube-metrics 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.
FastMCP SonarQube Metrics is a project that provides tools for retrieving SonarQube project metrics using the FastMCP framework.
FastMCP SonarQube Metrics offers a set of tools to programmatically access SonarQube metrics, historical data, and component tree metrics. It simplifies interaction with the SonarQube API by providing a message-based interface, abstracting complexities of direct API calls. The project is designed for developers, DevOps engineers, and analysts to integrate SonarQube data into workflows or build custom reporting solutions. It includes client and server components for communication and data retrieval, with the server exposing tools to fetch data and the client providing a command-line interface for tool invocation. The project is a work in progress, and some features may not be perfect.
Features
- Simplified message-based interface for SonarQube API interaction.
- Automated access to SonarQube metrics and historical data.
- Client-server architecture for data retrieval and communication.
- Command-line and GUI clients for tool invocation.
- Integration with FastMCP framework for tool registration and execution.
Tools
get_status
Performs a health check on the configured SonarQube instance.
create_sonarqube_project
Creates a new SonarQube project. Requires administrator privileges.
delete_sonarqube_project
Deletes a SonarQube project. Requires administrator privileges. USE WITH CAUTION!
list_projects
Lists all accessible SonarQube projects, optionally filtered by name or key.
get_sonarqube_metrics
Retrieves specified metrics for a given SonarQube project key.
get_sonarqube_metrics_history
Retrieves historical metrics for a given SonarQube project using /api/measures/search_history.
get_sonarqube_component_tree_metrics
Retrieves metric values for all components in a project using /api/measures/component_tree.
get_project_issues
Fetch SonarQube issues for a given project, optionally filtered by type, severity, and resolution status.