Skip to content
Gemini CLI

slg mcp for Gemini CLI

io.github.athlan20/slg-mcp

Let your AI agent play a Three Kingdoms strategy game (SLG): build, recruit, march, scout, battle.

client:Gemini CLI transport:stdio runtime:npm

Install slg mcp in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

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

{
  "mcpServers": {
    "slg-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "slg-mcp"
      ],
      "env": {
        "SLG_TOKEN": "<SLG_TOKEN>",
        "SLG_SERVER": "<SLG_SERVER>",
        "SLG_AGENT_MODEL": "<SLG_AGENT_MODEL>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

slg mcp in other clients