SonarSource/sonarqube-mcp-server — reverse-engineered prompt
Reverse engineered prompt
I want an MCP server that lets AI coding tools plug into SonarQube so the agent can check code quality and security issues without leaving the chat. It should work with both SonarQube Cloud and a self hosted SonarQube server, and it should also be able to analyze a pasted code snippet directly in the agent context.
Please make setup feel easy, ideally runnable in Docker and buildable locally too. Use simple environment variables for the SonarQube token, the org key for cloud, and the server URL when needed. Be careful not to hardcode secrets anywhere. I also want clear setup examples for common clients like Cursor, Claude Code, and Codex, plus a simple way to generate or copy a working config.
The finished project should feel production ready, with basic docs, sensible defaults, and enough guidance that a normal developer can connect it and start getting SonarQube feedback right away. If anything is unclear, check the current MCP and SonarQube docs online.
Want more depth? Deep Reverse