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.

United States
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

Location

United States

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

{
  "sonarqube": {
    "command": "docker",
    "args": [
      "run",
      "-i",
      "--rm",
      "-e",
      "SONARQUBE_TOKEN",
      "-e",
      "SONARQUBE_ORG",
      "mcp/sonarqube"
    ],
    "env": {
      "SONARQUBE_TOKEN": "<token>",
      "SONARQUBE_ORG": "<org>"
    }
  }
}

3. Usage Example

Give quality gate for project X