MCP directory
SM

Sonar MCP Server

by github.com/igorolv · v0.1.0 · updated Sep 17, 2026

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

Docker

Run it locally

Install the package and point your AI client at it.

Docker

docker run -i --rm ghcr.io/igorolv/sonar-mcp-server:0.1.0

Environment variables

  • SONAR_URLrequired

    Base URL of the SonarQube instance, e.g. https://sonar.example.com

  • SONAR_TOKENrequiredsecret

    SonarQube user token (My Account -> Security -> Generate Tokens)

  • SONAR_DEFAULT_PROJECT_KEY

    Project key used when a tool call does not name one

More from github.com/igorolv

More MCP servers