What is the io.github.faulkj/legion MCP server?
MCP-native LLM councils for debates, juries, blind panels, refinement, and custom deliberation.
How to install io.github.faulkj/legion
Copy-paste configuration for popular MCP clients.
MCP_TRANSPORTrequiredRun the installed package over MCP stdio (the binary defaults to HTTP).
DEFAULT_BASE_URLDefault OpenAI Responses-compatible API root for model files that omit baseUrl.
DEFAULT_API_KEYsecretDefault provider or gateway key for model files that omit apiKey.
ALLOW_NO_MODELSrequiredBoot 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_KEYsecretOptional. 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_ROUNDSMaximum discussion rounds accepted by a council run.
TOKEN_BUDGETOptional soft cumulative token budget for a council run.
DYNAMIC_ROLESAllow callers to define ad-hoc council roles inline.
LOG_LEVELLogging verbosity. Logs are written to stderr for stdio safety.
Related MCP servers

FHIR MCP server with SMART Backend Services, FHIRPath filtering, and configurable clinical data access.
Kojiru Recourse Layer — agent credit primitives (ACS, stake, draw, anchor) live on Base mainnet
View repository →
Let AI agents inspect, debug, and drive running WPF apps—visual tree, bindings, screenshots, clicks, and keyboard input.

MaxStat MCP
Search 408K+ MAX channels and 86M+ posts; metrics, reactions, forwards, webhooks and usage.

OpenTranscribe MCP
Provider-independent speech-to-text with normalized transcripts over MCP.

