SonarQube for AI coding agents
Testing & code quality · www.sonarsource.com
Official Anthropic-marketplace plugin with 10 skills (no bundled MCP server).
Automatically enforce SonarQube code quality and security in the agent coding loop — 7,000+ rules, secrets scanning, agentic analysis, and quality gates across 40+ languages. PostToolUse hooks run analysis after every file edit. Pre-tool secrets scanning prevents 450+ patterns from reaching the LLM. Slash commands give on-demand access to quality gate status, coverage, duplication, and dependency risks. Includes SonarQube CLI, MCP Server, skills, hooks, and slash commands.
How SonarQube works in each agent
Scores appear only after we verify them, with a source and date. Methodology
| Agent | Score | MCP | Remote / OAuth | Skill / plugin | Verified |
|---|---|---|---|---|---|
| C Claude Code | 4/5 | No | Unknown | Yes | Oct 16, 2026 |
| X OpenAI Codex | Not yet verified. Testing in progress. | ||||
| ▲ Cursor | Not yet verified. Testing in progress. | ||||
| G GitHub Copilot | Not yet verified. Testing in progress. | ||||
| A Google Antigravity | Not yet verified. Testing in progress. | ||||
Setup by agent
/plugin install sonarqube@claude-plugins-official
We haven't verified a OpenAI Codex setup for SonarQube yet. If the vendor documents an MCP server, the MCP config generator gives you the right ~/.codex/config.toml (user) format. Config locations: Codex setup.
We haven't verified a Cursor setup for SonarQube yet. If the vendor documents an MCP server, the MCP config generator gives you the right .cursor/mcp.json (project) format. Config locations: Cursor setup.
We haven't verified a GitHub Copilot setup for SonarQube yet. If the vendor documents an MCP server, the MCP config generator gives you the right .vscode/mcp.json (workspace) format. Config locations: Copilot setup.
We haven't verified a Google Antigravity setup for SonarQube yet. If the vendor documents an MCP server, the MCP config generator gives you the right ~/.gemini/config/mcp_config.json (global) format. Config locations: Antigravity setup.
Evidence
- ↗https://claude.com/marketplace/plugins
- ↗https://github.com/anthropics/claude-plugins-official/blob/main/.claude-plugin/marketplace.json
- ↗https://github.com/SonarSource/sonarqube-agent-plugins
- ↗https://www.sonarsource.com
Bundled skills (10)
sonar-analyzesonar-coveragesonar-dependency-riskssonar-duplicationsonar-fix-issuesonar-integratesonar-list-issuessonar-list-projectssonar-quality-gatesonar-triage-dependency-risks Checked plugin files at https://github.com/SonarSource/sonarqube-agent-plugins (.mcp.json / plugin.json mcpServers; skills/*/SKILL.md), Oct 16 2026
Agent Stack Weekly · free
What changed across coding agents this week
Limit and pricing changes, new MCP servers, and setup fixes for Claude Code, Codex, Cursor, Copilot and Antigravity.
No spam. Unsubscribe anytime. Read past issues