Wraps ESLint (627 rules across SonarJS, Unicorn, TypeScript-ESLint and others), Prettier, and optionally SonarQube into a single quality_fix tool that AI can call after writing code. Phase 1 runs linting and formatting in 2-8 seconds, auto-fixing what it can and reporting the rest. Phase 2 triggers SonarQube scans for deeper analysis if you've configured a server. Project root is auto-detected by walking up to package.json or tsconfig.json. Install via npx or globally, drop the config block into your MCP settings, then add a rule telling your AI to call quality_fix before marking work complete. The interactive setup wizard creates .quality-gate.yaml without hand-editing JSON.
claude mcp add --transport stdio mustafacagri-ai-quality-gate uvx ai-quality-gate