ai quality gate for VS Code
io.github.mustafacagri/ai-quality-gate
🚀 Kill the Junior AI Era. 🤖 Level up AI code to automatically Principal standards. 🛡️ Quality Gate ✨
client:VS Code
transport:stdio
runtime:npm
Install ai quality gate in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "project-root",
"description": "PROJECT_ROOT",
"password": true
},
{
"type": "promptString",
"id": "sonar-host-url",
"description": "SONAR_HOST_URL",
"password": true
},
{
"type": "promptString",
"id": "sonar-token",
"description": "SONAR_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "sonar-project-key",
"description": "SONAR_PROJECT_KEY",
"password": true
},
{
"type": "promptString",
"id": "enable-i18n-rules",
"description": "ENABLE_I18N_RULES",
"password": true
}
],
"servers": {
"ai-quality-gate": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ai-quality-gate"
],
"env": {
"PROJECT_ROOT": "${input:project-root}",
"SONAR_HOST_URL": "${input:sonar-host-url}",
"SONAR_TOKEN": "${input:sonar-token}",
"SONAR_PROJECT_KEY": "${input:sonar-project-key}",
"ENABLE_I18N_RULES": "${input:enable-i18n-rules}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs