SonarQube
@SonarSource
About SonarQube
Official SonarQube MCP Server for code quality and security in AI agents
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"sonarqube": {
"command": "docker",
"args": [
"run",
"--init",
"--pull=always",
"-i",
"--rm",
"-e",
"SONARQUBE_TOKEN",
"-e",
"SONARQUBE_URL",
"-e",
"SONARQUBE_ORG",
"sonarsource/sonarqube-mcp"
],
"env": {
"SONARQUBE_TOKEN": "<token>",
"SONARQUBE_URL": "<url>",
"SONARQUBE_ORG": "<org>"
}
}
}
}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 SonarQube?
The SonarQube MCP Server is a Model Context Protocol (MCP) server that enables seamless integration with SonarQube Server or Cloud for code quality and security. It also supports the analysis of code snippets directly within the agent context.
How to use SonarQube?
Use the SonarQube MCP Server Configuration Generator at mcp.sonarqube.com/config-generator.html or manually configure your AI agent client with the Docker image sonarsource/sonarqube-mcp. Set environment variables for authentication: SONARQUBE_TOKEN is required; for SonarQube Cloud add SONARQUBE_ORG, for SonarQube Server add SONARQUBE_URL. Configuration examples are provided for Antigravity, Claude Code, Codex CLI, Cursor, Gemini CLI, GitHub Copilot CLI, GitHub Copilot coding agent, and Kiro.
Key features of SonarQube
- Integrates with SonarQube Server or Cloud.
- Analyzes code snippets within the agent context.
- Provides code quality and
Basic information
Category
Developer Tools
License
NOASSERTION
Transports
stdio
Author
SonarSource
Submitted by
Nicolas QUINQUENEL
More Developer Tools MCP servers
extentos
Asger mølgaardExtentos is a multi-vendor development platform for adding smart-glasses capabilities to existing iOS and Android apps. The simplest analogy is Stripe for smart glasses:
MCP Containers
metorialConnect any AI model to 1200+ integrations (MCP, CLI, API)
MCP-Scan: An MCP Security Scanner
invariantlabs-aiSecurity scanner for AI agents, MCP servers and agent skills.
Stakpak Agent CLI
stakpakShip your code, on autopilot. An open source agent that lives on your machines 24/7 and keeps your apps running. 🦀

Moxie Docs
Jackalope-DevAutomated codebase documentation for GitHub: searchable docs, MCP context for AI agents, doc drift detection, and Friday Cleanup PRs.
Comments