A side-by-side look at the Hub MCP and Sonarqube MCP Server MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose Hub MCP for developer tools work over a hosted endpoint; choose Sonarqube MCP Server for developer tools over a hosted endpoint. You can also run both side by side in one mcpServers block.
HUB_PAT_TOKEN, MCP_AUTH_TOKEN.search, query, architectures.SONARQUBE_TOKEN, SONARQUBE_ORG, SONARQUBE_URL, SONARQUBE_PROJECT_KEY.analyze_code_snippet, projectKey, filePath.Rows where the two servers differ are marked.
| Spec | ||
|---|---|---|
| Category | Developer Tools | Developer Tools |
| Quality signal | 77/100 · Great | 61/100 · Good |
| Install command | Confirmed | Confirmed |
| Transport | Remote HTTP/SSE | Remote HTTP/SSE |
| Auth | API key required | API key required |
| Pricing | Free | Not declared |
| Required env vars | HUB_PAT_TOKENMCP_AUTH_TOKEN | SONARQUBE_TOKENSONARQUBE_ORGSONARQUBE_URLSONARQUBE_PROJECT_KEY |
| Verified owner | Verified | Community listing |
| GitHub stars | 169 | 665 |
| Directory activity | 41 views 0 installs 0 upvotes | 2 views 0 installs 0 upvotes |
| Tools | 35 | 80 |
| Full listing | View Hub MCP | View Sonarqube MCP Server |
searchSearch repositories and content using Search V4 APIquerySearch query parameter (string, required)architecturesFilter on architectures (string, optional)badgesFilter by image content type badges (string, optional)categoriesFilter on categories (string, optional)extension_reviewedFilter on reviewed extensions (boolean, optional)fromNumber of documents to skip for pagination (number, optional)imagesFilter on image names (string, optional)operating_systemsFilter on operating systems (string, optional)orderChange the ordering of results (string, optional)sizeMaximum number of results to return (number, optional)sortSort results by search field (string, optional)analyze_code_snippetAnalyze file content with SonarQube analyzers to identify code quality and security issues. Always analyzes the complete file content for accuracy. Optionally filter results to a specific code snippet.projectKeyThe SonarQube project key - _Required String_ _(Ignored when `SONARQUBE_PROJECT_KEY` is defined)_filePathProject-relative path of the file to analyze (e.g., `src/main/java/MyClass.java`). Used when the workspace is mounted at `/app/mcp-workspace` - _String_fileContentComplete file content as a string. Required when workspace is not mounted - _String_codeSnippetCode snippet to filter issues (must match content in fileContent) - _String_languageLanguage of the code (e.g., 'java', 'python', 'js', 'ts', 'tsx', 'jsx') - _String_scopeScope of the file: MAIN or TEST (default: MAIN) - _String_analyze_file_listAnalyze files in the current working directory using SonarQube for IDE. This tool connects to a running SonarQube for IDE instance to perform code quality analysis on a list of files.file_absolute_pathsList of absolute file paths to analyze - _Required String[]_toggle_automatic_analysisEnable or disable SonarQube for IDE automatic analysis. When enabled, SonarQube for IDE will automatically analyze files as they are modified in the working directory. When disabled, automatic analysis is turned off.enabledEnable or disable the automatic analysis - _Required Boolean_run_advanced_code_analysisRun Vortex analysis on a single file. On Cloud, use the optional `organization` argument when no organization is fixed by `SONARQUBE_ORG`; use `list_organizations` if ambiguous. SonarQube Server uses the nil UUID placeholder.Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.
{
"mcpServers": {
"docker-hub-mcp": {
"url": "https://docs.docker.com/ai/gordon/mcp/yaml/"
}
}
}
{
"mcpServers": {
"sonarqube-mcp-server": {
"url": "https://your-server:8443/mcp"
}
}
}