S
SonarQube
Query SonarQube quality gates and issues.
·No reviews yet
Share:
About
Auto-generated
SonarQube is a Model Context Protocol server in the Developer Tools category. It lets AI assistants that speak MCP call its tools and read its resources over STDIO.
Example tools
Illustrative tool names — the actual tool set is defined by the server at runtime.
list_resources
Enumerate resources exposed by this MCP
get_resource
Fetch a resource by ID
invoke
Invoke the primary action of this MCP
Screenshots
No screenshots yet.
Frequently Asked Questions
Common questions about SonarQube.
- What is the SonarQube MCP server used for?
- The SonarQube MCP server allows you to query SonarQube quality gates and issues. This enables integration with tools that can consume MCP services for code quality and security analysis.
- How do I configure this MCP server in an MCP client?
- First, ensure the SonarQube MCP server is running. Then, in your MCP client (e.g., Cline), provide the server's transport details (stdio in this case) and your SonarQube API key when prompted for authentication.
- Does the SonarQube MCP server require authentication?
- Yes, the SonarQube MCP server uses an API key for authentication. You will need to provide a valid SonarQube API key to access its functionalities.
- What specific capabilities does the SonarQube MCP server offer?
- This MCP server exposes capabilities for querying SonarQube's quality gates and identified issues. It focuses on providing insights into code quality and security metrics.
- Is there a cost associated with using the SonarQube MCP server?
- The SonarQube MCP server itself is provided by the community on GitHub. The cost depends on your underlying SonarQube instance, which can be open-source or commercial.
- What is a prerequisite for using the SonarQube MCP server?
- A critical prerequisite for using the SonarQube MCP server is having a running SonarQube instance that it can connect to. Without a SonarQube instance, the MCP server has no data source.
Install SonarQube
Claude Desktop
Add this to claude_desktop_config.json.
{
"mcpServers": {
"sonarqube": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sonarqube"
]
}
}
}Cursor
Add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"sonarqube": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sonarqube"
]
}
}
}VS Code
Add this to your workspace settings.json.
{
"mcp.servers": {
"sonarqube": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sonarqube"
]
}
}
}Reviews
Sign in to leave a review.
No reviews yet. Be the first!
Discussion(0)
No comments yet.