{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.alexanderolvera/dfhack-mcp",
  "slug": "io.github.alexanderolvera.dfhack-mcp",
  "title": "Dwarf Fortress (DFHack)",
  "summary": "MCP server exposing a live Dwarf Fortress fort to an AI agent as curated, semantic tools",
  "version": "1.4.1",
  "serverKey": "dfhack-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.alexanderolvera.dfhack-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.alexanderolvera.dfhack-mcp/install.md",
  "trust": {
    "score": 94,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T18:09:58.14364355Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "dfhack-mcp@1.4.1"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add dfhack-mcp -- npx -y dfhack-mcp@1.4.1"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"dfhack-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"dfhack-mcp@1.4.1\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"dfhack-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"dfhack-mcp@1.4.1\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"dfhack-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"dfhack-mcp@1.4.1\"\n      ],\n      \"command\": \"npx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.dfhack-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"dfhack-mcp@1.4.1\"]"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "DFHACK_HOST",
      "required": false,
      "secret": false,
      "description": "Host running DFHack's remote RPC server. Defaults to 127.0.0.1.",
      "help": "Host running DFHack's remote RPC server. Defaults to 127.0.0.1.",
      "default": "127.0.0.1",
      "placeholder": "127.0.0.1"
    },
    {
      "name": "DFHACK_PORT",
      "required": false,
      "secret": false,
      "description": "Port for DFHack's remote RPC server. Defaults to 5000.",
      "help": "Port for DFHack's remote RPC server. Defaults to 5000.",
      "default": "5000",
      "placeholder": "5000"
    },
    {
      "name": "DFHACK_MCP_ACTUATORS",
      "required": false,
      "secret": false,
      "description": "Set to any value to expose the write tools. Unset, the server is read-only.",
      "help": "Set to any value to expose the write tools. Unset, the server is read-only.",
      "placeholder": "<DFHACK_MCP_ACTUATORS>"
    }
  ],
  "expectedTools": [
    "artifacts_and_engravings",
    "burrows",
    "chronicle",
    "citizen",
    "defenses",
    "environment",
    "farming",
    "find_unit",
    "fluids",
    "fort_health",
    "fort_status",
    "game_data",
    "geology",
    "hauling_routes",
    "identify",
    "injuries_and_health",
    "jobs_and_labor",
    "livestock_and_pastures",
    "map_overview",
    "mandates_and_justice",
    "mechanisms",
    "military",
    "moods",
    "nobles_and_administrators",
    "petitions",
    "rooms_and_zones",
    "site_history",
    "stockpiles",
    "stocks",
    "threats",
    "tile_region",
    "trade",
    "unmet_needs",
    "wiki_lookup",
    "wiki_search",
    "work_details",
    "work_order_list"
  ],
  "agentSteps": [
    "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: artifacts_and_engravings, burrows, chronicle, citizen, defenses, environment, farming, find_unit, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T18:09:58.14364355Z"
}
