MCP.so
登录

SonarQube

@SonarSource

关于 SonarQube

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

基本信息

分类

开发工具

许可证

NOASSERTION

运行时

java

传输方式

stdio

发布者

SonarSource

提交者

Nicolas QUINQUENEL

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "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>"
      }
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

评论

开发工具 分类下的更多 MCP 服务器