Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

Sonar MCP Server

OCI · GHCR.IO/IGOROLV/SONAR-MCP-SERVER:0.1.0

Read-only SonarQube Community Build access for AI agents: issues, hotspots, rules, code snippets

−5 this week 51 Trust /100

Last scanned (21 hours ago)

Scores higher than 81% of OCI servers

Category Developer Tools

Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security0
  • No malware scan is available for this kind of package: the supply-chain vendors we use do not cover it. This is a permanent gap in our coverage, not a finding about the package.Unverified
  • Known CVEs could not be checked: this artifact ships no SBOM or dependency manifest, so there is no dependency list to read.Unverified
  • Install-script risk not yet assessed.Unverified
  • Dependency health could not be checked: this artifact ships no SBOM or dependency manifest, so there is no dependency list to read.Unverified
Provenance & Transparency48
  • Source repository is publicly reachable at the declared URL. View diagnostics → Pass
  • Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
  • Clear OSI-approved license (MIT).Pass
  • Actively maintained (last published 47 days ago).Pass
  • Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability82
  • 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 2647 tokens (~203/item across 13 items; 13 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management60
  • Stability observed for 18 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
  • Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Tool Safety100
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • We read all 13 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
  • An AI judge read all 13 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass

Unverified: 1 category

A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 4 Nov 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 57 to 60. That category is still filling its 30-day observation window: 17 days of observed history at the previous scan, 18 at this one. The score rises as the window fills, whether or not the server changes.

  • 3 Nov 26 −6
    • Stability: pass → 0.57 functional
  • 28 Oct 26 0
    • Stability: 0.97 → pass security
  • 27 Oct 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 93 to 97. That category is still filling its 30-day observation window: 28 days of observed history at the previous scan, 29 at this one. The score rises as the window fills, whether or not the server changes.

  • 24 Oct 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 83 to 87. That category is still filling its 30-day observation window: 25 days of observed history at the previous scan, 26 at this one. The score rises as the window fills, whether or not the server changes.

  • 22 Oct 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 77 to 80. That category is still filling its 30-day observation window: 23 days of observed history at the previous scan, 24 at this one. The score rises as the window fills, whether or not the server changes.

  • 20 Oct 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 70 to 73. That category is still filling its 30-day observation window: 21 days of observed history at the previous scan, 22 at this one. The score rises as the window fills, whether or not the server changes.

  • 18 Oct 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 63 to 67. That category is still filling its 30-day observation window: 19 days of observed history at the previous scan, 20 at this one. The score rises as the window fills, whether or not the server changes.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 4 Nov 2026 · Analysed oci/ghcr.io/igorolv/sonar-mcp-server:0.1.0

Provenance No attestation

The registry publishes no build provenance for this version, so there is nothing to verify.

Result No attestation
Ecosystem oci
Reason No attestation published

Background: How many MCP packages publish verified provenance →

MCP tools · 13 exposed · ~2,647 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
getHotspot ~41

Get one Security Hotspot. Returns review details, rule guidance, locations, flows, and changelog.

NameTypeReqDescription
hotspotKeystringyesHotspot key
NameTypeReqDescription
changelogarray|null–Full change history of the hotspot (reviews, reassignments, etc.).
flowsarray|null–Data-flow paths showing how user input reaches the risky code.
hotspot–––
rule–––
textRange––Precise text range in the source file; null when the hotspot spans the whole file.

No examples provided.

getIssue ~165

Get one issue by key. Returns full issue details and changelog, including status and assignment history. Scope explicitly: omitting both `branch` and `pullRequest` uses the configured default (usually main). For non-main or PR work, pass the matching ref explicitly; discover it with `listProjectBranches` / `listProjectPullRequests`.

NameTypeReqDescription
branchstring–Branch name; mutually exclusive with `pullRequest`. Omission uses the configured default (usually main). For non-main lookup, pass explicitly; use `listProjectBranches` to discover names.
issueKeystringyesIssue key
pullRequeststring–PR key; mutually exclusive with `branch`; no default. For PR work, pass explicitly; use `listProjectPullRequests`.
NameTypeReqDescription
changelogarray|null–Full change history of the issue (transitions, assignments, severity changes, etc.).
issue–––

No examples provided.

getIssueSnippets ~193

Get Sonar-analysed source snippets for all issue locations, including cross-file flows. Returns component path, language, code lines, and SCM metadata. Use when local source is unavailable or may differ from the analysed ref. Scope explicitly: omitting both `branch` and `pullRequest` uses the configured default (usually main). For non-main or PR work, pass the matching ref explicitly; discover it with `listProjectBranches` / `listProjectPullRequests`.

NameTypeReqDescription
branchstring–Branch name; mutually exclusive with `pullRequest`. Omission uses the configured default (usually main). For non-main lookup, pass explicitly; use `listProjectBranches` to discover names.
issueKeystringyesIssue key
pullRequeststring–PR key; mutually exclusive with `branch`; no default. For PR work, pass explicitly; use `listProjectPullRequests`.
NameTypeReqDescription
issueKeystring|null–Key of the issue these snippets belong to.
snippetsarray|null–One or more source code snippets showing the issue location and surrounding lines.

No examples provided.

getProject ~184

Get one project analysis. Returns project metadata, quality gate failures, and metrics for size, findings, coverage, duplication, and technical debt. Scope explicitly: omitting both `branch` and `pullRequest` uses the configured default (usually main). For non-main or PR work, pass the matching ref explicitly; discover it with `listProjectBranches` / `listProjectPullRequests`.

NameTypeReqDescription
branchstring–Branch name; mutually exclusive with `pullRequest`. Omission uses the configured default (usually main). For non-main work, pass explicitly; use `listProjectBranches`.
projectKeystring–Project key; omit only if the server has a default. Discover with `listProjects`.
pullRequeststring–PR key; mutually exclusive with `branch`; no default. For PR work, pass explicitly; use `listProjectPullRequests`.
NameTypeReqDescription
descriptionstring|null–Optional project description.
lastAnalysisDatestring|null–ISO-8601 timestamp of the most recent successful analysis.
metrics–––
namestring|null–Human-readable project name.
projectKeystring|null–Unique project key.
qualifierstring|null–Project qualifier: TRK for a main project, VW for a portfolio, APP for an application.
qualityGate–––
versionstring|null–Project version string, if configured.
visibilitystring|null–Visibility setting: 'public' or 'private'.

No examples provided.

getProjectIssuesBreakdown ~374

Count project issues by logical module and rule; intended for multi-module projects. A module is the first `componentPath` segment. Returns totals, module/rule facets, and per-module severity/type summaries. Scope explicitly: omitting both `branch` and `pullRequest` uses the configured default (usually main). For non-main or PR work, pass the matching ref explicitly; discover it with `listProjectBranches` / `listProjectPullRequests`. If `branchAdvisory` is present, choose the branch matching the user's ref and retry explicitly.

NameTypeReqDescription
branchstring–Branch name; mutually exclusive with `pullRequest`. Omission uses the configured default (usually main). For non-main work, pass explicitly; use `listProjectBranches`.
componentPathPrefixstring–Same Sonar `componentPath` prefix semantics as `listIssues`; use `listComponents` instead of guessing.
projectKeystring–Project key; omit only if the server has a default. Discover with `listProjects`.
pullRequeststring–PR key; mutually exclusive with `branch`; no default. For PR work, pass explicitly; use `listProjectPullRequests`.
resolvedboolean–Resolved filter; defaults to false only when statuses is also omitted.
rulesstring–Comma-separated rule keys, e.g. `java:S1234`.
severitiesstring–Comma-separated: INFO,MINOR,MAJOR,CRITICAL,BLOCKER.
statusesstring–Comma-separated: OPEN,CONFIRMED,REOPENED,RESOLVED,CLOSED. With no statuses/resolved, returns open issues.
typesstring–Comma-separated: CODE_SMELL,BUG,VULNERABILITY.
NameTypeReqDescription
branchAdvisory–––
byModulearray|null–Issues grouped by logical module.
byRulearray|null–Issues grouped by rule key across the selected scope.
modulesarray|null–Per-module issue summaries, including rule/severity/type breakdowns.
pathPrefixTruncatedboolean–True when componentPathPrefix was supplied and the underlying scan hit the configured maximum issue count before exhausting Sonar. Totals/modules reflect only the scanned slice.
projectKeystring|null–Key of the project being analysed.
totalinteger–Total number of issues matching the query.

No examples provided.

getProjectIssuesSummary ~365

Count project issues and group them by severity, type, status, rule, tag, and SCM author. Returns the total and facet counts; use before listing details. Scope explicitly: omitting both `branch` and `pullRequest` uses the configured default (usually main). For non-main or PR work, pass the matching ref explicitly; discover it with `listProjectBranches` / `listProjectPullRequests`. If `branchAdvisory` is present, choose the branch matching the user's ref and retry explicitly.

NameTypeReqDescription
branchstring–Branch name; mutually exclusive with `pullRequest`. Omission uses the configured default (usually main). For non-main work, pass explicitly; use `listProjectBranches`.
componentPathPrefixstring–Same Sonar `componentPath` prefix semantics as `listIssues`; use `listComponents` instead of guessing.
projectKeystring–Project key; omit only if the server has a default. Discover with `listProjects`.
pullRequeststring–PR key; mutually exclusive with `branch`; no default. For PR work, pass explicitly; use `listProjectPullRequests`.
resolvedboolean–Resolved filter; defaults to false only when statuses is also omitted.
rulesstring–Comma-separated rule keys, e.g. `java:S1234`.
severitiesstring–Comma-separated: INFO,MINOR,MAJOR,CRITICAL,BLOCKER.
statusesstring–Comma-separated: OPEN,CONFIRMED,REOPENED,RESOLVED,CLOSED. With no statuses/resolved, returns open issues.
typesstring–Comma-separated: CODE_SMELL,BUG,VULNERABILITY.
NameTypeReqDescription
branchAdvisory–––
byAuthorarray|null–Issues grouped by SCM author who introduced them (top authors by issue count).
byRulearray|null–Issues grouped by rule key (top rules by issue count).
bySeverityarray|null–Issues grouped by severity (BLOCKER, CRITICAL, MAJOR, MINOR, INFO).
byStatusarray|null–Issues grouped by lifecycle status (OPEN, CONFIRMED, REOPENED, RESOLVED, CLOSED).
byTagarray|null–Issues grouped by user-defined tag.
byTypearray|null–Issues grouped by type (BUG, VULNERABILITY, CODE_SMELL).
pathPrefixTruncatedboolean–True when componentPathPrefix was supplied and the underlying scan hit the configured maximum issue count before exhausting Sonar. Totals/facets reflect only the scanned slice.
projectKeystring|null–Key of the project being summarised.
totalinteger–Total number of issues matching the query.

No examples provided.

getRule ~51

Get a Sonar rule. Returns title, severity, type, language, tags, and structured explanation and fix sections.

NameTypeReqDescription
ruleKeystringyesRule key, e.g. `java:S1234`
NameTypeReqDescription
descriptionSectionsarray|null–Structured description broken into sections (rationale, non-compliant code, compliant code, etc.).
htmlDescriptionstring|null–Full rule description as raw HTML (including code examples and formatting).
keystring|null–Unique rule key (e.g. 'java:S1186').
langstring|null–Language key (e.g. 'java', 'js', 'py').
langNamestring|null–Human-readable language name (e.g. 'Java', 'JavaScript', 'Python').
namestring|null–Human-readable rule name.
repostring|null–Repository key (language or technology identifier, e.g. 'java', 'js', 'py').
severitystring|null–Default severity. Standard mode: BLOCKER, CRITICAL, MAJOR, MINOR, INFO. MQR mode: BLOCKER, HIGH, MEDIUM, LOW, INFO.
statusstring|null–Rule lifecycle status: READY, DEPRECATED, or REMOVED.
tagsarray|null–Tags categorising the rule (e.g. 'performance', 'java8', 'owasp-a1').
typestring|null–Rule type: BUG, VULNERABILITY, CODE_SMELL, or SECURITY_HOTSPOT.

No examples provided.

listComponents ~275

Browse or search a project's analysed component tree. Use returned `path` values as `componentPathPrefix`; Sonar paths may differ from repository paths. Returns component key, path, name, qualifier, and language. Use `qualifiers=DIR` to discover directories. Scope explicitly: omitting both `branch` and `pullRequest` uses the configured default (usually main). For non-main or PR work, pass the matching ref explicitly; discover it with `listProjectBranches` / `listProjectPullRequests`.

NameTypeReqDescription
branchstring–Branch name; mutually exclusive with `pullRequest`. Omission uses the configured default (usually main). For non-main work, pass explicitly; use `listProjectBranches`.
limitinteger–Page size; server default if omitted.
offsetinteger–Offset; default 0.
projectKeystring–Project key; omit only if the server has a default. Discover with `listProjects`.
pullRequeststring–PR key; mutually exclusive with `branch`; no default. For PR work, pass explicitly; use `listProjectPullRequests`.
qualifiersstring–Comma-separated component types, e.g. `DIR,FIL`; use `DIR` for path discovery.
querystring–Component name/path substring
NameTypeReqDescription
itemsarray|null–Components returned by SonarQube.
limitinteger–Effective page size.
offsetinteger–Requested offset.
totalinteger–Total matching component count reported by SonarQube.

No examples provided.

listHotspots ~325

List project Security Hotspots that need human review. Defaults to `TO_REVIEW`; supports path and ref filters. Returns rule/category, vulnerability probability, message, and file location. Scope explicitly: omitting both `branch` and `pullRequest` uses the configured default (usually main). For non-main or PR work, pass the matching ref explicitly; discover it with `listProjectBranches` / `listProjectPullRequests`.

NameTypeReqDescription
branchstring–Branch name; mutually exclusive with `pullRequest`. Omission uses the configured default (usually main). For non-main work, pass explicitly; use `listProjectBranches`.
componentPathPrefixstring–Sonar `componentPath` prefix relative to the project root; an exact file path is also allowed. Uses directory boundaries, so `src` does not match `srcExtra`. For Java/Kotlin packages use slashes. Son…
limitinteger–Page size; server default if omitted.
offsetinteger–Offset; default 0.
projectKeystring–Project key; omit only if the server has a default. Discover with `listProjects`.
pullRequeststring–PR key; mutually exclusive with `branch`; no default. For PR work, pass explicitly; use `listProjectPullRequests`.
statusstring–`TO_REVIEW` or `REVIEWED`; default `TO_REVIEW`
NameTypeReqDescription
itemsarray|null–Hotspots in this page.
limitinteger–Maximum number of items per page.
offsetinteger–Zero-based offset of this page within the full result set.
pathPrefixTruncatedboolean–True when componentPathPrefix was supplied and the underlying scan hit the configured maximum hotspot count before exhausting Sonar. Tighten the prefix to see the rest.
totalinteger–Total number of hotspots matching the query across all pages.

No examples provided.

listIssues ~453

List project issues with optional severity, type, status, rule, path, and ref filters. Returns rule, severity, type, status, message, file location/text range, and cross-file flows. Defaults to open issues. Scope explicitly: omitting both `branch` and `pullRequest` uses the configured default (usually main). For non-main or PR work, pass the matching ref explicitly; discover it with `listProjectBranches` / `listProjectPullRequests`. If `branchAdvisory` is present, choose the branch matching the user's ref and retry explicitly.

NameTypeReqDescription
branchstring–Branch name; mutually exclusive with `pullRequest`. Omission uses the configured default (usually main). For non-main work, pass explicitly; use `listProjectBranches`.
componentPathPrefixstring–Sonar `componentPath` prefix relative to the project root; an exact file path is also allowed. Uses directory boundaries, so `src` does not match `srcExtra`. For Java/Kotlin packages use slashes. Son…
limitinteger–Page size; server default if omitted.
offsetinteger–Offset; default 0.
projectKeystring–Project key; omit only if the server has a default. Discover with `listProjects`.
pullRequeststring–PR key; mutually exclusive with `branch`; no default. For PR work, pass explicitly; use `listProjectPullRequests`.
resolvedboolean–Resolved filter; defaults to false only when statuses is also omitted.
rulesstring–Comma-separated rule keys, e.g. `java:S1234`.
severitiesstring–Comma-separated: INFO,MINOR,MAJOR,CRITICAL,BLOCKER.
statusesstring–Comma-separated: OPEN,CONFIRMED,REOPENED,RESOLVED,CLOSED. With no statuses/resolved, returns open issues.
typesstring–Comma-separated: CODE_SMELL,BUG,VULNERABILITY.
NameTypeReqDescription
branchAdvisory–––
itemsarray|null–Issues in this page.
limitinteger–Maximum number of items per page.
offsetinteger–Zero-based offset of this page within the full result set.
pathPrefixTruncatedboolean–True when componentPathPrefix was supplied and the underlying scan hit the configured maximum issue count before exhausting Sonar. The returned `total` and `items` reflect only the scanned slice; tig…
totalinteger–Total number of issues matching the query across all pages.

No examples provided.

listProjectBranches ~67

List analysed project branches. Returns name, main/type flags, analysis date, quality gate, and issue counts; use the name as `branch` in other tools.

NameTypeReqDescription
projectKeystring–Project key; omit only if the server has a default. Discover with `listProjects`.
NameTypeReqDescription
branchesarray|null–List of branches with analysis status and issue counts.
projectKeystring|null–Key of the project these branches belong to.

No examples provided.

listProjectPullRequests ~82

List project PR analyses. Returns key, title, source/base branches, URL, analysis date, quality gate, and issue counts; use the key as `pullRequest` in other tools. Returns empty when DevOps integration is unavailable.

NameTypeReqDescription
projectKeystring–Project key; omit only if the server has a default. Discover with `listProjects`.
NameTypeReqDescription
projectKeystring|null–Key of the project these pull requests belong to.
pullRequestsarray|null–List of pull requests with analysis status and issue counts.

No examples provided.

listProjects ~72

List projects, optionally filtered by name. Returns key, name, and qualifier; use the key as `projectKey` in other tools.

NameTypeReqDescription
limitinteger–Page size; server default if omitted.
offsetinteger–Offset; default 0.
querystring–Project name substring
NameTypeReqDescription
itemsarray|null–Projects in this page.
limitinteger–Maximum number of items per page.
offsetinteger–Zero-based offset of this page within the full result set.
totalinteger–Total number of projects matching the query across all pages.

No examples provided.

Install

How do I install the Sonar MCP Server server?

Sonar MCP Server runs locally as a container image, launched with docker run --rm -i -e SONAR_URL -e SONAR_TOKEN -e SONAR_DEFAULT_PROJECT_KEY ghcr.io/igorolv/sonar-mcp-server:0.1.0. Ready-made configuration for Claude, Cursor, VS Code, Codex and 3 more is on this page, copied from each client's own documentation.

oci · ghcr.io/igorolv/sonar-mcp-server:0.1.0

# add to Claude Code
claude mcp add igorolv-sonar-mcp-server -- docker run --rm -i -e SONAR_URL -e SONAR_TOKEN -e SONAR_DEFAULT_PROJECT_KEY ghcr.io/igorolv/sonar-mcp-server:0.1.0

This image reads SONAR_URL, SONAR_TOKEN and SONAR_DEFAULT_PROJECT_KEY. Set them in your client's env block for this server; docker run -e passes each one through to the container.

Common questions

What is the Sonar MCP Server server?

Sonar MCP Server is listed in the public MCP registry as io.github.igorolv/sonar-mcp-server. Read-only SonarQube Community Build access for AI agents: issues, hotspots, rules, code snippets. This page covers its container image (ghcr.io/igorolv/sonar-mcp-server:0.1.0).

Is the Sonar MCP Server server safe to use?

Sonar MCP Server scores 51 out of 100 on VerifyMCP. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the Sonar MCP Server server expose?

Sonar MCP Server exposes 13 tools: getHotspot, listHotspots, getIssue, getIssueSnippets, getProjectIssuesBreakdown, and 8 more. Their descriptions and schemas cost roughly 2,647 tokens of context every time the server is loaded.

Is the Sonar MCP Server server still maintained?

Sonar MCP Server is still listed as active in the MCP registry. We last reached this channel on 4 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

What licence is the Sonar MCP Server server under?

Sonar MCP Server declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.