# SonarQube MCP Server (slim)

> SonarSource's official MCP server connects coding agents to SonarQube Cloud and SonarQube Server, to search issues, security hotspots, quality gates, coverage and dependency risks and to analyse files. It runs locally from a container image or hosted in SonarQube Cloud.

- Full: https://www.anchorterminal.com/tools/sonarqube-mcp.md (~6,800 tokens) · this version ~1,530 tokens · JSON https://www.anchorterminal.com/tools/sonarqube-mcp.json · canonical https://www.anchorterminal.com/tools/sonarqube-mcp
- Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · MCP: https://www.anchorterminal.com/mcp · Updated: 2026-11-23 · pricing https://www.anchorterminal.com/tools/sonarqube-mcp#pricing · reviews https://www.anchorterminal.com/tools/sonarqube-mcp#reviews
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)

**B · 66.9/100 · rank #498 of 1654 · #10 in Code & developer platforms · not agent-ready · confidence medium**


Assessment: Gives coding agents typed, paginated access to SonarQube issues, hotspots, quality gates and coverage, with toolsets, a read-only mode and scoped OAuth on the hosted server. Every use needs a SonarQube account a person creates, the hosted server documents no rate limits, and the licence is source-available, not open source.

## Facts

- Kind: MCP server · vendor: SonarSource · category: Code & developer platforms · legal entity: SonarSource Sàrl · provenance 83/100
- Endpoint: `https://api.sonarcloud.io/mcp` (stdio, Streamable HTTP)
- Auth: OAuth or key · pricing: Freemium · x402: no · licence: SONAR Source-Available License v1.0 (SSAL)
- Benchmark probes: not run yet, so Performance is pending
- Live, from our pollers (not part of the score): up at 2026-11-23 16:30 UTC · uptime 30 days 100.0% (7 probes) · p50 48 ms · p95 107 ms over 24 hours
- Vendor status page: no problems reported, All Systems Operational (2026-11-23 16:22 UTC)
- Surface listed: The SonarQube MCP Server, graded on the SonarQube Cloud-hosted endpoint at api.sonarcloud.io/mcp and the stdio container image together, from the docs, the repository at tag 1.33.0.5260, the MCP registry, the plans page and status.sonarqube.com on 23 November 2026. No account was made and no tool was called
- Ways to run it: stdio from the sonarsource/sonarqube-mcp image or a JAR, self-hosted Streamable HTTP or HTTPS, an extension installed on SonarQube Server 2026.3 and later, or the SonarQube Cloud-hosted endpoint
- Default toolsets: analysis, ide, issues, projects, quality-gates, rules, duplications, measures, security-hotspots, dependency-risks, coverage and cag. Others (sources, languages, portfolios, system, webhooks, architecture, agentic-readiness) are opt-in
- Write tools: change_sonar_issue_status (accept, falsepositive, reopen), change_security_hotspot_status, webhook management, and architecture tools that replace intended models and manage project directives
- Paid add-ons: Dependency risks need SonarQube Advanced Security. Vortex analysis and context need a Vortex subscription and a local stdio server with the workspace mounted
- Legal entity: SonarSource Sàrl, named in the docs footer. Founded and headquartered in Geneva per its 2022 funding announcement
- Prices: SonarQube Cloud Team plan, up to 100k lines of code $34 per month (plan)

- Scores: Reliability 50, Performance not tested, Schema & documentation 80, Agent ergonomics 80, Security & auth 73, Payments & pricing 45, Task success not tested, Maintenance & community 87, Transparency & trust 79 · negative events -2
- Why: Reliability, Read with the hosted lines, since the SonarQube Cloud-hosted endpoint needs no install. · Schema & documentation, Every tool takes a typed input schema built in the Java source, with readOnlyHint set on read tools (25). · Agent ergonomics, 51 tools in the full catalogue and a default set of 12 toolsets (15), with toolsets, per-request `SONARQUBE_TOOLSETS` headers and a read-onl… · Security & auth, Hosted OAuth with `mcp:tools:read` and `mcp:tools:write` scopes through approved CIMD clients, and revocable user tokens otherwise, sent in… · Payments & pricing, No x402, MPP or L402 (0). · Maintenance & community, 1.33.0 tagged 20 November 2026, three days before the check (30). · Transparency & trust, SONAR Source-Available License v1.0, which allows the server's documented use and is not an OSI licence, with clear terms (20 of 30).
- Sources: 11, open questions: 5, both in the full twin
- Capabilities: code.repo, code.review, code.testing
- JSON: https://www.anchorterminal.com/api/v1/tools/sonarqube-mcp.json · card, about 200 tokens, for choosing between listings: https://www.anchorterminal.com/tools/sonarqube-mcp.card.md
- Its vendor verifies the listing with `verify_listing` or `POST https://www.anchorterminal.com/api/v1/verify` (the full twin says how); no effect on the grade.
- Support: security@sonarsource.com; https://docs.sonarsource.com/sonarqube-mcp-server/resources; more in the full twin

## Before you call it

1. Set `SONARQUBE_READ_ONLY=true` unless the task must change issue or hotspot status
2. Call `list_organizations` first on SonarQube Cloud, then pass the key as `organization` on each tool
3. Mount the project at `/app/mcp-workspace` and pass `filePath`, so file content stays out of the context
4. Use `branch` and `pullRequest`, not the removed `branchKey` and `pullRequestKey` parameters
5. If an OAuth call fails with `Insufficient OAuth scope`, ask the user to grant `mcp:tools:write`

## Connect

```bash
claude mcp add --transport http sonarqube https://api.sonarcloud.io/mcp
```
Full config and headless snippets are in the full page. Through letme (picks today, calling later): https://letme.dev/sonarqube-mcp

## Similar tools

| Tool | Grade | Score | Shared capabilities | Slim |
| --- | --- | --- | --- | --- |
| Momentic MCP server | D | 46.9 | code.testing, code.review | https://www.anchorterminal.com/tools/momentic-mcp.min.md |
| GitHub MCP Server | BB | 74.9 | code.repo | https://www.anchorterminal.com/tools/github-mcp-server.min.md |
| Graphify | BB | 72.5 | code.repo | https://www.anchorterminal.com/tools/graphify.min.md |
| Entire | BB | 71.9 | code.repo | https://www.anchorterminal.com/tools/entire.min.md |
| GitLab MCP Server | B | 69.2 | code.repo | https://www.anchorterminal.com/tools/gitlab-mcp.min.md |


## Panel reviews (0, desk reviews from public material, no calls made)

