Does SonarQube have an MCP server?
SonarQube maintains an official MCP server.
- Access
- Remote server
- Endpoint
- https://api.sonarcloud.io/mcp
- Repository
- SonarSource/sonarqube-mcp-server
- Maintainer
- Sonar
- License
- NOASSERTION
- Language
- Java
- Stars
- 655
- Last commit
- today
- Category
- Developer Tools
Official SonarQube MCP Server for code quality and security in AI agents
Project site: www.sonarsource.com
A remote server run by SonarQube itself — nothing to install. Documented at docs.sonarsource.com.
Official SonarQube MCP Server for code quality and security in AI agents
Hosted by the vendor — no install, connect over HTTP with OAuth or a token.
Add it from the terminal, then restart your session:
claude mcp add --transport http sonarqube https://api.sonarcloud.io/mcpAdd --scope user to make it available in every project.
- Open Settings → Connectors
- Click Add custom connector
- Paste
https://api.sonarcloud.io/mcp - Finish the sign-in prompt, then enable it in the chat's tools menu
Add to .cursor/mcp.json in your project, or ~/.cursor/mcp.json for
every project:
{
"mcpServers": {
"sonarqube": {
"url": "https://api.sonarcloud.io/mcp"
}
}
}A green dot in Settings → MCP means it connected.
Add to .vscode/mcp.json:
{
"servers": {
"sonarqube": {
"type": "http",
"url": "https://api.sonarcloud.io/mcp"
}
}
}Then pick the server from the tools menu in Copilot's agent mode.
- Enable Developer mode under Settings → Apps & Connectors → Advanced
- Choose Create and paste
https://api.sonarcloud.io/mcp - Complete sign-in, then enable the connector in a new chat
Does SonarQube have an official MCP server?
Yes. SonarQube maintains an official MCP server, hosted at https://api.sonarcloud.io/mcp. The source lives at SonarSource/sonarqube-mcp-server on GitHub.
How do I connect SonarQube to Claude?
Add https://api.sonarcloud.io/mcp as a custom connector under Settings → Connectors in Claude Desktop or claude.ai, or run "claude mcp add --transport http sonarqube https://api.sonarcloud.io/mcp" in Claude Code.
Do I need to install anything to use the SonarQube MCP server?
No. It is a remote server hosted by SonarQube, so your MCP client connects to it over HTTP. You authenticate with the vendor rather than installing a package.
How is this verdict verified?
SonarSource maintains SonarSource/sonarqube-mcp-server (~650 stars) and documents a SonarQube Cloud-hosted endpoint at api.sonarcloud.io/mcp (US region: api.sonarqube.us/mcp) on docs.sonarsource.com. SonarQube Server 2026.3+ can also host it at <server>/mcp. GitHub metadata is refreshed every six hours.
SonarSource maintains SonarSource/sonarqube-mcp-server (~650 stars) and documents a SonarQube Cloud-hosted endpoint at api.sonarcloud.io/mcp (US region: api.sonarqube.us/mcp) on docs.sonarsource.com. SonarQube Server 2026.3+ can also host it at <server>/mcp.
- github data refreshed 2026-09-29, then every 6 hours
- vendor docs verified on 2026-09-29
Spotted something out of date? Tell us — corrections ship same-day.