{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.ty-meador/civ-v-llm-harness",
  "slug": "io.github.ty-meador.civ-v-llm-harness",
  "title": "Civilization V Harness (Linux)",
  "summary": "Play Sid Meier's Civilization V (native Linux) as a human seat, by the game's own rules.",
  "version": "2.20.1",
  "serverKey": "civ-v-llm-harness",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.ty-meador.civ-v-llm-harness",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.ty-meador.civ-v-llm-harness/install.md",
  "trust": {
    "score": 86,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-02T10:54:18.639985289Z"
  },
  "methods": [
    {
      "id": "pypi",
      "label": "PyPI (uvx)",
      "transport": "stdio",
      "command": "uvx",
      "args": [
        "civ-v-llm-harness==2.20.1",
        "--seat",
        "auto"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add civ-v-llm-harness -e 'CIV5_TUNERD_SOCK=<CIV5_TUNERD_SOCK>' -- uvx civ-v-llm-harness==2.20.1 --seat auto"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"civ-v-llm-harness\": {\n      \"args\": [\n        \"civ-v-llm-harness==2.20.1\",\n        \"--seat\",\n        \"auto\"\n      ],\n      \"command\": \"uvx\",\n      \"env\": {\n        \"CIV5_TUNERD_SOCK\": \"<CIV5_TUNERD_SOCK>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"civ-v-llm-harness\": {\n      \"args\": [\n        \"civ-v-llm-harness==2.20.1\",\n        \"--seat\",\n        \"auto\"\n      ],\n      \"command\": \"uvx\",\n      \"env\": {\n        \"CIV5_TUNERD_SOCK\": \"<CIV5_TUNERD_SOCK>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"CIV5_TUNERD_SOCK\",\n      \"id\": \"civ5-tunerd-sock\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"civ-v-llm-harness\": {\n      \"args\": [\n        \"civ-v-llm-harness==2.20.1\",\n        \"--seat\",\n        \"auto\"\n      ],\n      \"command\": \"uvx\",\n      \"env\": {\n        \"CIV5_TUNERD_SOCK\": \"${input:civ5-tunerd-sock}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.civ-v-llm-harness]\ncommand = \"uvx\"\nargs = [\"civ-v-llm-harness==2.20.1\", \"--seat\", \"auto\"]\nenv = { \"CIV5_TUNERD_SOCK\" = \"<CIV5_TUNERD_SOCK>\" }"
        }
      ],
      "requires": [
        "uv (https://docs.astral.sh/uv/)"
      ]
    }
  ],
  "env": [
    {
      "name": "CIV5_TUNERD_SOCK",
      "required": true,
      "secret": false,
      "description": "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.",
      "help": "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.",
      "placeholder": "<CIV5_TUNERD_SOCK>"
    },
    {
      "name": "CIV5_TUNERD_TOKEN",
      "required": false,
      "secret": true,
      "description": "This agent's seat token, when the daemon runs with a seat table (--seats). Not needed for a solo game.",
      "help": "This agent's seat token, when the daemon runs with a seat table (--seats). Not needed for a solo game.",
      "placeholder": "<CIV5_TUNERD_TOKEN>"
    },
    {
      "name": "CIV5_CALL_LOG",
      "required": false,
      "secret": false,
      "description": "Optional path of a JSON-lines file that receives one line per tool call. Off when unset.",
      "help": "Optional path of a JSON-lines file that receives one line per tool call. Off when unset.",
      "placeholder": "<CIV5_CALL_LOG>"
    }
  ],
  "expectedTools": [
    "reference",
    "turn",
    "state",
    "order",
    "question",
    "answer",
    "notebook",
    "batch",
    "session"
  ],
  "agentSteps": [
    "Ask the user for: CIV5_TUNERD_SOCK. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: reference, turn, state, order, question, answer, notebook, batch, ….",
    "If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set."
  ],
  "generatedAt": "2026-12-02T10:54:18.639985289Z"
}
