AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Sonarqube Mcp Server

mcp-bhayanak-sonarqube-mcp-server · by bhayanak

MCP server for comprehensive access to SonarQube code quality and security analysis data. The server exposes tools for querying projects, issues (bugs, vulnerabilities, code smells), quality gates, hotspots, metrics, and rules - enabling AI-driven code quality analysis, technical debt management, and security posture assessment

No reviews yet
0 installs
27 views
0.0% view→install

Install

$ agentstack add mcp-bhayanak-sonarqube-mcp-server

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-bhayanak-sonarqube-mcp-server)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
5mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Sonarqube Mcp Server? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

🛡️ SonarQube MCP Server

Model Context Protocol server for SonarQube Give AI assistants direct access to your code quality, security & analysis data


📦 Packages

This monorepo contains two packages:

| Package | Description | Docs | |---------|-------------|------| | [sonarqube-mcp-server](packages/sonarqube-server/) | Standalone MCP server (npm, CLI, stdio) | [📖 README](packages/sonarqube-server/README.md) | | [sonarqube-mcp-extension](packages/sonarqube-vscode-extension/) | VS Code extension with built-in MCP server | [📖 README](packages/sonarqube-vscode-extension/README.md) |


🔧 12 Tools at a Glance

| Tool | What it does | |------|-------------| | sq_list_projects | List projects with quality status | | sq_get_project | Project overview with metrics | | sq_search_issues | Search bugs, vulns & code smells | | sq_get_issue | Full issue details | | sq_get_quality_gate | Quality gate status & conditions | | sq_search_hotspots | Security hotspots needing review | | sq_get_hotspot | Hotspot details & remediation | | sq_get_measures | Code quality metrics | | sq_get_measures_history | Metric trends over time | | sq_get_rule | Rule details & guidance | | sq_search_rules | Search rules by language/type | | sq_get_component_tree | File tree with metrics |


🚀 Quick Start

Option 1 — VS Code Extension (Recommended)

  1. Install SonarQube MCP from the VS Code Marketplace
  2. Set sonarqubeMcp.baseUrl and sonarqubeMcp.token in VS Code settings
  3. The MCP server appears automatically in VS Code's MCP panel — start/stop/restart from there

→ [Extension docs](packages/sonarqube-vscode-extension/README.md)

Option 2 — Standalone CLI

npm install -g sonarqube-mcp-server

export SONAR_MCP_BASE_URL="https://sonarcloud.io"
export SONAR_MCP_TOKEN="squ_your_token"
sonarqube-mcp-server

→ [Server docs](packages/sonarqube-server/README.md)

Option 3 — MCP Client Config (Claude Desktop, Cursor, etc.)

{
  "mcpServers": {
    "sonarqube": {
      "command": "npx",
      "args": ["sonarqube-mcp-server"],
      "env": {
        "SONAR_MCP_BASE_URL": "https://sonarcloud.io",
        "SONAR_MCP_TOKEN": "squ_your_token"
      }
    }
  }
}

📄 License

[MIT](LICENSE) © bhayanak

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.