MCP Directory
Back

sonarqube-mcp-server

by SonarSource · Java · ★ 586

Official SonarQube MCP Server for code quality and security in AI agents

#agent#ai#code-quality#mcp#mcp-server#security#sonarqube#static-analysis

Install

git clone https://github.com/SonarSource/sonarqube-mcp-server.git

Auto-generated from the repo's primary language — check the repo's own README for its exact install instructions.

Claude Desktop config

A starting point for your claude_desktop_config.json (auto-generated — the repo's README may specify a published package name or required env vars):

{
  "mcpServers": {
    "sonarqube-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "github:SonarSource/sonarqube-mcp-server"
      ]
    }
  }
}

From the README

[](https://github.com/SonarSource/sonarqube-mcp-server/actions/workflows/build.yml) [](https://sonarcloud.io/summary/new_code?id=SonarSource_sonarqube-mcp-server) 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. Security best practices > 🔒 **Important**: Your SonarQube token is a sensitive credential. Follow these security practices: **When using CLI commands:** - **Avoid hardcoding tokens** in com…
Read full README on GitHub →

Related ai & ml servers