Ai Quality Gate
@mustafacagri
关于 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
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"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": []
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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
开发工具 分类下的更多 MCP 服务器
mcp-excalidraw
yctimlinMCP server and Claude Code skill for Excalidraw — programmatic canvas toolkit to create, edit, and export diagrams via AI agents with real-time canvas sync.
Serena
oraiosA powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent
Smithery CLI
smithery-aiInstall, manage and develop MCP servers and skills for agents
Grafana MCP server
grafanaMCP server for Grafana
MCP Unity Editor (Game Engine)
CoderGamesterModel Context Protocol (MCP) plugin to connect with Unity Editor — designed for Cursor, Claude Code, Codex, Windsurf and other IDEs
评论