MCP.Market

Legion MCP server

by faulkj·io.github.faulkj/legion·v0.8.0·1 stars

MCP-native LLM councils for debates, juries, blind panels, refinement, and custom deliberation.

B83/100grade B
What users say
No reviews yet
Be the first
Safety scan
B83/100

full report

Adoption
Growing

1 stars161 downloads/wk

Reviews

Write one

Nobody has reviewed Legion yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Legion tools (3, 1 write)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • cancelwrite action
  • poll
  • quorum

    … Available models: ….

Public scan report

scanner v0.1.10 · 2026-10-30 · same rubric, same numbers if you re-run it

no findings
  • Code scan24 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitystatic API keys via environment variables6/15
  • Maintenancelast push 24 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 83/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Legion compares

Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
83/100
higher than 68% of 4,460 AI and agents servers
Tools
3
the typical AI and agents server has 6
Tools that change things
33%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
1
more than 50% of 2,711 AI and agents servers
Downloads a week
161
more than 71% of 1,538 AI and agents servers with a package

What its tools let an agent do: 2 read · 1 delete

Release history: 5 versions in the registry since 2026-08-28, latest 2026-10-06, typically one every 11 days.

Install Legion in Claude Code, Cursor or VS Code

Runs npx -y legion-mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add legion -- npx -y legion-mcp
Add to Cursor

What the publisher says

From the Legion repository's README, as published. We do not edit it. Read it on GitHub

Legion

"I am Legion, for we are many."

An MCP-native model council. Legion exposes LLMs as individual tools and orchestrates them into debates, juries, blind panels, private refinement gauntlets, workshops, and custom multi-model deliberations.

Every model is reached through the OpenAI Responses API wire format. Use OpenAI or Azure directly, route other providers through a compatible gateway (such as a LiteLLM proxy), and configure the entire council through hot-reloadable files.

Contents

  • How it works
  • Design decisions
  • Requirements
  • Setup
  • Configuration
  • Logging
  • Run
  • Try it
  • Use in VS Code
  • Deploy

How it works

flowchart LR
   AI[Calling AI] -->|claude / gpt / gemini …| Legion
   Legion -->|Responses API| GPT[OpenAI / Azure — direct]
   Legion -->|Responses API| GW[Gateway e.g. LiteLLM]
   GW --> Claude & Gemini & Llama

claude). Each accepts a prompt plus optional context, role, system, temperature, and maxTokens.

  • One tool per model, named after the slugified model name (e.g. Claude →

multi-round discussion, visibility modes, and synthesis — and returns each answer separately. See Presets for the orchestration options.

  • A quorum tool fans one prompt out to several models — with roles,

each exposed as its own tool.

  • Presets are named, pre-staffed councils (debate, courtroom, code review, …),

Logging goes to stderr (safe for stdio).

  • Identity and telemetry ride in structuredContent, not the answer text.

Design decisions

model list. Legion speaks one wire format; models that don't speak it natively go through a gateway. Supporting a new model requires no change here.

  • No provider adapters. There is no provider-specific code and no built-in

directory is re-read per request, so no rebuild or restart.

  • Models are config, not code. Adding a model means adding a JSON file. The

with its own description, rather than a single tool with a model parameter. The quorum tool covers the ad-hoc multi-model case, and each preset in config/presets/ is exposed as its own enforced, pre-staffed council tool.

  • One tool per model. Each model appears to the calling AI as its own tool

persisted, so there is no database and no conversation state to manage.

  • Stateless. Every call is one-shot with store: false. Nothing is

dependencies.

  • Small. A few hundred lines of TypeScript, one bundled output file, six

Requirements

a gateway such as LiteLLM for models that need bridging)

  • Node.js 24+
  • At least one OpenAI-Responses-compatible endpoint (a provider API directly, or

Setup

From npm — no clone, no build:

npx legion-mcp

From a clone:

npm install
copy .env.example .env   # then edit .env

Configuration

All configuration lives in a config/ directory. The bundled defaults are always the base layer; a config/ folder in the current working directory is overlaid on top of them, per file:

file overrides the bundled file of the same name; a local-only file is added; every bundled file you don't touch stays. So dropping in one config/presets/refine.json overrides just that preset — the other bundled presets remain.

  • Directory resources (models/, roles/, presets/, tools/): a local

per key — bundled < local. A partial local file overrides only the keys it sets.

  • Single-file text (prompts.json, errors.json, schema.json): merged
  • description.md: local wins whole if present, else bundled.

The overlay can override or add, but not delete a bundled entry. To turn off bundled presets you don't want, use DISABLE_PRESETS (see below).

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Legion: common questions

Is Legion MCP server safe?
Mostly: it is graded B (83/100). Read the Legion safety report
How do I install Legion?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Legion need an API key?
Yes. The registry entry asks for DEFAULT_API_KEY, OPENAI_API_KEY.
Is Legion maintained?
The last commit was 29 days ago (2026-10-06). The latest release is v0.8.0.
What can I use instead of Legion?
Servers from other publishers that do the same job: Agent-Native Slides MCP server and Ts Core MCP server.
How does Legion compare with other AI and agents MCP servers?
safety score 83/100 (higher than 68% of 4,460 AI and agents servers); tools 3 (the typical AI and agents server has 6); tools that change things 33% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to Legion

Same job from other publishers: the closest match first, then the best rated.