Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

sonar-integrate

Skill by SonarSource

Sets up SonarQube for an AI coding agent. It installs or updates sonarqube-cli, authenticates, and adds analysis hooks and the SonarQube MCP Server. Meant for developers who already have SonarQube running.

  • Score 65
  • 118 stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install sonar-integrate

Built from the published package, never by AI.

git clone --depth 1 https://github.com/SonarSource/sonarqube-agent-plugins /tmp/sonarqube-agent-plugins && mkdir -p ~/.claude/skills && cp -r /tmp/sonarqube-agent-plugins/skills/sonar-integrate ~/.claude/skills/sonar-integrate

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install sonar-integrate in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The sonar-integrate skill connects an AI coding agent to SonarQube. It checks whether sonarqube-cli is installed, installs it if needed, and updates it when it is already present. It then checks authentication status and, if the user is not logged in, guides them through sonar auth login for SonarQube Cloud (EU or US) or a self-hosted SonarQube Server.

After authentication, it runs sonar integrate for the current agent, which installs analysis hooks and the SonarQube MCP Server. The MCP Server runs in a container started with sonar run mcp, so Docker, Podman, or Nerdctl must be installed and running. The skill is meant for developers who want to set up or reconfigure SonarQube integration, and it assumes SonarQube itself is already set up.

Written from the project's SKILL.md and checked against it.

What it can do

  • Install or update sonarqube-cliChecks for the CLI, installs it with a chosen method, or runs sonar update when it is already installed.
  • Check authentication statusRuns sonar auth status to see which server and organisation are connected.
  • Guide sonar auth loginWalks the user through logging in to SonarQube Cloud EU, SonarQube Cloud US, or a self-hosted SonarQube Server.
  • Set up agent integrationRuns sonar integrate for the current agent to install analysis hooks and the SonarQube MCP Server.

What you need

  • SonarQube Cloud organization key or a SonarQube Server URL
  • Docker, Podman, or Nerdctl installed and running
  • A supported AI agent such as Claude, Copilot, Codex, or Cursor
  • macOS, Linux, or Windows

Try asking

  • Set up SonarQube integration for this agent
  • Check my SonarQube authentication status
  • Configure SonarQube for this project

Good to know

  • Assumes SonarQube is already set up; the skill only wires the assistant.
  • The user must run the sonar auth login command in their own browser.
  • The MCP tools only load after the container runtime is running and the agent session is restarted.
  • In Cursor, the user must enable the sonarqube entry in Settings → MCP.

Security check

C
  • Downloads a script from the internet and runs itIn skills/sonar-integrate/SKILL.md: curl -o- https://raw.githubusercontent.com/SonarSource/sonarqube-cli/refs/heads/master/user-scripts/install.sh \| bash

Checked automatically: skills/sonar-integrate/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Bash(which:*)Bash(Get-Command:*)Bash(sonar:*)Bash(curl:*)Bash(irm:*)Bash(iex:*)Bash(brew:*)Bash(mise:*)Bash(docker ps:*)Bash(podman ps:*)Bash(nerdctl ps:*)

Alternatives to sonar-integrate

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

sonar-integrate: common questions

Does the skill store my SonarQube token?

The source says the token is stored in the system keychain by sonar auth login and never appears in the chat.

Why are no SonarQube MCP tools showing up?

The source says a container runtime must be installed and running, and the agent session must be restarted to load the configuration.

Can I use Homebrew or mise instead of the install script?

Yes. The source lists Homebrew and mise as install options and says they keep future upgrades managed by that tool.

How do I install sonar-integrate?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is sonar-integrate free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is sonar-integrate safe to use?

It scores 65 of 100. Grades: maintenance A, licence F, quality B. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.

What are alternatives to sonar-integrate?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

sonar-integrate Install

Add to stack

Loading.