FastMCP SonarQube Metrics
@ArchAI-Labs
About FastMCP SonarQube Metrics
Chat with your SonarQube data: explore metrics, compare trends, and track issues—effortlessly.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"fastmcp-sonarqube-metrics": {
"command": "uv",
"args": [
"run",
"mcp",
"dev",
"<server_name>"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is FastMCP SonarQube Metrics?
It is a set of tools built with the FastMCP framework that retrieve metrics, historical data, component tree details, and issues from SonarQube projects. Designed for developers, DevOps engineers, and analysts who need programmatic access to SonarQube data for reporting, analysis, and integration.
How to use FastMCP SonarQube Metrics?
Clone the repository, set environment variables (SONARQUBE_URL, SONARQUBE_TOKEN, TRANSPORT) in a .env file, install Python dependencies, then run server.py. Launch the included test client with client_test.py or integrate with Claude Desktop by configuring its MCP server settings. A hosted deployment is also available on Fronteir AI.
Key features of FastMCP SonarQube Metrics
- Health check:
get_statusverifies the SonarQube instance. - Project management: create and delete SonarQube projects.
- List all accessible SonarQube projects, optionally filtered.
- Retrieve current metrics: bugs, vulnerabilities, code smells, coverage, duplication.
- Fetch historical metrics with optional date filters.
- Get component tree metrics with automatic pagination.
- Retrieve project issues filtered by type, severity, and resolution.
Use cases of FastMCP SonarQube Metrics
- Automate SonarQube metric collection for dashboards or reports.
- Integrate code quality data into CI/CD pipelines.
- Build custom analytics tools that consume SonarQube data.
- Perform health checks and monitor project status programmatically.
- Extract issue lists for triage or compliance tracking.
FAQ from FastMCP SonarQube Metrics
What are the prerequisites to use this server?
Python 3.7+, a running SonarQube instance with API access, a valid SonarQube API token, and installed packages: fastmcp, httpx, pydantic, python-dotenv.
What transport modes are supported?
The server supports both stdio and sse (Server-Sent Events) transport, configured via the TRANSPORT environment variable.
How do I configure this server with Claude Desktop?
Add a JSON entry to claude_desktop_config.json specifying the command uv with the directory pointing to the cloned repository and running server.py.
Is there a hosted version available?
Yes, a hosted deployment is available on Fronteir AI at the URL provided in the README.
Are there any known limitations?
The project is a work in progress; some features may not be perfect.
More Developer Tools MCP servers
JetBrains MCP Proxy Server
JetBrainsA model context protocol server to work with JetBrains IDEs: IntelliJ, PyCharm, WebStorm, etc. Also, works with Android Studio
Smithery CLI
smithery-aiInstall, manage and develop MCP servers and skills for agents
FastAPI-MCP
tadata-orgExpose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
MCP-Scan: An MCP Security Scanner
invariantlabs-aiSecurity scanner for AI agents, MCP servers and agent skills.
MCP-Bridge
SecretiveShellA middleware to provide an openAI compatible endpoint that can call MCP tools
Comments