CLI + MCP server for Flagrix — scan GitHub repos for malware before you clone
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add flagrix --env GITHUB_TOKEN='<GITHUB_TOKEN>' -- npx -y flagrix~/.codex/config.toml
[mcp_servers.flagrix]
command = "npx"
args = ["-y", "flagrix"]
env = { GITHUB_TOKEN = "<GITHUB_TOKEN>" }
# codex mcp add flagrix --env GITHUB_TOKEN='<GITHUB_TOKEN>' -- npx -y flagrix~/.cursor/mcp.json
{
"mcpServers": {
"flagrix": {
"command": "npx",
"args": [
"-y",
"flagrix"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"flagrix": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"flagrix"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"flagrix": {
"command": "npx",
"args": [
"-y",
"flagrix"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"flagrix": {
"command": "npx",
"args": [
"-y",
"flagrix"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"flagrix": {
"command": "npx",
"args": [
"-y",
"flagrix"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}Environment variables
GITHUB_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.