SonarQube MCP server
Median of the security servers in the category that have the measure (85 for GitHub stars, 21 for Tools listed).
Source: Best MCP Servers data, December 2026
docker run -i --rm -e SONARQUBE_TOKEN -e SONARQUBE_ORG -e SONARQUBE_URL docker.io/sonarsource/sonarqube-mcp As published in the official MCP Registry; needs SONARQUBE_TOKEN, SONARQUBE_ORG, SONARQUBE_URL set in your client config. Read the README before running it. Build a client config
What the maintainers say it does
Analyze code quality and security with SonarQube Server or Cloud directly in AI assistants.
Client setup in the README
Whether the README mentions setup for each client. A missing mention does not mean it fails there: most stdio servers run in any client that supports stdio.
| Client | README | List |
|---|---|---|
| Claude Code | Mentions setup | Best for Claude Code |
| Cursor | Mentions setup | Best for Cursor |
| Claude Desktop | Not mentioned | Best for Claude Desktop |
| VS Code | Mentions setup | Best for VS Code |
| Windsurf | Mentions setup | Best for Windsurf |
| Codex | Mentions setup | |
| Gemini CLI | Mentions setup | |
| ChatGPT | Not mentioned |
Tools listed (50)
Tool names as the README lists them.Source: raw.githubusercontent.com
- analyze_code_snippet
- analyze_file_list
- toggle_automatic_analysis
- run_advanced_code_analysis
- search_files_by_coverage
- get_file_coverage_details
- search_dependency_risks
- list_enterprises
- change_sonar_issue_status
- search_sonar_issues_in_projects
- search_security_hotspots
- show_security_hotspot
- change_security_hotspot_status
- list_languages
- get_component_measures
- search_metrics
- list_portfolios
- list_organizations
- search_my_sonarqube_projects
- list_branches
- list_pull_requests
- get_project_quality_gate_status
- list_quality_gates
- show_rule
- search_duplicated_files
- get_duplications
- get_raw_source
- get_scm_info
- get_system_health
- get_system_info
- get_system_logs
- ping_system
- get_system_status
- create_webhook
- list_webhooks
- search_by_signature_patterns
- search_by_body_patterns
- get_upstream_call_flow
- get_downstream_call_flow
- get_source_code
- get_type_hierarchy
- get_references
- get_current_architecture
- get_intended_architecture
- get_guidelines
- check_dependency
- start_agentic_readiness_assessment
- get_agentic_readiness_assessment
- list_agentic_readiness_assessments
- architecture_get
Facts and their sources
- Transport
- stdioSource: registry.modelcontextprotocol.io
- Authentication
- API key, OAuth (mentioned in the docs)Source: registry.modelcontextprotocol.io
- Maintainer
- SonarSource · Official: Published by the company or project whose product it connects to (GitHub owner matches its domain or registry namespace).
- Licence
- Not stated
- Language
- Java
- Repository created
- 2025-04-30
- Open issues
- 8
No verified reviews yet. Write a review · How reviews are verified
Is this your company? Claim it
Questions about this server
How do I add SonarQube MCP Server to my client?
Use the install line on this page when the registry entry gives one, or open the config generator to build a claude_desktop_config.json, .mcp.json, Cursor or VS Code file with placeholders for any secrets.
Is SonarQube MCP Server official?
The maintainer tag compares the GitHub owner with the product’s domain and the registry namespace. Official means they match; it is a rule, not a statement from the vendor.