Connect SonarQube MCP to your AI agents, securely.
One secured endpoint for every SonarQube call your AI agents make, scoped per user, inspected, and logged.Try SonarQube MCP now
What your agents can ask once SonarQube MCP is connected.
Select the tools your AI agents can call
38 tools from the SonarQube MCP schema.
Showing 38 tools
What SonarQube MCP exposes
SonarQube MCP groups its 38 tools into 10 categories, each with a suggested starting policy.
All 38 tools as JSON, ready to paste.
| Category | Covers | Access | Suggested policy |
|---|---|---|---|
| Analysis | Analysing a code snippet or file with SonarQube analyzers in the agent context | Read / Write | Snippets are sent to the analyzers; avoid pasting secrets |
| Issues | Issue search across projects, details, status transitions and assignment | Read / Write | Audit status transitions; they close findings |
| Quality Gates | Quality gate status for a project, branch or pull request, and gate definitions | Read | Safe to poll from pipelines |
| Security Hotspots | Hotspot search, details and status review | Read / Write | Hotspot review is a security judgement; keep a human in the loop |
| Coverage & Measures | Component measures, available metrics, under-covered files and line-by-line coverage | Read | Allow read-only reporting |
| Projects | Project search, branches and pull requests available for analysis | Read | Limit to the projects in scope |
| Rules & Dependencies | Rule definitions, duplications and SCA dependency risks | Read | Allow read-only lookups |
| Organizations & Webhooks | Listing organizations, enterprises and portfolios, and listing and creating webhooks | Read / Write | Webhook creation needs Administer permission; review target URLs |
| Agentic Readiness | Starting, listing and reading agentic readiness assessments for a project | Read / Write | Low risk; assessments run on SonarQube |
| System | SonarQube Server health, status, ping, system information, logs and supported languages | Read | System info and logs need admin rights; limit to operators |
Connect SonarQube MCP to your AI agent
Four steps, under ten minutes.
- 01
Sign in to NeuralTrust
Open the NeuralTrust platform, sign in and go to Getting started, then Connect your tools.
- 02
Choose your agent
When asked which agent you use, pick Claude Code, Codex, Cursor, Windsurf, Copilot or your own code.
- 03
Connect SonarQube
Find SonarQube in the tool list and connect it.
- 04
Connect your agent
Follow the steps on screen to add the config to your agent, then send the test prompt.
Permissions down to the single tool
You do not allow SonarQube MCP or block it. You allow the exact tools each agent can call, one by one.
| SonarQube MCP | 38 TOOLS AVAILABLE |
|---|---|
| Code review agent | 4 tools, read only |
| Issue triage bot | 9 tools |
| Platform team assistant | all 38 tools |
- Tool by toolConnecting the server is not the unit of access. Each tool is granted on its own.
- Default denyA tool you have not enabled is never exposed to the agent.
- Approval on writesTools that change or delete things can require a human to confirm.
Is SonarQube MCP secure?
One endpoint instead of raw credentials. Every call is checked against policy and logged.
| AI agentsConnect through your MCP client configuration. | NeuralTrustApply controls based on your configuration. | SonarQube MCP38 documented tools. |
|---|---|---|
| Coding assistants | Connection & credentialsper user | System6 tools |
| Internal copilots | Tool access policiesdeny by default | Analysis5 tools |
| Workflow automations | Request & response inspectioninline | Organizations & Webhooks5 tools |
| Compatible MCP clients | Activity monitoringalerts and logs | All other tools22 tools |
Use SonarQube MCP with any AI agent framework
Setup guides for the tools your team already uses.
Claude CodeAdd SonarQube MCP to Claude Code from the terminal
CursorUse SonarQube MCP tools inside Cursor's agent
CodexConnect SonarQube MCP to the OpenAI Codex CLI
WindsurfGive Windsurf's Cascade access to SonarQube MCP
Gemini CLICall SonarQube MCP from Gemini CLI prompts
Google AntigravityLet Antigravity agents work with SonarQube MCP
GitHub CopilotUse SonarQube MCP in Copilot agent mode
Claude EnterpriseRoll out SonarQube MCP across your Claude workspace
Microsoft Copilot StudioAdd SonarQube MCP as a tool for Copilot Studio agents
Open WebUIBring SonarQube MCP tools into Open WebUI chats
LangChainLoad SonarQube MCP tools into LangChain agents
HaystackPlug SonarQube MCP into Haystack agent pipelines
Strands AgentsGive Strands agents SonarQube MCP tools
Vercel AI SDKCall SonarQube MCP from Vercel AI SDK apps
n8nUse SonarQube MCP in n8n AI agent workflows
Common questions about running SonarQube MCP through TrustGate.
Other MCP servers
More servers from the catalog.
GitHub
Securely connect your AI agents to GitHub through TrustGate: repositories, issues, pull requests, Actions, and 92 more tools, scoped per agent and logged.
96 toolsViewGitLab
Securely connect your AI agents to GitLab through TrustGate: projects, repositories, merge requests, work items, pipelines and vulnerabilities, scoped per agent and logged.
46 toolsViewSentry
Securely connect your AI agents to Sentry through TrustGate: issues, events, stack traces, releases, Seer root cause analysis and project management, scoped per agent and logged.
76 toolsViewAzure DevOps
Securely connect your AI agents to Azure DevOps through TrustGate: work items, repos, pull requests, pipelines, wikis, test plans and Advanced Security, scoped per agent and logged.
44 toolsView
Connect SonarQube MCP instantly
Pick the tools, point your agent at TrustGate, and SonarQube MCP is live: scoped, inspected, logged.