{
  "slug": "io-github-faulkj-legion",
  "name": "io.github.faulkj/legion",
  "title": "legion",
  "description": "MCP-native LLM councils for debates, juries, blind panels, refinement, and custom deliberation.",
  "version": "0.8.0",
  "publishedAt": "2026-10-06T23:12:12.030829Z",
  "updatedAt": "2026-10-06T23:12:12.030829Z",
  "repoUrl": "https://github.com/faulkj/legion-mcp",
  "websiteUrl": null,
  "namespace": {
    "type": "github",
    "owner": "faulkj"
  },
  "kind": "local",
  "packages": [
    {
      "registryType": "npm",
      "identifier": "legion-mcp",
      "version": "0.8.0",
      "transport": "stdio",
      "runtimeHint": null
    }
  ],
  "remotes": [],
  "envVars": [
    {
      "name": "MCP_TRANSPORT",
      "isSecret": false,
      "isRequired": true,
      "description": "Run the installed package over MCP stdio (the binary defaults to HTTP)."
    },
    {
      "name": "DEFAULT_BASE_URL",
      "isSecret": false,
      "isRequired": false,
      "description": "Default OpenAI Responses-compatible API root for model files that omit baseUrl."
    },
    {
      "name": "DEFAULT_API_KEY",
      "isSecret": true,
      "isRequired": false,
      "description": "Default provider or gateway key for model files that omit apiKey."
    },
    {
      "name": "ALLOW_NO_MODELS",
      "isSecret": false,
      "isRequired": true,
      "description": "Boot without any config/models/*.json. The package ships only key-free examples, which the scanner ignores, so this must stay true until a real model file exists beside the working directory."
    },
    {
      "name": "OPENAI_API_KEY",
      "isSecret": true,
      "isRequired": false,
      "description": "Optional. A model file's apiKey may be \"env:VAR\" to read the key from an environment variable named VAR at startup; name those variables here as needed. The bundled gpt example reads this one."
    },
    {
      "name": "MAX_ROUNDS",
      "isSecret": false,
      "isRequired": false,
      "description": "Maximum discussion rounds accepted by a council run."
    },
    {
      "name": "TOKEN_BUDGET",
      "isSecret": false,
      "isRequired": false,
      "description": "Optional soft cumulative token budget for a council run."
    },
    {
      "name": "DYNAMIC_ROLES",
      "isSecret": false,
      "isRequired": false,
      "description": "Allow callers to define ad-hoc council roles inline."
    },
    {
      "name": "LOG_LEVEL",
      "isSecret": false,
      "isRequired": false,
      "description": "Logging verbosity. Logs are written to stderr for stdio safety."
    },
    {
      "name": "ASYNC_TOOLS",
      "isSecret": false,
      "isRequired": false,
      "description": "Run councils in the background: council tools return a job handle and poll/cancel tools are exposed. Jobs live in process memory only."
    },
    {
      "name": "TRUST_PROXY_AUTH",
      "isSecret": false,
      "isRequired": false,
      "description": "Bind async jobs to the caller named by X-MS-CLIENT-PRINCIPAL-* headers. Only safe behind an ingress that strips client-supplied copies."
    }
  ],
  "category": "other",
  "subcategory": "more",
  "company": "",
  "categoryAuto": true,
  "checks": [
    {
      "id": "source-linked",
      "label": "Source repository linked",
      "result": "pass",
      "detail": "https://github.com/faulkj/legion-mcp"
    },
    {
      "id": "version-pinned",
      "label": "Version pinned",
      "result": "pass",
      "detail": "Every package has an explicit version"
    },
    {
      "id": "secrets-requested",
      "label": "Secrets requested",
      "result": "info",
      "detail": "Asks for 2 secrets: DEFAULT_API_KEY, OPENAI_API_KEY"
    },
    {
      "id": "known-registry",
      "label": "Known package registry",
      "result": "pass",
      "detail": "All packages come from npm, PyPI, OCI, NuGet or MCPB"
    },
    {
      "id": "namespace",
      "label": "Namespace ownership",
      "result": "info",
      "detail": "Name verified via GitHub account faulkj"
    },
    {
      "id": "meta-text",
      "label": "Registry text aimed at the AI",
      "result": "pass",
      "detail": "Description and settings contain no hidden characters or instructions to the AI"
    },
    {
      "id": "install-scripts",
      "label": "Install scripts",
      "result": "pass",
      "detail": "legion-mcp@0.8.0 runs nothing at install"
    },
    {
      "id": "code-flags",
      "label": "Code red flags",
      "result": "pass",
      "detail": "Read 35 files in legion-mcp@0.8.0: no obfuscation, encoded execution, credential reads or data-collection endpoints found"
    },
    {
      "id": "ai-text",
      "label": "Text aimed at the AI",
      "result": "pass",
      "detail": "No hidden characters or instructions to the AI in 35 files, including comments and the README"
    }
  ],
  "scannedAt": "2026-10-29",
  "level": "Scanned",
  "install": [
    {
      "label": "Claude Desktop (npm)",
      "kind": "claude_desktop_json",
      "text": "{\n  \"mcpServers\": {\n    \"legion\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"legion-mcp@0.8.0\"\n      ],\n      \"env\": {\n        \"MCP_TRANSPORT\": \"<your value>\",\n        \"ALLOW_NO_MODELS\": \"<your value>\"\n      }\n    }\n  }\n}"
    }
  ],
  "curated": true,
  "stars": 1,
  "archived": false,
  "pushedAt": "2026-10-06T23:09:04Z",
  "health": {
    "score": 52,
    "parts": {
      "popularity": 0.2433991549583503,
      "activity": 0.6,
      "issues": null,
      "security": 1
    },
    "fail": 0,
    "warn": 0,
    "raw": {
      "stars": 1,
      "forks": 0,
      "downloads": 161,
      "hn": null,
      "issuesOpen": 0,
      "issuesClosed": 0,
      "prsMerged": 0,
      "commits90": 0,
      "release": null,
      "pushed": "2026-10-06T23:09:04Z",
      "growth": null,
      "growthDays": null,
      "archived": false
    },
    "at": "2026-10-31T07:35:52.424Z"
  }
}
