Skip to content
MCP server

Ai Quality Gate

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.1.0
Listing updated
5 days ago

About Ai Quality Gate

Ai Quality Gate is an open-source MCP server. It runs locally on your machine and is started by your AI client.

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

Install

Run in a terminal

claude mcp add ai-quality-gate --env SONAR_TOKEN='<SONAR_TOKEN>' -- npx -y ai-quality-gate

Add to claude_desktop_config.json

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

Add to ~/.cursor/mcp.json

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

Add to .vscode/mcp.json

{
  "servers": {
    "ai-quality-gate": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ai-quality-gate"
      ],
      "env": {
        "SONAR_TOKEN": "<SONAR_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Configuration

  • PROJECT_ROOTAbsolute path to the project root for analysis (auto-detected if omitted)
  • SONAR_HOST_URLSonarQube server base URL (e.g., http://localhost:9000)
  • SONAR_TOKENSonarQube authentication token
  • SONAR_PROJECT_KEYSonarQube project key
  • ENABLE_I18N_RULESEnable stricter JSX literal checks for i18n projects (true/false)

Pricing

Open source

Ai Quality Gate FAQ

Is Ai Quality Gate free?

Yes. Ai Quality Gate is open source, so you can use and self-host it for free.

How do I add Ai Quality Gate to Claude Code?

Run this command in your terminal: claude mcp add ai-quality-gate --env SONAR_TOKEN='<SONAR_TOKEN>' -- npx -y ai-quality-gate