Ai Quality Gate
@mustafacagri
About Ai Quality Gate
π Kill the Junior AI Era. π€ Level up your AI code to Principal standards. No more sloppy lines or junior mistakes. Automated ESLint β¨ TypeScript π§ Prettier π¨ SonarQube π‘οΈ Security π Complexity π in seconds. High-stakes quality, forced to ship only the best. β‘π Goodbye, ba
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"ai-quality-gate": {
"command": "npx",
"args": [
"-y",
"ai-quality-gate"
]
},
"ai-quality-gate-custom-root": {
"command": "npx",
"args": [
"-y",
"ai-quality-gate"
],
"env": {
"PROJECT_ROOT": "/path/to/your/project"
}
},
"ai-quality-gate-sonar": {
"command": "npx",
"args": [
"-y",
"ai-quality-gate"
],
"env": {
"PROJECT_ROOT": "/path/to/your/project",
"SONAR_HOST_URL": "http://localhost:9000",
"SONAR_TOKEN": "your_sonar_token",
"SONAR_PROJECT_KEY": "your_project_key"
}
},
"ai-quality-gate-global": {
"command": "ai-quality-gate",
"args": []
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Ai Quality Gate?
Ai Quality Gate is an MCP (Model Context Protocol) server that provides a quality_fix tool for AI-driven code quality automation. It runs a fast Phase 1 (ESLint with 627 bundled rules plus Prettier) and optionally a Phase 2 (SonarQube) to fix issues and report remaining problems. It is designed for MCP-capable editors like Cursor.
How to use Ai Quality Gate?
Install via npx -y ai-quality-gate or globally via npm i -g ai-quality-gate. Configure the server in your editorβs MCP settings (e.g., Cursorβs mcp.json). Add an AI rule that instructs the agent to call the quality_fix tool after every code change. Use the CLI flag --setup to interactively create a .quality-gate.yaml config file.
Key features of Ai Quality Gate
- Hybrid quality gate: fast ESLint/Prettier phase always runs; optional SonarQube phase.
- Bundles 627 static analysis rules from SonarJS, Unicorn, TypeScript-ESLint, and more.
- Auto-fixes ~100+ ESLint issues including unused imports and var-to-const/let.
- Customizable via YAML/JSON config files and environment variables.
- Supports custom regex-based rules for project-specific checks.
- Validates i18n locale JSON files for key consistency.
Use cases of Ai Quality Gate
- Ensure AI-generated code meets project quality standards before reporting completion.
- Automate code review in CI/CD pipelines with optional SonarQube integration.
- Enforce consistent coding style and best practices across a team repository.
- Quickly fix common issues like unused
More Developer Tools MCP servers
MCP Framework
QuantGeekDevThe Typescript MCP Framework
Burp Suite MCP Server Extension
PortSwiggerMCP Server for Burp
MCP-Scan: An MCP Security Scanner
invariantlabs-aiSecurity scanner for AI agents, MCP servers and agent skills.
Serena
oraiosA powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent
Golf
golf-mcpProduction-Ready MCP Server Framework β’ Build, deploy & scale secure AI agent infrastructure β’ Includes Auth, Observability, Debugger, Telemetry & Runtime β’ Run real-world MCPs powering AI Agents
Comments