A local MCP server providing read-only access to a SonarQube Community Build (26.4+) instance via its web-api. It lets AI agents (Claude Code, Cursor, VS Code Copilot, etc.) fetch a project's issue…
sonar-mcp-server is an MCP project maintained in the igorolv/sonar-mcp-server repository. The maintainer describes its purpose as “A local MCP server providing read-only access to a SonarQube Community Build (26.4+) instance via its web-api. It lets AI agents (Claude Code, Cursor, VS…”. Read the project documentation for the complete scope.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| listProjects | List of SonarQube projects. Parameters: query (name substring), limit, offset. Returns key, name, qualifier. |
| listComponents | Search/browse components inside a project using Sonar's component tree. Parameters: projectKey, query, qualifiers, branch / pullRequest, limit, offset. Returns |
| getProject | Project overview: header info (name, qualifier, visibility, description, version, last analysis date), quality gate status with failed conditions, and… |
| listProjectBranches | List of branches analysed for the project. Each entry: name, isMain, type (LONG/SHORT/BRANCH), excludedFromPurge, analysisDate, qualityGateStatus, plus… |
| listProjectPullRequests | List of PR analyses for the project. Each entry: PR key (use as pullRequest= elsewhere), title, branch (head), base, url, analysisDate, qualityGateStatus, plus |
| listIssues | Flat list of issues for a project. Parameters: projectKey (required unless defaulted), componentPathPrefix (opt.) — a single subtree-or-file filter relative to |
| getIssue | Details of a single issue by key plus its change history (changelog). Accepts optional branch / pullRequest. |
| getIssueSnippets | Source-code snippets around all issue locations (primary plus flows for cross-file rules). For each location: componentPath, language, and an array of source… |
| getProjectIssuesSummary | Aggregated summary of open issues in a project: total plus breakdowns by severity, type, status, rule, tag, and SCM author. Parameters mirror listIssues (incl. |
| getProjectIssuesBreakdown | Multi-module aggregation of issues by logical module and rule. Module is derived from the first componentPath segment. Parameters mirror… |
| getRule | Details of a Sonar rule by key (e.g. java:S1234): title, severity, type, language, tags, description sections (introduction, root cause, how to fix… |
| listHotspots | List of Security Hotspots for a project. Hotspots are a separate category from issues, marking spots that require manual security review. By default Sonar… |
| getHotspot | Security Hotspot details: full rule description (risk, vulnerability, fix recommendations), primary textRange, secondary flows, changelog. Hotspot keys are… |
| Variable | Tools in the group |
| SONAR_MCP_TOOLS_ISSUE | listIssues, getIssue, getIssueSnippets, getProjectIssuesSummary, getProjectIssuesBreakdown |
| SONAR_MCP_TOOLS_PROJECT | listProjects, listComponents, getProject, listProjectBranches, listProjectPullRequests |
| SONAR_MCP_TOOLS_HOTSPOT | listHotspots, getHotspot |
| SONAR_MCP_TOOLS_RULE | getRule |
Read, search and edit files inside allowed directories with the Model Context Protocol reference Filesystem server.
Retrieve version-aware library documentation and code examples with Context7 MCP, using resolve-library-id and query-docs.
Use Microsoft’s Playwright MCP server to navigate pages, inspect accessibility snapshots, fill forms and capture browser screenshots.
Connect GitHub MCP to repositories, issues and pull requests with GitHub’s hosted service or a locally run server.
Use the Supabase MCP server to inspect database schemas, query project data and retrieve docs through a project-scoped connection.
Search Linear issues and projects, inspect work context and manage updates through Linear’s hosted MCP server with OAuth.