Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SONARQUBE_URLNoSonarQube base URLhttps://sonarqube-engops-production.opengov.teleport.sh
SONARQUBE_TOKENYesSonarQube user token (squ_...)
SONARQUBE_PROJECTNoSonarQube project keypayroll-app-web

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
sonar_get_pr_issuesA

Get all open SonarQube issues for a specific pull request, grouped by file. Use this when the user asks about issues on their PR, branch, or 'what does Sonar say'. Returns each file with its issues (rule, line, severity, message).

sonar_get_file_issuesA

Get open SonarQube issues for a specific source file. Use this when the user asks about issues in a particular file they are editing or viewing. Returns the list of issues with line number, rule, severity, and fix message.

sonar_get_pr_metricsA

Get quality metrics for a pull request: coverage on new code, duplication percentage, and issue counts (bugs, code smells, vulnerabilities). Use this when the user asks 'what is my coverage?', 'does Sonar pass?', or 'what are the Sonar metrics on my PR?'.

sonar_get_duplication_reportA

Get the duplicated lines report for a pull request — which files have duplicated code and what percentage. Use this when the user mentions 'duplication' or 'duplicated lines'.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rahulsingh-cloud/SonarQube-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server