AgentHubAgentHub

sonarqube-mcp-server

MCP ServerMCP Registry官方收录

io.github.SonarSource/sonarqube-mcp-server · v1.18.1

An MCP server that enables integration with SonarQube Server or Cloud for code quality and security.

概览

sonarqube-mcp-server 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "sonarqube-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/mcp/sonarqube:latest"
      ],
      "env": {
        "SONARQUBE_TOKEN": "<SONARQUBE_TOKEN>"
      }
    }
  }
}

环境变量

SONARQUBE_TOKEN必填secret

Your SonarQube USER token

SONARQUBE_ORG可选secret

Your SonarQube Cloud organization key (if using SonarQube Cloud)

SONARQUBE_URL可选secret

Your SonarQube Server URL (if using SonarQube Server)

相关资源

统一 Manifest

{
  "id": "io.github.SonarSource/sonarqube-mcp-server",
  "type": "mcp-server",
  "version": "1.18.1",
  "displayName": "sonarqube-mcp-server",
  "description": "An MCP server that enables integration with SonarQube Server or Cloud for code quality and security.",
  "repository": {
    "url": "https://github.com/SonarSource/sonarqube-mcp-server",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "oci",
        "identifier": "docker.io/mcp/sonarqube:latest",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "SONARQUBE_TOKEN",
            "description": "Your SonarQube USER token",
            "isRequired": true,
            "isSecret": true
          },
          {
            "name": "SONARQUBE_ORG",
            "description": "Your SonarQube Cloud organization key (if using SonarQube Cloud)",
            "isSecret": true
          },
          {
            "name": "SONARQUBE_URL",
            "description": "Your SonarQube Server URL (if using SonarQube Server)",
            "isSecret": true
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.SonarSource/sonarqube-mcp-server",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.SonarSource%2Fsonarqube-mcp-server/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
sonarqube-mcp-server — MCP Server 安装与配置 · AgentHub