sonarqube-mcp
CommunityMCP server by mshegolev · updated · ★ 0
SonarQube MCP — projects, metrics, quality gate, issues, worst-metric ranking. sonarqube-mcp is a community project by mshegolev, not verified by a company domain.
Last commit 71 days ago
MIT: permissive, fine for commercial use
Clear description, published package or server URL, original repository
Not checked yet. What we check
What you need
| Setting | Needed | What it is |
|---|---|---|
SONARQUBE_Environment variable | Required | SonarQube URL (e.g. https://sonar.example.com or https://sonarcloud.io) |
SONARQUBE_Environment variable, secret | Required | SonarQube authentication token (Bearer). Generate in: My Account → Security → Tokens. |
SONARQUBE_Environment variable | Optional | Verify SSL certificates (true/false). Set to 'false' for self-signed certs. Default: true |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Install sonarqube-mcp
Built from the published package, never by AIclaude mcp add sonarqube-mcp -e SONARQUBE_URL=YOUR_SONARQUBE_URL -e SONARQUBE_TOKEN=YOUR_SONARQUBE_TOKEN -- uvx sonarqube-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"sonarqube-mcp": {
"command": "uvx",
"args": [
"sonarqube-mcp"
],
"env": {
"SONARQUBE_URL": "YOUR_SONARQUBE_URL",
"SONARQUBE_TOKEN": "YOUR_SONARQUBE_TOKEN"
}
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"sonarqube-mcp": {
"command": "uvx",
"args": [
"sonarqube-mcp"
],
"env": {
"SONARQUBE_URL": "YOUR_SONARQUBE_URL",
"SONARQUBE_TOKEN": "YOUR_SONARQUBE_TOKEN"
}
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"sonarqube-mcp": {
"command": "uvx",
"args": [
"sonarqube-mcp"
],
"env": {
"SONARQUBE_URL": "YOUR_SONARQUBE_URL",
"SONARQUBE_TOKEN": "YOUR_SONARQUBE_TOKEN"
}
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add sonarqube-mcp --env SONARQUBE_URL=YOUR_SONARQUBE_URL --env SONARQUBE_TOKEN=YOUR_SONARQUBE_TOKEN -- uvx sonarqube-mcp{
"mcpServers": {
"sonarqube-mcp": {
"command": "uvx",
"args": [
"sonarqube-mcp"
],
"env": {
"SONARQUBE_URL": "YOUR_SONARQUBE_URL",
"SONARQUBE_TOKEN": "YOUR_SONARQUBE_TOKEN"
}
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add sonarqube-mcp uvx sonarqube-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the sonarqube-mcp block.
Weekly newsletter
Like sonarqube-mcp? Get the best new MCP servers every week
The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.
Alternatives to sonarqube-mcp
All alternatives →The Power BI Authoring MCP server lets an AI agent create and change Power BI semantic models.
Agent-Native Amplitude/Mixpanel - connect data sources, prompt for charts
Google Ads, Meta Ads, Google Analytics (GA4) & Search Console MCP server by Ryze AI
A Model Context Protocol (MCP) server that provides chat functionality with Cube's AI agent for analytics and data exploration
Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.
MCP server for AI-assisted Deepnote notebook creation and manipulation
sonarqube-mcp: common questions
How do I install sonarqube-mcp?
In Claude Code run claude mcp add sonarqube-mcp -e SONARQUBE_URL=YOUR_SONARQUBE_URL -e SONARQUBE_TOKEN=YOUR_SONARQUBE_TOKEN -- uvx sonarqube-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is sonarqube-mcp the official server?
sonarqube-mcp is a community project by mshegolev, not verified by a company domain.
Is sonarqube-mcp free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is sonarqube-mcp safe to use?
It scores 27 of 100. Grades: maintenance B, licence A, quality C. The security check has not run for it yet. Review the code before you install. How grades work.
What are alternatives to sonarqube-mcp?
Similar MCP servers: Power BI Authoring MCP Server (Local), Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Cube Dev MCP Server.
Does sonarqube-mcp work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
