SonarQube
@SonarSource
About SonarQube
Official SonarQube MCP Server for code quality and security in AI agents
Basic information
Category
Developer Tools
License
NOASSERTION
Runtime
java
Transports
stdio
Publisher
SonarSource
Submitted by
Nicolas QUINQUENEL
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
More Developer Tools MCP servers
FastAPI-MCP
tadata-orgExpose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
MCP-Bridge
SecretiveShellA middleware to provide an openAI compatible endpoint that can call MCP tools
Huoshan Test
volcengineSmithery CLI
smithery-aiInstall, manage and develop MCP servers and skills for agents
MCP Framework
QuantGeekDevThe Typescript MCP Framework
Comments