–Update –
- Able to run the mcp/sonarqube image on Azure Container App
- Able to test from Postman MCP Client - it works, lists all tools
- However, unable to add this as a tool in Microsoft Foundry Agent- below is the error in container
2026-01-20T10:39:52.1865016Z stderr F WARN SonarQube MCP Server - Missing or empty SonarQube token from 100.100.0.81
2026-01-20T10:39:52.7320179Z stderr F WARN SonarQube MCP Server - Missing or empty SonarQube token from 100.100.0.95
Issue: Foundry does not provision to send SONARQUBE_TOKEN header. But, why is the MCP server not taking this value from Env? Token is already set in Environment while running MCP image. Will this MCP not work with MS Foundry agents then?
Note: Postman MCP Client allows to set this header hence works fine.