legion

io.github.faulkj/legion

About legion

legion is an MCP server published by the GitHub account faulkj. MCP-native LLM councils for debates, juries, blind panels, refinement, and custom deliberation.

It runs on your own machine: your AI client starts it from the npm package legion-mcp at version 0.8.0.

It asks for 2 secrets: DEFAULT_API_KEY and OPENAI_API_KEY. Give it a key with the least access that still works.

It also needs MCP_TRANSPORT and ALLOW_NO_MODELS set before it starts.

Version 0.8.0 was published on 6 October 2026, and the source code is public, so you can read it before installing.

Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 0 warn, 0 fail, 2 info. How we check.

What it asks for

VariableRequiredSecretDescription
MCP_TRANSPORTYesNoRun the installed package over MCP stdio (the binary defaults to HTTP).
DEFAULT_BASE_URLNoNoDefault OpenAI Responses-compatible API root for model files that omit baseUrl.
DEFAULT_API_KEYNoYesDefault provider or gateway key for model files that omit apiKey.
ALLOW_NO_MODELSYesNoBoot 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.
OPENAI_API_KEYNoYesOptional. 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.
MAX_ROUNDSNoNoMaximum discussion rounds accepted by a council run.
TOKEN_BUDGETNoNoOptional soft cumulative token budget for a council run.
DYNAMIC_ROLESNoNoAllow callers to define ad-hoc council roles inline.
LOG_LEVELNoNoLogging verbosity. Logs are written to stderr for stdio safety.
ASYNC_TOOLSNoNoRun councils in the background: council tools return a job handle and poll/cancel tools are exposed. Jobs live in process memory only.
TRUST_PROXY_AUTHNoNoBind async jobs to the caller named by X-MS-CLIENT-PRINCIPAL-* headers. Only safe behind an ingress that strips client-supplied copies.

Checks

CheckResultDetail
Source repository linkedPasshttps://github.com/faulkj/legion-mcp
Version pinnedPassEvery package has an explicit version
Secrets requestedInfoAsks for 2 secrets: DEFAULT_API_KEY, OPENAI_API_KEY
Known package registryPassAll packages come from npm, PyPI, OCI, NuGet or MCPB
Namespace ownershipInfoName verified via GitHub account faulkj
Registry text aimed at the AIPassDescription and settings contain no hidden characters or instructions to the AI
Install scriptsPasslegion-mcp@0.8.0 runs nothing at install
Code red flagsPassRead 35 files in legion-mcp@0.8.0: no obfuscation, encoded execution, credential reads or data-collection endpoints found
Text aimed at the AIPassNo hidden characters or instructions to the AI in 35 files, including comments and the README

Popularity & health: 52 / 100

Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.

Popularity10 / 40

1 GitHub stars, 161 downloads last week, no Hacker News posts found. Best two of the three, each on a log scale.

Activity15 / 25

Last push 2026-10-06, no GitHub release, 0 commits in 90 days.

Issue health8 / 15

0 closed of 0 issues, too few to judge. No data, so half marks.

Our checks20 / 20

0 warnings, each costing a fifth.

0 forks, 0 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.

What people say

No Hacker News threads link to its source code.

Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.

Facts

Registry nameio.github.faulkj/legion
PublisherGitHub account faulkj
How the name is verifiedName verified via GitHub account faulkj. The registry ties the name prefix to that account or domain; it does not check the code.
TypeLocal: runs on your machine from a package
Packagesnpm legion-mcp 0.8.0 (stdio)
Version0.8.0
Published
Last updated
Source repositoryhttps://github.com/faulkj/legion-mcp
WebsiteNone linked
CategoryOther (assigned by keyword rule, not by hand)

Related servers in Other