Gemini CLI
Set up the SonarQube MCP Server with Gemini CLI and start using Sonar tools from your agent.
Set up MCP for Gemini CLI
Environment variables
Connection and transport
gemini extensions install https://github.com/SonarSource/sonarqube-mcp-serverSONARQUBE_TOKEN="<YourSonarQubeUserToken>"
SONARQUBE_ORG="<YourOrganizationName>" // For SonarQube Cloud, empty otherwise.
SONARQUBE_URL="<YourSonarQubeURL>" // For SonarQube Server, SonarQube Cloud US region, and SonarQube Community Build. Empty otherwise.Use Sonar tools from Gemini CLI
Last updated
Was this helpful?

