Loading...
pip install fastmcp{
"mcpServers": {
"fastmcp-sonarqube-metrics": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/fastmcp-sonarqube-metrics",
"run",
"server.py"
]
}
}
}get_statusPerforms a health check on the configured SonarQube instance.
Read-only operation, no side effects.
create_sonarqube_projectCreates a new SonarQube project.
Requires administrator privileges, but creates a new resource.
delete_sonarqube_projectDeletes a SonarQube project.
Destructive operation, irreversible data loss.
list_projectsLists all accessible SonarQube projects, optionally filtered by name or key.
Read-only operation, no side effects.
get_sonarqube_metricsRetrieves specified metrics for a given SonarQube project key.
Read-only operation, no side effects.
get_sonarqube_metrics_historyRetrieves historical metrics for a given SonarQube project.
Read-only operation, no side effects.
get_sonarqube_component_tree_metricsRetrieves metric values for all components in a project.
Read-only operation, no side effects.
get_project_issuesFetch SonarQube issues for a given project, optionally filtered by type, severity, and resolution status.
Read-only operation, no side effects.
This server provides both read and write access to SonarQube data. While the use of API tokens and privilege separation improves security, the project deletion tool and potential for information disclosure require careful management and monitoring. It's safe to use for read-only operations and project creation with proper access controls, but risky when deleting projects or handling sensitive data without adequate precautions.