L'Agora
MCPLocal

io.github.faulkj/legion

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

Repository
github.com/faulkj/legion-mcp
Version
0.8.0
Author
faulkj (namespace verified by the registry)
Source
Official MCP registry (updated Oct 7, 2026)

How to install it

Variables to fill in: MCP_TRANSPORT, DEFAULT_BASE_URL, DEFAULT_API_KEY, ALLOW_NO_MODELS, OPENAI_API_KEY, MAX_ROUNDS, TOKEN_BUDGET, DYNAMIC_ROLES, LOG_LEVEL, ASYNC_TOOLS, TRUST_PROXY_AUTH.

On your machine

Claude Code

The server runs on your machine (npm package). In a terminal:

claude mcp add legion -e MCP_TRANSPORT=YOUR_MCP_TRANSPORT -e DEFAULT_BASE_URL=YOUR_DEFAULT_BASE_URL -e DEFAULT_API_KEY=YOUR_DEFAULT_API_KEY -e ALLOW_NO_MODELS=YOUR_ALLOW_NO_MODELS -e OPENAI_API_KEY=YOUR_OPENAI_API_KEY -e MAX_ROUNDS=YOUR_MAX_ROUNDS -e TOKEN_BUDGET=YOUR_TOKEN_BUDGET -e DYNAMIC_ROLES=YOUR_DYNAMIC_ROLES -e LOG_LEVEL=YOUR_LOG_LEVEL -e ASYNC_TOOLS=YOUR_ASYNC_TOOLS -e TRUST_PROXY_AUTH=YOUR_TRUST_PROXY_AUTH -- npx -y [email protected]
Claude Desktop claude_desktop_config.json

Settings, Developer, Edit config, then add:

{
  "mcpServers": {
    "legion": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "MCP_TRANSPORT": "YOUR_MCP_TRANSPORT",
        "DEFAULT_BASE_URL": "YOUR_DEFAULT_BASE_URL",
        "DEFAULT_API_KEY": "YOUR_DEFAULT_API_KEY",
        "ALLOW_NO_MODELS": "YOUR_ALLOW_NO_MODELS",
        "OPENAI_API_KEY": "YOUR_OPENAI_API_KEY",
        "MAX_ROUNDS": "YOUR_MAX_ROUNDS",
        "TOKEN_BUDGET": "YOUR_TOKEN_BUDGET",
        "DYNAMIC_ROLES": "YOUR_DYNAMIC_ROLES",
        "LOG_LEVEL": "YOUR_LOG_LEVEL",
        "ASYNC_TOOLS": "YOUR_ASYNC_TOOLS",
        "TRUST_PROXY_AUTH": "YOUR_TRUST_PROXY_AUTH"
      }
    }
  }
}
Cursor ~/.cursor/mcp.json

In ~/.cursor/mcp.json:

{
  "mcpServers": {
    "legion": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "MCP_TRANSPORT": "YOUR_MCP_TRANSPORT",
        "DEFAULT_BASE_URL": "YOUR_DEFAULT_BASE_URL",
        "DEFAULT_API_KEY": "YOUR_DEFAULT_API_KEY",
        "ALLOW_NO_MODELS": "YOUR_ALLOW_NO_MODELS",
        "OPENAI_API_KEY": "YOUR_OPENAI_API_KEY",
        "MAX_ROUNDS": "YOUR_MAX_ROUNDS",
        "TOKEN_BUDGET": "YOUR_TOKEN_BUDGET",
        "DYNAMIC_ROLES": "YOUR_DYNAMIC_ROLES",
        "LOG_LEVEL": "YOUR_LOG_LEVEL",
        "ASYNC_TOOLS": "YOUR_ASYNC_TOOLS",
        "TRUST_PROXY_AUTH": "YOUR_TRUST_PROXY_AUTH"
      }
    }
  }
}
VS Code .vscode/mcp.json

In .vscode/mcp.json:

{
  "servers": {
    "legion": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "MCP_TRANSPORT": "YOUR_MCP_TRANSPORT",
        "DEFAULT_BASE_URL": "YOUR_DEFAULT_BASE_URL",
        "DEFAULT_API_KEY": "YOUR_DEFAULT_API_KEY",
        "ALLOW_NO_MODELS": "YOUR_ALLOW_NO_MODELS",
        "OPENAI_API_KEY": "YOUR_OPENAI_API_KEY",
        "MAX_ROUNDS": "YOUR_MAX_ROUNDS",
        "TOKEN_BUDGET": "YOUR_TOKEN_BUDGET",
        "DYNAMIC_ROLES": "YOUR_DYNAMIC_ROLES",
        "LOG_LEVEL": "YOUR_LOG_LEVEL",
        "ASYNC_TOOLS": "YOUR_ASYNC_TOOLS",
        "TRUST_PROXY_AUTH": "YOUR_TRUST_PROXY_AUTH"
      }
    }
  }
}
ChatGPT

ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.

These configurations are built from the information published by the author. Check the repository before installing a local server.

Our test

This server runs on your machine: we cannot test it remotely.

Reviews

No review yet.

Sign in to leave a review. Your email is all you need.

Comments

No comment yet. A question, a tip? Start the discussion.

Sign in to comment.

Is this your project? Sign in to claim this entry.

Badge for your README

io.github.faulkj/legion on L’Agora

Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.

Markdown (GitHub)

[![io.github.faulkj/legion on L’Agora](https://lagora.dev/badge/io.github.faulkj/legion.svg?lang=en)](https://lagora.dev/en/entry/io.github.faulkj/legion)

HTML

<a href="https://lagora.dev/en/entry/io.github.faulkj/legion"><img src="https://lagora.dev/badge/io.github.faulkj/legion.svg?lang=en" alt="io.github.faulkj/legion on L’Agora" height="20"></a>

Promote

For the entry’s author only: sign in to continue.

By the same author

io.github.faulkj/fhirhydrant Local

Report this entry