NestDaddy

Civilization V Harness (Linux)

io.github.ty-meador/civ-v-llm-harness · v2.14.4

Play Sid Meier's Civilization V (native Linux) as a human seat, by the game's own rules.

Connect Runs on your machine

Terminal
claude mcp add civ-v-llm-harness -e CIV5_TUNERD_SOCK=<CIV5_TUNERD_SOCK> -e CIV5_TUNERD_TOKEN=<CIV5_TUNERD_TOKEN> -e CIV5_CALL_LOG=<CIV5_CALL_LOG> -- uvx civ-v-llm-harness==2.14.4
claude_desktop_config.json
{
  "mcpServers": {
    "civ-v-llm-harness": {
      "command": "uvx",
      "args": [
        "civ-v-llm-harness==2.14.4"
      ],
      "env": {
        "CIV5_TUNERD_SOCK": "<CIV5_TUNERD_SOCK>",
        "CIV5_TUNERD_TOKEN": "<CIV5_TUNERD_TOKEN>",
        "CIV5_CALL_LOG": "<CIV5_CALL_LOG>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "civ-v-llm-harness": {
      "command": "uvx",
      "args": [
        "civ-v-llm-harness==2.14.4"
      ],
      "env": {
        "CIV5_TUNERD_SOCK": "<CIV5_TUNERD_SOCK>",
        "CIV5_TUNERD_TOKEN": "<CIV5_TUNERD_TOKEN>",
        "CIV5_CALL_LOG": "<CIV5_CALL_LOG>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "civ-v-llm-harness": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "civ-v-llm-harness==2.14.4"
      ],
      "env": {
        "CIV5_TUNERD_SOCK": "<CIV5_TUNERD_SOCK>",
        "CIV5_TUNERD_TOKEN": "<CIV5_TUNERD_TOKEN>",
        "CIV5_CALL_LOG": "<CIV5_CALL_LOG>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
CIV5_TUNERD_SOCK
Required
Path of the Unix socket of the running tuner daemon (python -m harness.tunerd), usually $XDG_RUNTIME_DIR/civ5-tuner.sock. The game and the daemon must be running first; see the install guide.
CIV5_TUNERD_TOKEN
Optional, secret
This agent's seat token, when the daemon runs with a seat table (--seats). Not needed for a solo game.
CIV5_CALL_LOG
Optional
Optional path of a JSON-lines file that receives one line per tool call. Off when unset.

Details

Package[email protected] (PYPI, stdio)
First published14 Nov 2026
Last updated14 Nov 2026
Registry nameio.github.ty-meador/civ-v-llm-harness

More ai and media servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.