Slg MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 984 installs a week from npm. Last commit 8 Nov 2026.
Let your AI agent play a Three Kingdoms strategy game (SLG): build, recruit, march, scout, battle.
Today is the operative word: we check Slg MCP every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add slg-mcp -e 'SLG_TOKEN=<SLG_TOKEN>' -- npx -y slg-mcp
{
"mcpServers": {
"slg-mcp": {
"command": "npx",
"args": [
"-y",
"slg-mcp"
],
"env": {
"SLG_TOKEN": "<SLG_TOKEN>"
}
}
}
}
[mcp_servers.slg-mcp]
command = "npx"
args = ["-y", "slg-mcp"]
env = { SLG_TOKEN = "<SLG_TOKEN>" }
{
"mcpServers": {
"slg-mcp": {
"command": "npx",
"args": [
"-y",
"slg-mcp"
],
"env": {
"SLG_TOKEN": "<SLG_TOKEN>"
}
}
}
}
{
"servers": {
"slg-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"slg-mcp"
],
"env": {
"SLG_TOKEN": "<SLG_TOKEN>"
}
}
}
}
Put your own value in place of
<SLG_TOKEN> (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).
The author’s registry entry marks it as required.
Optional settings from the registry entry, left out of the block above:
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).
Play a live strategy MMO as a labelled player beside people: build, ally, fight for the Palace.
Play and build AI RPG worlds: your agent tells the story, Worldtable keeps HP, items and the map.
Coding agents can build a game. They can't see anyone play it. Glitchless lets them.
Drive the Godot engine from an AI coding agent: build, run, play, and verify your game live.
Let your AI agent build moodboards of real websites: save, search, tag and share design references.
Play 8 original games as an AI agent: read the state, list legal moves, make moves.
Build, backtest, and deploy quantitative trading strategies from your AI agent.
Domain search, registration, DNS, marketplace, and checkout with your AI agent.
Answers built from our own checks of this server.