{
  "slug": "io-github-sonarsource-sonarqube-mcp-server",
  "name": "io.github.SonarSource/sonarqube-mcp-server",
  "title": "SonarQube MCP Server",
  "description": "Analyze code quality and security with SonarQube Server or Cloud directly in AI assistants.",
  "version": "1.30.0",
  "publishedAt": "2026-10-23T17:22:00.172403Z",
  "updatedAt": "2026-10-23T17:22:00.172403Z",
  "repoUrl": "https://github.com/SonarSource/sonarqube-mcp-server",
  "websiteUrl": null,
  "namespace": {
    "type": "github",
    "owner": "SonarSource"
  },
  "kind": "local",
  "packages": [
    {
      "registryType": "oci",
      "identifier": "docker.io/sonarsource/sonarqube-mcp",
      "version": null,
      "transport": "stdio",
      "runtimeHint": null
    }
  ],
  "remotes": [],
  "envVars": [
    {
      "name": "SONARQUBE_TOKEN",
      "isSecret": true,
      "isRequired": true,
      "description": "Your SonarQube USER token"
    },
    {
      "name": "SONARQUBE_ORG",
      "isSecret": true,
      "isRequired": false,
      "description": "Your SonarQube Cloud organization key (if using SonarQube Cloud)"
    },
    {
      "name": "SONARQUBE_URL",
      "isSecret": true,
      "isRequired": false,
      "description": "Your SonarQube Server URL (if using SonarQube Server)"
    }
  ],
  "category": "security",
  "subcategory": "agent-security",
  "company": "sonar",
  "categoryAuto": true,
  "checks": [
    {
      "id": "source-linked",
      "label": "Source repository linked",
      "result": "pass",
      "detail": "https://github.com/SonarSource/sonarqube-mcp-server"
    },
    {
      "id": "version-pinned",
      "label": "Version pinned",
      "result": "warn",
      "detail": "Not pinned: docker.io/sonarsource/sonarqube-mcp"
    },
    {
      "id": "secrets-requested",
      "label": "Secrets requested",
      "result": "warn",
      "detail": "Asks for 3 secrets: SONARQUBE_TOKEN, SONARQUBE_ORG, SONARQUBE_URL"
    },
    {
      "id": "known-registry",
      "label": "Known package registry",
      "result": "pass",
      "detail": "All packages come from npm, PyPI, OCI, NuGet or MCPB"
    },
    {
      "id": "namespace",
      "label": "Namespace ownership",
      "result": "info",
      "detail": "Name verified via GitHub account SonarSource"
    },
    {
      "id": "meta-text",
      "label": "Registry text aimed at the AI",
      "result": "pass",
      "detail": "Description and settings contain no hidden characters or instructions to the AI"
    },
    {
      "id": "code-flags",
      "label": "Code red flags",
      "result": "info",
      "detail": "oci packages are not read yet"
    }
  ],
  "scannedAt": "2026-10-29",
  "level": "Scanned",
  "install": [
    {
      "label": "Claude Desktop (oci)",
      "kind": "claude_desktop_json",
      "text": "{\n  \"mcpServers\": {\n    \"sonarqube-mcp-server\": {\n      \"command\": \"docker\",\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"SONARQUBE_TOKEN\",\n        \"docker.io/sonarsource/sonarqube-mcp\"\n      ],\n      \"env\": {\n        \"SONARQUBE_TOKEN\": \"<your value>\"\n      }\n    }\n  }\n}"
    }
  ],
  "curated": true,
  "stars": 675,
  "archived": false,
  "pushedAt": "2026-10-28T21:45:28Z",
  "health": {
    "score": 59,
    "parts": {
      "popularity": 0.3291322547211302,
      "activity": 1,
      "issues": 0.5714285714285714,
      "security": 0.6
    },
    "fail": 0,
    "warn": 2,
    "raw": {
      "stars": 677,
      "forks": 102,
      "downloads": null,
      "hn": {
        "n": 0,
        "pts": 0,
        "t": []
      },
      "issuesOpen": 9,
      "issuesClosed": 12,
      "prsMerged": 535,
      "commits90": 121,
      "release": "2026-10-23T16:43:25Z",
      "pushed": "2026-10-28T21:45:28Z",
      "growth": null,
      "growthDays": null,
      "archived": false
    },
    "at": "2026-10-31T07:42:38.200Z"
  },
  "icon": "/icons/co/sonar.png"
}
