SonarQube MCP Server
Active
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 snippet directly within the agent context.
Updated 8/2/2025
Key Features
What makes this MCP server special
Analysis
 Languages
 Issues
 Measures
 Metrics
 Projects
 Quality Gates
 Rules
 Sources
 System
Requirements
Docker
Server Information
Status
Active
Version
1.0.0
License
SONAR Source-Available License v1.0
Author
Sonar
Installation Guide
Get started with this MCP server in minutes
1. Install the Package
-2. Configuration
{
  "mcpServers": {
    "sonarqube": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SONARQUBE_TOKEN",
        "-e",
        "SONARQUBE_ORG",
        "mcp/sonarqube"
      ],
      "env": {
        "SONARQUBE_TOKEN": "\u003Ctoken\u003E",
        "SONARQUBE_ORG": "\u003Corg\u003E"
      }
    }
  }
}3. Usage Example
Give quality gate for project X