Legion runs on your own machine — the client starts it, so there is no endpoint to ping. 81 installs a week from npm. Last commit 7 Oct 2026.
MCP-native LLM councils for debates, juries, blind panels, refinement, and custom deliberation.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add legion -e 'MCP_TRANSPORT=<MCP_TRANSPORT>' -e 'ALLOW_NO_MODELS=<ALLOW_NO_MODELS>' -- npx -y legion-mcp
{
"mcpServers": {
"legion": {
"command": "npx",
"args": [
"-y",
"legion-mcp"
],
"env": {
"ALLOW_NO_MODELS": "<ALLOW_NO_MODELS>",
"MCP_TRANSPORT": "<MCP_TRANSPORT>"
}
}
}
}
[mcp_servers.legion]
command = "npx"
args = ["-y", "legion-mcp"]
env = { MCP_TRANSPORT = "<MCP_TRANSPORT>", ALLOW_NO_MODELS = "<ALLOW_NO_MODELS>" }
{
"mcpServers": {
"legion": {
"command": "npx",
"args": [
"-y",
"legion-mcp"
],
"env": {
"ALLOW_NO_MODELS": "<ALLOW_NO_MODELS>",
"MCP_TRANSPORT": "<MCP_TRANSPORT>"
}
}
}
}
{
"servers": {
"legion": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"legion-mcp"
],
"env": {
"ALLOW_NO_MODELS": "<ALLOW_NO_MODELS>",
"MCP_TRANSPORT": "<MCP_TRANSPORT>"
}
}
}
}
Put your own values in place of
<MCP_TRANSPORT> (Run the installed package over MCP stdio (the binary defaults to HTTP)), <ALLOW_NO_MODELS> (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).
The author’s registry entry marks them as required.
Optional settings from the registry entry, left out of the block above:
DEFAULT_BASE_URL (Default OpenAI Responses-compatible API root for model files that omit baseUrl), DEFAULT_API_KEY (Default provider or gateway key for model files that omit apiKey), OPENAI_API_KEY (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), MAX_ROUNDS (Maximum discussion rounds accepted by a council run), TOKEN_BUDGET (Optional soft cumulative token budget for a council run), DYNAMIC_ROLES (Allow callers to define ad-hoc council roles inline), LOG_LEVEL (Logging verbosity. Logs are written to stderr for stdio safety), ASYNC_TOOLS (Run councils in the background: council tools return a job handle and poll/cancel tools are exposed. Jobs live in process memory only), TRUST_PROXY_AUTH (Bind async jobs to the caller named by X-MS-CLIENT-PRINCIPAL-* headers. Only safe behind an ingress that strips client-supplied copies).
We read the source, 1 d ago · rules 995398eba69f
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
этот файл ставится пользователю, но в репозитории его нет
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
MCP server for React Native/Expo runtime debugging, inspection, and automation via Metro/CDP
Fast per-repo documentation indexer and full-text search MCP server for codebases.
Solana-native MCP gateway for SAP, DeFi tools, SNS identity, and x402 payments.
Bridge to multiple LLMs and CLI agents: councils, debates, voting, and more
MCP server for agent-driven React Native and Expo development and mobile testing
NYC Council legislation: bills, hearings, votes and members, from a local index or live Legistar
API-first CRM for LLMs - contacts, companies, deals and activities over a native MCP server.
MCP-native AI evaluation: rubric audits, eval suites, and proof reports for AI/LLM output.
Answers built from our own checks of this server.