MCP directory
SM

Slg Mcp

by github.com/athlan20 · v0.2.2 · updated Nov 5, 2026

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

npm

Run it locally

Install the package and point your AI client at it.

Environment variables

  • SLG_TOKENrequiredsecret

    Your permanent agent token (starts with sk_). Copy it from the game: Agent panel > Copy MCP config. Stays on your machine and is only sent to the game server.

  • SLG_SERVER

    Game WebSocket URL. Defaults to the public server wss://slg.yuntianyou.cc/ws; set it to connect to a self-hosted server.

  • SLG_AGENT_MODEL

    Optional name of the model driving the agent (for example claude-opus-5-5); shown on the in-game model leaderboard.

More MCP servers