CI/CD and testing - official SonarSource server
SonarQube MCP server
Connects AI coding agents to SonarQube Server or SonarQube Cloud code quality and security data: issues, quality gates, security hotspots, coverage, measures, dependency risks and code snippet analysis. Runs locally as a container or JAR (stdio or Streamable HTTP), or as a hosted server embedded in SonarQube Cloud. SonarSource hosts it at https://api.sonarcloud.io/mcp, or you can run docker.io/sonarsource/sonarqube-mcp (oci) locally with OAuth or API key auth.
Last verified 15 tools8 sources
Install
Claude Code
About Claude Codeclaude mcp add sonarqube \
--env SONARQUBE_TOKEN=$SONAR_TOKEN \
--env SONARQUBE_ORG=$SONAR_ORG \
-- docker run --init --pull=always -i --rm -e SONARQUBE_TOKEN -e SONARQUBE_ORG sonarsource/sonarqube-mcpCodex
About Codex[mcp_servers.sonarqube]
command = "docker"
args = ["run", "--init", "--pull=always", "--rm", "-i", "-e", "SONARQUBE_TOKEN", "-e", "SONARQUBE_ORG", "sonarsource/sonarqube-mcp"]
env = { "SONARQUBE_TOKEN" = "<YOUR_USER_TOKEN>", "SONARQUBE_ORG" = "<YOUR_ORG>" }Generic
"sonarqube": {
"type": "http",
"url": "https://api.sonarcloud.io/mcp",
"headers": {
"Authorization": "Bearer <YourSonarQubeUserToken>",
"SONARQUBE_ORG": "<YourSonarQubeOrganization>"
// "SONARQUBE_READ_ONLY": "false" // Default value is true.
// "SONARQUBE_TOOLSETS": "<YourOptionalToolset>" // Using this optional header refines the default toolsets.
}
}Tools
analyze_code_snippet- Analyze file content with SonarQube analyzers to identify code quality and security issues (deprecated, to be removed).
analyze_file_list- Analyze files in the current working directory using a running SonarQube for IDE instance.
run_advanced_code_analysis- Run Vortex analysis on a single file (requires workspace mount and Vortex entitlement).
search_sonar_issues_in_projects- Search for SonarQube issues in my organization's projects.
change_sonar_issue_status- Change the status of a SonarQube issue to accept, falsepositive or reopen.
search_security_hotspots- Search for Security Hotspots in a SonarQube project.
change_security_hotspot_status- Review a Security Hotspot by changing its status.
get_project_quality_gate_status- Get the Quality Gate Status for the SonarQube project.
search_files_by_coverage- Search for files in a project sorted by coverage, worst coverage first.
get_file_coverage_details- Get line-by-line coverage information for a specific file.
search_dependency_risks- Search for software composition analysis issues (dependency risks) of a SonarQube project.
get_component_measures- Get SonarQube measures for a component (project, directory, file).
search_my_sonarqube_projects- Find SonarQube projects.
show_rule- Shows detailed information about a SonarQube rule.
search_duplicated_files- Search for files with code duplications in a SonarQube project.
As documented on October 31, 2026. A running server reports its current list through tools/list.
Notes and caveats
- Source-available (SSAL), not OSI open source.
- The hosted remote URL https://api.sonarcloud.io/mcp is for SonarQube Cloud (EU region); US-region organizations use https://api.sonarqube.us/mcp.
- The hosted Cloud service accepts OAuth sign-in alongside SonarQube user tokens; self-hosted deployments use tokens only.
- The Cloud-hosted server exposes a smaller fixed subset of tools, is read-only by default, and has no Sonar Vortex or SonarQube for IDE bridge tools.
- A SonarQube Server-hosted option exists for SonarQube Server 2026.3+ (Developer, Enterprise, Data Center editions), installed as an extension by an admin.
- Vortex tools need a Sonar Vortex subscription.
- Dependency risk tools need SonarQube Server 2025.4 Enterprise+ with Advanced Security.
- The Claude Code and Codex snippets are the SonarQube Cloud variants; the README also gives SonarQube Server variants that use SONARQUBE_URL.
- Cursor and VS Code installs are documented only as deeplink buttons, and the VS Code buttons reference the mcp/sonarqube image.
- Telemetry is on by default (TELEMETRY_DISABLED=true turns it off).
- Latest release 1.30.0.4763 (2026-10-23).
More MCP servers for CI/CD and testing
- BrowserStack
BrowserStack MCP server
Connects AI agents to the BrowserStack testing platform to run manual and automated tests on real devices and browsers, debug failures, run accessibility scans, manage test cases and load tests, and use BrowserStack AI agents. Available as a hosted remote server (OAuth) or a local npm server (username and access key).
Transport: Streamable HTTP, stdioAuth: OAuth or API key - BuildkiteStatus: GA
Buildkite MCP server
Open source MCP server, offered as a Buildkite-hosted remote endpoint or a local binary/container, that exposes Buildkite Pipelines and Test Engine data so an agent can inspect pipelines, builds, jobs, logs, artifacts and tests and, with write access, trigger, retry or unblock builds.
Transport: Streamable HTTP, stdio, SSEAuth: OAuth or API key - CircleCIStatus: GA
CircleCI hosted MCP server
Hosted MCP server run by CircleCI that lets an agent list and inspect CI runs, workflows and jobs, read job logs and test results, rerun or cancel workflows, and export usage data.
Transport: Streamable HTTPAuth: OAuth or API key - JamStatus: GA
Jam MCP server
Hosted MCP server that lets AI coding tools open a Jam bug recording and load its context (video frames, transcript, user events, console logs, network requests, metadata). It also exposes tools to search Jams, comment, organize folders, and manage recording links.
Transport: Streamable HTTPAuth: OAuth or API key - JetBrainsStatus: GA
TeamCity MCP server
MCP endpoint exposed by TeamCity servers that lets AI agents read build logs, query the TeamCity REST API, queue builds and create, edit or delete pipelines and build configurations, with a safe mode that restricts the editing tools.
Transport: Streamable HTTPAuth: OAuth or API key - LambdaTest (TestMu AI)
TestMu AI MCP server
A hosted remote MCP server that connects AI clients to the TestMu AI (formerly LambdaTest) platform for HyperExecute test orchestration, automation failure triage, native mobile app test triage, SmartUI visual regression analysis, accessibility audits and test management.
Transport: Streamable HTTPAuth: OAuth
Related reading
- Claude Code MCP Tasks: Long-Running Tools That Ask You ThingsClaude Code supports MCP Tasks and elicitations. What a tool call needs to become a task, what v2.1.319 changed for Bedrock and gateways, and what server authors change.
- Claude Security Continuous Scanning: Fix Tracking, API and MCPClaude Security now rescans repos as commits land, marks findings fixed when the fix ships, and adds an API, MCP connector and webhooks. Setup, limits and cost.
- MCP Client Features: Sampling, Elicitation and Roots ExplainedMCP sampling, elicitation and roots explained against the 2026-07-28 spec, with JSON-RPC examples and which of 24 clients support each one.
- REA vs leanrea: Skill or MCP for Reverse Engineering Agents?leanrea is an 8 KB skill pitched as a replacement for the REA (Reverse Engineer Anything) MCP server. What its benchmark shows, what it skips, and which to install.
- How to Publish a Plugin to the Claude Directory (Developer Portal Guide)Submit a plugin to the Claude directory: validate it, clear the security scan, publish, and read 90 days of usage analytics. Needs a paid plan.
- ChatGPT Plugin Extensions: Sidebar Apps, Panels and File EditorsChatGPT plugins can now add sidebar apps, side panels, file editors and native forms. How openai/ui entrypoints work, with type-checked code.
FAQ
What does the SonarQube MCP server do?
Connects AI coding agents to SonarQube Server or SonarQube Cloud code quality and security data: issues, quality gates, security hotspots, coverage, measures, dependency risks and code snippet analysis. Runs locally as a container or JAR (stdio or Streamable HTTP), or as a hosted server embedded in SonarQube Cloud. The vendor documents 15 tools, including analyze_code_snippet, analyze_file_list, run_advanced_code_analysis and search_sonar_issues_in_projects.
How do I add the SonarQube MCP server to Claude Code?
SonarSource documents a Claude Code config; copy it from the Claude Code section of this page. Snippets for Codex and Generic are there too.
Does the SonarQube MCP server need authentication?
Yes, OAuth or API key. Transport: stdio, Streamable HTTP. Status: Unlabelled, last checked October 31, 2026.
Sources
Last verified against 8 SonarSource pages, then re-checked independently.
- github.comhttps://github.com/SonarSource/sonarqube-mcp-server
- raw.githubusercontent.comhttps://raw.githubusercontent.com/SonarSource/sonarqube-mcp-server/HEAD/README.md
- raw.githubusercontent.comhttps://raw.githubusercontent.com/SonarSource/sonarqube-mcp-server/HEAD/LICENSE
- github.comhttps://github.com/SonarSource/sonarqube-mcp-server/releases
- docs.sonarsource.comhttps://docs.sonarsource.com/sonarqube-mcp-server
- docs.sonarsource.comhttps://docs.sonarsource.com/sonarqube-mcp-server/about-the-mcp-server
- docs.sonarsource.comhttps://docs.sonarsource.com/sonarqube-mcp-server/setup
- docs.sonarsource.comhttps://docs.sonarsource.com/sonarqube-mcp-server/setup/sonarqube-cloud-hosted.md
Newsletter
New MCP servers, the week they ship
One email per week. New official MCP servers, the coding tools that support them and how developers wire them up.