mcpbeat Sign in

Legion MCP Server

local only

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.

Installs per day peak 201 · avg 33 · -27% w/w
a month agotoday
81
Installs / week
npm · legion-mcp
1
Stars
0 open issues
7 Oct 2026
Last commit
4 releases in 90 days
Kopimi
License
TypeScript

Connect this server

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.

run in your terminal
claude mcp add legion -e 'MCP_TRANSPORT=<MCP_TRANSPORT>' -e 'ALLOW_NO_MODELS=<ALLOW_NO_MODELS>' -- npx -y legion-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "legion": {
      "command": "npx",
      "args": [
        "-y",
        "legion-mcp"
      ],
      "env": {
        "ALLOW_NO_MODELS": "<ALLOW_NO_MODELS>",
        "MCP_TRANSPORT": "<MCP_TRANSPORT>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.legion]
command = "npx"
args = ["-y", "legion-mcp"]
env = { MCP_TRANSPORT = "<MCP_TRANSPORT>", ALLOW_NO_MODELS = "<ALLOW_NO_MODELS>" }
.cursor/mcp.json
{
  "mcpServers": {
    "legion": {
      "command": "npx",
      "args": [
        "-y",
        "legion-mcp"
      ],
      "env": {
        "ALLOW_NO_MODELS": "<ALLOW_NO_MODELS>",
        "MCP_TRANSPORT": "<MCP_TRANSPORT>"
      }
    }
  }
}
.vscode/mcp.json
{
  "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).

What the code does

We read the source, 1 d ago · rules 995398eba69f

Capabilities

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.

File ships in the package but is absent from the source [пакет] bin/server.js:1
этот файл ставится пользователю, но в репозитории его нет

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

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.

Three servers free · no card

Alternatives to Legion

same job, measured the same way
Metro MCP
by steve228uk

MCP server for React Native/Expo runtime debugging, inspection, and automation via Metro/CDP

1 414 installs/wk local only
Docdex
by bekirdag

Fast per-repo documentation indexer and full-text search MCP server for codebases.

999 installs/wk local only
SAP MCP Server
by oobeprotocol-sap-mcp

Solana-native MCP gateway for SAP, DeFi tools, SNS identity, and x402 payments.

970 installs/wk 406 tools answering
Rubber Duck
by nesquikm

Bridge to multiple LLMs and CLI agents: councils, debates, voting, and more

817 installs/wk local only
C
Ceraph
by ceraph

MCP server for agent-driven React Native and Expo development and mobile testing

639 installs/wk local only
NYC Council
by betanyc

NYC Council legislation: bills, hearings, votes and members, from a local index or live Legistar

213 installs/wk local only
Relm CRM
by relmcrm

API-first CRM for LLMs - contacts, companies, deals and activities over a native MCP server.

41 tools answering
Rubrkit
by rubrkit

MCP-native AI evaluation: rubric audits, eval suites, and proof reports for AI/LLM output.

41 tools answering

Legion — questions

Answers built from our own checks of this server.

Why is there no uptime for Legion?
Legion runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package legion-mcp was installed 81 times last week.
How do I connect Legion?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls legion-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Legion?
The npm package legion-mcp was installed 81 times in the last week. Week over week that is -27%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Legion open source?
No, and the distinction matters: its licence is declared as Kopimi. That makes it source-available — you can read the code, but the terms are the author's own, not one of the recognised open-source licences. Read them before you build on it.