Skip to content
Cursor

legion for Cursor

io.github.faulkj/legion

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

client:Cursor transport:stdio runtime:npm

Install legion in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "legion": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "legion-mcp"
      ],
      "env": {
        "MCP_TRANSPORT": "<MCP_TRANSPORT>",
        "DEFAULT_BASE_URL": "<DEFAULT_BASE_URL>",
        "DEFAULT_API_KEY": "<DEFAULT_API_KEY>",
        "GPT_API_KEY": "<GPT_API_KEY>",
        "MAX_ROUNDS": "<MAX_ROUNDS>",
        "TOKEN_BUDGET": "<TOKEN_BUDGET>",
        "DYNAMIC_ROLES": "<DYNAMIC_ROLES>",
        "LOG_LEVEL": "<LOG_LEVEL>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

legion in other clients