MCP server
SonarQube MCP Server
io.github.SonarSource/sonarqube-mcp-server
Checked 26 Oct 2026, 08:31 UTC · Checked against OSV.dev for malware and vulnerabilities; never run by us
Analyze code quality and security with SonarQube Server or Cloud directly in AI assistants.
At a glance
- Type
- MCP server
- Publisher
- Not verified
- Status
- Runs on your computer
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code
- Last checked
- 26 Oct 2026, 08:31 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. It then runs the package on your computer with your permissions. For other apps, copy the setup below.
Claude Code
claude mcp add sonarqube-mcp-server --env SONARQUBE_TOKEN=YOUR_VALUE -- docker run -i --rm -e SONARQUBE_TOKEN docker.io/sonarsource/sonarqube-mcp
Claude Desktop
{"mcpServers":{"sonarqube-mcp-server":{"command":"docker","args":["run","-i","--rm","-e","SONARQUBE_TOKEN","docker.io/sonarsource/sonarqube-mcp"],"env":{"SONARQUBE_TOKEN":"YOUR_VALUE"}}}}
Codex (config.toml)
[mcp_servers.sonarqube-mcp-server]
command = "docker"
args = ["run","-i","--rm","-e","SONARQUBE_TOKEN","docker.io/sonarsource/sonarqube-mcp"]
env = { SONARQUBE_TOKEN = "YOUR_VALUE" }
Gemini CLI
{"mcpServers":{"sonarqube-mcp-server":{"command":"docker","args":["run","-i","--rm","-e","SONARQUBE_TOKEN","docker.io/sonarsource/sonarqube-mcp"],"env":{"SONARQUBE_TOKEN":"YOUR_VALUE"}}}}
Cursor
{"mcpServers":{"sonarqube-mcp-server":{"command":"docker","args":["run","-i","--rm","-e","SONARQUBE_TOKEN","docker.io/sonarsource/sonarqube-mcp"],"env":{"SONARQUBE_TOKEN":"YOUR_VALUE"}}}}
VS Code
{"servers":{"sonarqube-mcp-server":{"type":"stdio","command":"docker","args":["run","-i","--rm","-e","SONARQUBE_TOKEN","docker.io/sonarsource/sonarqube-mcp"],"env":{"SONARQUBE_TOKEN":"YOUR_VALUE"}}}}
Runs on your computer with your permissions: check the package and its source before installing. Replace YOUR_VALUE with your own SONARQUBE_TOKEN.
Browse
Related MCP servers
- HefestoAI
HefestoAI checks AI-generated code before you ship it. - searchcode
Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository. - Zero Core Tools
Web scraping, code review, content gen, sentiment. Zero Core Tools. - Webanalyzer
Free website analyzer: score any public URL 0-100 across 8 quality dimensions. No auth. - Android Security Analyzer
MCP server for static security analysis of Android source code - IMPOCOR-AI Nexus
Agent-native security, trust, reliability, data and procurement tools for AI workflows. - Python Code Reviewer
Security + bug + perf + refactor audit for Python. Returns 0-10 score + MD report. - Cloud Api Hub Youtube Downloader
Cloud Api Hub - Youtube Downloader: Get Youtube video info and download links to MP4 or MP3 file.
Badge for your README
[](https://aptlynx.net/servers/io.github.SonarSource/sonarqube-mcp-server)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents