# Ai Quality Gate

> Ai Quality Gate is an open-source MCP server. 🚀 Kill the Junior AI Era. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/mustafacagri/ai-quality-gate
- **MCP Registry name:** io.github.mustafacagri/ai-quality-gate
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## 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

---
Source: https://ai-powered.com/mcp/ai-quality-gate
