프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. 리뷰와 계정 기능은 다음 단계에서 열려요.
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

AI Quality Gate

제작자: mustafacagri버전 1.1.0i★ –i내 컴퓨터에서 실행
레지스트리 이름io.github.mustafacagri/ai-quality-gate

설치

개요

제작자가 쓴 설명(영어 원문)

🚀 Kill the Junior AI Era. 🤖 Level up AI code to automatically Principal standards. 🛡️ Quality Gate ✨

PopNx MCP의 세 기둥

이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.

할 수 있는 일

이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.

  • 연결 방식: 내 컴퓨터에서 실행
  • 전송 방식: stdio
  • 카테고리: 개발자 도구
  • 입력해야 할 값: SONAR_TOKEN

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

설치하기 전에

  • 기본 점검: 1개 중 1개 통과
  • 내 컴퓨터에서 내 사용자 계정의 권한(파일, 네트워크, 앱)으로 실행돼요.
  • 직접 입력할 값: PROJECT_ROOT, SONAR_HOST_URL, SONAR_TOKEN, SONAR_PROJECT_KEY, ENABLE_I18N_RULES

비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.

필요한 것

  • npmNode.js 설치(npx 명령어용)

어떤 앱을 쓰세요?

위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.

Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요

{
  "mcpServers": {
    "ai-quality-gate": {
      "command": "npx",
      "args": [
        "-y",
        "ai-quality-gate"
      ],
      "env": {
        "PROJECT_ROOT": "your-value",
        "SONAR_HOST_URL": "your-value",
        "SONAR_TOKEN": "your-value",
        "SONAR_PROJECT_KEY": "your-value",
        "ENABLE_I18N_RULES": "your-value"
      }
    }
  }
}

터미널에서 이 명령어를 실행하세요

claude mcp add ai-quality-gate --env PROJECT_ROOT=your-value --env SONAR_HOST_URL=your-value --env SONAR_TOKEN=your-value --env SONAR_PROJECT_KEY=your-value --env ENABLE_I18N_RULES=your-value -- npx -y ai-quality-gate

실행하기 전에 빈 값을 채워 주세요.

Cursor에서 열기

또는 설정을 직접 복사하기

프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요

{
  "mcpServers": {
    "ai-quality-gate": {
      "command": "npx",
      "args": [
        "-y",
        "ai-quality-gate"
      ],
      "env": {
        "PROJECT_ROOT": "your-value",
        "SONAR_HOST_URL": "your-value",
        "SONAR_TOKEN": "your-value",
        "SONAR_PROJECT_KEY": "your-value",
        "ENABLE_I18N_RULES": "your-value"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

VS Code에서 열기

또는 설정을 직접 복사하기

프로젝트의 .vscode/mcp.json에 붙여 넣으세요

{
  "servers": {
    "ai-quality-gate": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ai-quality-gate"
      ],
      "env": {
        "PROJECT_ROOT": "your-value",
        "SONAR_HOST_URL": "your-value",
        "SONAR_TOKEN": "your-value",
        "SONAR_PROJECT_KEY": "your-value",
        "ENABLE_I18N_RULES": "your-value"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.

선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.

직접 입력할 값

  • PROJECT_ROOT env
    Absolute path to the project root for analysis (auto-detected if omitted)
  • SONAR_HOST_URL env
    SonarQube server base URL (e.g., http://localhost:9000)
  • SONAR_TOKEN 비밀 env
    SonarQube authentication token
  • SONAR_PROJECT_KEY env
    SonarQube project key
  • ENABLE_I18N_RULES env
    Enable stricter JSX literal checks for i18n projects (true/false)

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

할 수 있는 일

내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 9일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 mustafacagri 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • … 아직 점검 안 함

    계속 관리되고 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • … 아직 점검 안 함

    라이선스 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • – 해당 없음

    엔드포인트 응답

    내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요

  • – 해당 없음

    OAuth로 로그인

    내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요

개발자 도구 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 5569개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 5569개 중 50%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 5569개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

AI Quality Gate, 안전한가요?

해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

입력해야 할 값: SONAR_TOKEN

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(1.1.0)은 32일 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: GitHub, Desktop Commander, Cloudflare MCP

대안

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

GitHub

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

제작자: github널리 사용됨★ 3.4만6일 전 업데이트

컴퓨터 또는 클라우드

Desktop Commander

MCP server for terminal commands, file operations, and process management

제작자: wonderwhy-er널리 사용됨↓ 71만/주★ 1만18일 전 업데이트

내 컴퓨터에서 실행

Cloudflare MCP

Cloudflare MCP servers

제작자: cloudflare널리 사용됨★ 4.4천14개월 전 업데이트

클라우드에서 실행✓ mcp.cloudflare.com

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

AI Quality Gate

MCP Server for AI code quality automation.


What It Does

AI writes code → calls quality_fix → Server fixes what it can → Reports remaining issues to AI.

Hybrid Approach:

  • Phase 1: ESLint + 627 rules + Prettier (~2-8s, always runs)
  • Phase 2: SonarQube Server (~30-60s, optional)

Important: ESLint vs Prettier

ToolSourceConfig
ESLintProject's config (if exists) or MCP's embedded.eslintrc.* / eslint.config.* / MCP embedded
PrettierProject's ownProject's prettier.config.mjs

ESLint rules are controlled by MCP for consistent quality gates.

Prettier uses project's config so formatting matches project preferences.

Phase 1 Rule Coverage:

PluginRulesDescription
SonarJS201Security, bugs, code smells
Unicorn127Modern JS best practices
ESLint Core108JavaScript fundamentals
TypeScript-ESLint99TypeScript-specific rules
RegExp60Regex best practices
Import11Import/export rules
Promise10Async/await best practices
Node.js (n)9Node.js specific rules
Unused Imports2Auto-remove unused imports
Total627

Installation

Prerequisites
  • Node.js 20.10+ or 21.1+ on your PATH (node -v).
  • Cursor, Antigravity, OpenCode (or another MCP-capable editor) with MCP enabled.

Project root is auto-detected when PROJECT_ROOT is omitted: the server walks up from the MCP process working directory until it finds package.json or tsconfig.json. Set PROJECT_ROOT in env only to analyze a different tree than the inferred root.


MCP configuration (Cursor)

Open Settings → Tools & MCP → Edit (user mcp.json). Add one server block; the examples below match .cursor/mcp.json.example (JSONC with comments — if your editor rejects comments, copy the JSON blocks below only).

Server name vs tool name: The key under mcpServers (e.g. "ai-quality-gate") is only the label for that connection in Cursor. The MCP tool your agent calls is always quality_fix — that name is fixed by this package and is separate from the server key and from ai-quality-gate.

A) Recommended: npx (no global install)

Always runs the published package; good for teams and CI-like setups.

{

"mcpServers": { "ai-quality-gate": { "command": "npx", "args": ["-y", "ai-quality-gate"] } } }

B) Optional: global npm install

After npm i -g ai-quality-gate, the ai-quality-gate binary is on your PATH:

{

"mcpServers": { "ai-quality-gate": { "command": "ai-quality-gate", "args": [] } } }

C) SonarQube (Phase 2)

Requires a running SonarQube instance, sonar-scanner available (see SonarQube Setup), and all three variables below. Phase 1 still runs first.

{

"mcpServers": { "ai-quality-gate": { "command": "npx", "args": ["-y", "ai-quality-gate"], "env": { "SONAR_HOST_URL": "http://localhost:9000", "SONAR_TOKEN": "your_sonar_token", "SONAR_PROJECT_KEY": "your_project_key" } } } }

D) Optional environment variables (any server)

Add an "env" object when you need overrides. Merge order for config is defaults → `.quality-gate.yaml` / `.quality-gate.json` → environment variables.

VariableWhen to set
QUALITY_GATE_CONFIGAbsolute path to a specific .quality-gate.yaml or .quality-gate.json (skips walking directories).
PROJECT_ROOTForce project root if auto-detection is wrong for your layout.
SONAR_HOST_URLSonarQube server URL (with Phase 2).
SONAR_TOKENSonarQube token (with Phase 2).
SONAR_PROJECT_KEYSonarQube project key (with Phase 2).
SONAR_SCANNER_PATHFull path to sonar-scanner if not on PATH.
PHASE1_TIMEOUTPhase 1 timeout (ms), default 30000.
PHASE2_TIMEOUTPhase 2 timeout (ms), default 300000.
ENABLE_I18N_RULEStrue / false — stricter JSX literal checks for i18n projects.

MCP configuration
Cursor, Antigravity, etc..
{

"mcpServers": { "ai-quality-gate": { "command": "npx", "args": ["-y", "ai-quality-gate"] } } }

(OpenCode)

Create or edit OpenCode config (typically ~/.config/opencode/opencode.json or project-level config):

{

"$schema": "https://opencode.ai/config.json", "mcp": { "ai-quality-gate": { "type": "local", "enabled": true, "command": ["npx", "-y", "ai-quality-gate"] } } }

Environment variables can be added under the server config if needed (see C) SonarQube (Phase 2) above).


Local development (this repository)

To dogfood or contribute:

  1. `yarn build` — generates dist/server.js.
  2. Point MCP at the built file (absolute paths):
{

"mcpServers": { "ai-quality-gate-dev": { "command": "node", "args": ["/ABSOLUTE/PATH/TO/ai-quality-gate/dist/server.js"] } } }

  1. Reload MCP. Use env.PROJECT_ROOT only if the repo you analyze differs from the inferred root.

2. Add AI Rule

Settings → Rules and Commands → Add Rule:

After every code change, before telling the user "done",

AI must call the quality_fix MCP tool. This is mandatory.

3. Use It
AI writes code → calls quality_fix → Fixes errors → "Done ✅"

CLI: interactive config (--setup)

The interactive wizard creates or updates .quality-gate.yaml without hand-editing: it walks you through project root, optional SonarQube (host URL + project key; token is not saved to disk — use SONAR_TOKEN in your environment), which Phase 1 tools to enable (ESLint, curly-brace / arrow AST fixers, Prettier, JSON validator), timeouts, and i18n rules. The generated file includes a fixers: block you can adjust later.

After yarn build (or install from npm), run from the target project (or any path under it):

node dist/server.js --setup

PROJECT_ROOT is inferred when unset (see MCP configuration). Use the same entrypoint as the MCP server (node dist/server.js or npx ai-quality-gate); only the --setup flag switches to wizard mode. Answer prompts in the terminal; on success you get a ready-to-use config next to your project root.

Other CLI modes: --check (read-only Phase 1), --fix (default behavior when using CLI quality run), --phase1-only, --phase2-only — see docs/DEVELOPMENT.md.


Optional: SonarQube Server (Phase 2)

Configure Sonar env in MCP as in [C) SonarQube (Phase 2)](#c-sonarqube-phase-2) above, or copy from .cursor/mcp.json.example. You need `sonar-scanner` on your machine for analysis (see below).

SonarQube Setup
Docker (Recommended)
# Start SonarQube

docker run -d --name sonarqube -p 9000:9000 sonarqube:community

First login: admin/admin → change password

http://localhost:9000

Docker Compose
# docker-compose.yml

version: '3' services: sonarqube: image: sonarqube:community ports:

  • '9000:9000' volumes:
  • sonarqube_data:/opt/sonarqube/data
  • sonarqube_logs:/opt/sonarqube/logs
  • sonarqube_extensions:/opt/sonarqube/extensions

volumes: sonarqube_data: sonarqube_logs: sonarqube_extensions:

docker-compose up -d
Creating SonarQube Token
  1. http://localhost:9000 → Login (admin)
  2. My Account → Security → Generate Tokens
  3. Select token type: Global Analysis Token
  4. Copy token → use as SONAR_TOKEN
Installing sonar-scanner
PlatformMethodCommand
Windowsnpm (global)npm install -g sonarqube-scanner
WindowsChocolateychoco install sonar-scanner
macOSnpm (global)npm install -g sonarqube-scanner
macOSHomebrewbrew install sonar-scanner
Linuxnpm (global)npm install -g sonarqube-scanner
DockerContainerdocker run sonarsource/sonar-scanner-cli

For custom path: SONAR_SCANNER_PATH env var


Configuration

Optional files (discovered by walking up from the inferred project root — same algorithm as package.json / tsconfig.json — or from PROJECT_ROOT when set): `.quality-gate.yaml` (preferred) or `.quality-gate.json`. Same fields as environment variables (camelCase); you may nest Sonar settings under sonar: { hostUrl, token, projectKey, scannerPath }.

Merge order: defaults → config file → environment variables (ENV wins on conflicts).

Set `QUALITY_GATE_CONFIG` to an explicit path to skip discovery.

Custom rules (customRules)

Optional line-based regex checks on lintable files (Phase 1). Each match is reported as an issue with rule set to custom: (and included in quality_fix remaining). Example:

customRules:
  • id: no-console message: 'Console.log is not allowed' pattern: 'console\\.log\\(' severity: error
  • id: no-debugger message: 'Debugger statement found' pattern: 'debugger' severity: warning

Patterns use JavaScript RegExp source (escape backslashes as in YAML strings). An invalid pattern is skipped, and says so in warnings.

JSON validator & i18n locale files

When `fixers.jsonValidator` is enabled and you pass JSON paths that match locale patterns (for example locales/en.json / locales/tr.json), the tool compares keys across those files.

  • Syntax errors, invalid UTF-8 BOM, etc. → reported as issues and fail Phase 1 / quality_fix until fixed.
  • Missing or extra keys between locale files → collected as `i18nIssues` in the validator result and printed as warnings on stderr during Phase 1. They do not set passed: false and do not block the gate.

Treat i18nIssues as advisory unless you add your own CI check on top.


Environment Variables

All variables are optional unless you use Phase 2, which requires `SONAR_HOST_URL`, `SONAR_TOKEN`, and `SONAR_PROJECT_KEY` together.

| Variable | Description

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요

PopNx에게 묻기