legion for Zed
io.github.faulkj/legion
MCP-native LLM councils for debates, juries, blind panels, refinement, and custom deliberation.
client:Zed
transport:stdio
runtime:npm
Install legion in Zed
~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json
{
"context_servers": {
"legion": {
"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>"
}
}
}
}
Merge this into your existing settings object — do not replace the file. Zed docs