Ai Quality Gate MCP Server
@mustafacagri
基本信息
关于 Ai Quality Gate MCP Server
🚀 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
Ai Quality Gate MCP Server 配置
使用下面的配置,将此服务器添加到你的 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": []
}
}
}Ai Quality Gate MCP Server 工具
1Run quality checks on code files and auto-fix deterministic issues. Phase 1 (Local, ~2-3s): TypeScript + ESLint + SonarJS (~60 rules) + AST fixers Phase 2 (Server, optional): Deep SonarQube analysis (only if configured) 🎯 Phase 1 is comprehensive - most users won't need Phase 2! Auto-fixes (ESLint + AST): - Curly braces on single-statement if (AST) - Single-expression arrow bodies where safe (AST) Code Quality Limits: - File: max 400 lines - Function: max 50 lines, max 5 params, max 4 depth, max 20 statements - Complexity: Cognitive max 15, Cyclomatic max 10 - Security: no-eval, no-new-func, no-implied-eval - Best Practices: eqeqeq, no-throw-literal, prefer-promise-reject-errors
概览
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 服务器

Foremerge
naw103Catch intent conflicts before code conflicts. The open-source coordination protocol for coding agents, built above Git.
Vibgrate MCP
VibgrateQuery your team's drift, vulnerability, and migration data from any AI assistant. Vibgrate MCP connects Cursor, Claude, ChatGPT, Windsurf, or VS Code to Vibgrate Cloud: 51 tools for DriftScores, CVEs and EOL runtimes, up

elmah.io MCP
elmah.ioThe elmah.io MCP server allows AI assistants to interact directly with your error logs, deployments, and organization statistics. Debug production issues faster than ever before.
Capgo MCP
Cap-goConsole, Backend and CLI to manage Capgo Instant update and Native build for Capacitor apps Build and upload to app store your mobile app

NextBlock CMS
NextBlockOpen-source Next.js + Supabase CMS with a per-site MCP server: scaffold a site, then create pages, posts, navigation, media and SEO from Claude, Cursor or any MCP client. Streamable HTTP with a bearer token you mint in y
评论