Sonar mcp dosnet start correctly with cursor

Im trying to integrate cursor (version 2)
but after im adding all the relevant info its seems the mcp server dosent start correctly

docker images starts correctly with no issues

image

Hi @Ofir_Rosner,

When I install the SonarQube MCP Server, I see the following in my logs:

2025-11-10 13:26:12.431 [info] Found 18 tools, 0 prompts, and 0 resources

Could you check what your logs show at this step?

Also, can you please share the contents of your mcp.json configuration file? Comparing configurations might help us identify if there are any differences causing discrepancies.

This is mine, for what it’s worth:

{
  "mcpServers": {
    "SonarQube": {
      "command": "docker run -i --rm -e SONARQUBE_TOKEN -e SONARQUBE_ORG mcp/sonarqube",
      "env": {
        "SONARQUBE_TOKEN": "mytoken",
        "SONARQUBE_ORG": "myorgkey"
      },
      "args": []
    }
  }
}

Thanks!

logs from server.

and mcp.json

How about the logs in Cursor, as shown here?

found the problem

tried to rename it(including the command itself) create new but nothing

i dont know what changed, but after soo many renaming now its working for some reason

1 Like