Client / AI tool using MCP (if applicable): GitHub Copilot
Description
I have MCP SonarQube local server running in Docker. It look like I am getting error Search My SonarQube Projects (MCP: sonarqube)
└ MCP server ‘sonarqube’: An error occurred during the tool execution: Error 400 on https://sonar.inspireclouduat.net/api/components/search?p=1&ps=500&organization=our_org: The ‘qualifiers’ parameter
is missing
How to configure MCP server or Sonar?
Thanks for answer, documentation is where we I started. It seems to me that there is a bug in MCP server as it does not add required attribute ‘qualifiers’
Are you trying to connect to a SonarQube Cloud or Server instance?
On SonarQube Cloud, organization is required but qualifiers does not exist. This is only a requirement for SonarQube Server.
This error would indicate that you are using SonarQube Server, but the organization parameter should not appear in the URI. Could you please clarify the situtation? Perhaps you defined SONARQUBE_ORG in the MCP configuration and that shouldn’t be the case.
If you can share your MCP setup configuration, that would also help (you can hide private information like URL or token).