SonarQube (Docker) MCP Server
CommunityContributed by SonarSource
Official SonarQube MCP server (Docker) connecting AI agents to SonarQube Cloud and SonarQube Server for code quality and security data. Analyze code snippets, retrieve issues and security hotspots, browse projects, and inspect quality gates.
About the SonarQube (Docker) MCP Server
The SonarQube (Docker) MCP server is a local (stdio) Model Context Protocol server available in the McpMux registry. Official SonarQube MCP server (Docker) connecting AI agents to SonarQube Cloud and SonarQube Server for code quality and security data. Analyze code snippets, retrieve issues and security hotspots, browse projects, and inspect quality gates. This is a community-contributed MCP server by SonarSource.
Install the SonarQube (Docker) MCP server with one click using McpMux. It works with Cursor, Claude Desktop, Claude Code, VS Code, ChatGPT, Windsurf, JetBrains, and any MCP-compatible AI client. This server requires an API key — McpMux securely stores your credentials with AES-256-GCM encryption.
Transport Configuration
{
"type": "stdio",
"command": "docker",
"args": [
"run",
"--init",
"--pull=always",
"-i",
"--rm",
"-e",
"SONARQUBE_TOKEN",
"-e",
"SONARQUBE_ORG",
"-e",
"SONARQUBE_URL",
"sonarsource/sonarqube-mcp"
],
"env": {
"SONARQUBE_TOKEN": "${input:SONARQUBE_TOKEN}",
"SONARQUBE_ORG": "${input:SONARQUBE_ORG}",
"SONARQUBE_URL": "${input:SONARQUBE_URL}"
},
"metadata": {
"inputs": [
{
"id": "SONARQUBE_TOKEN",
"label": "SonarQube Token",
"description": "Required. Your SonarQube Cloud token, or a SonarQube Server USER token for self-hosted instances. Used to authenticate all requests.",
"type": "text",
"required": true,
"secret": true,
"placeholder": "squ_********************************",
"obtain": {
"url": "https://docs.sonarsource.com/sonarqube-cloud/managing-your-account/managing-tokens/",
"instructions": "SonarQube Cloud: open your account > Security and generate a token at https://sonarcloud.io/account/security/.\nSonarQube Server (self-hosted): open My Account > Security and generate a USER token.\nCopy the token and paste it here.",
"button_label": "Create Token"
}
},
{
"id": "SONARQUBE_ORG",
"label": "SonarQube Cloud Organization Key",
"description": "Required for SonarQube Cloud / SonarCloud only. Your organization key (leave empty for self-hosted SonarQube Server, where you set the Server URL instead).",
"type": "text",
"required": false,
"secret": false,
"placeholder": "my-organization"
},
{
"id": "SONARQUBE_URL",
"label": "SonarQube Server URL",
"description": "Required for self-hosted SonarQube Server (your instance URL, e.g. https://sonarqube.example.com). For SonarQube Cloud leave empty to use https://sonarcloud.io, or set https://sonarqube.us for SonarQube Cloud US.",
"type": "url",
"required": false,
"secret": false,
"placeholder": "https://sonarqube.example.com"
}
]
}
}Categories
Tags
Supported AI Clients
The SonarQube (Docker) MCP server works with all MCP-compatible AI clients through McpMux:
Related MCP Servers
GitHub (Docker)
Interact with GitHub repositories, issues, pull requests, and code security via Docker container. Supports both github.com and GitHub Enterprise instances. Requires Docker installed.
GitHub (Remote PAT)
Interact with GitHub repositories, issues, pull requests, actions, and code security through GitHub's hosted remote MCP server. Authenticates with a Personal Access Token.
Atlassian (Jira & Confluence)
Interact with Jira issues, Confluence pages, and Compass components through Atlassian's official remote MCP server.
Figma
Generate code from Figma designs, extract design context, variables, and components through Figma's official hosted MCP server. Supports Code Connect for design system consistency, FigJam content, and browser-to-Figma live capture.
Figma (npx)
Read and inspect Figma designs, components, and styles. Extract layout details, design tokens, and asset metadata from any Figma file. Translates auto-layout to CSS flexbox. Supports image downloads.
GitLab
GitLab's built-in MCP server for managing issues, merge requests, pipelines, and semantic code search. Requires GitLab 18.6+ with Duo enabled. Connects directly to any GitLab instance via OAuth.
Install SonarQube (Docker) with McpMux
One-click install from the McpMux desktop app. Auto-configures for Cursor, Claude, VS Code, ChatGPT, Windsurf, JetBrains, and any MCP-compatible client.