← Back to Plugins
MCP Server MCP

Dwarf Fortress (DFHack)

github By github 👁 1 views ▲ 0 votes

MCP server exposing a live Dwarf Fortress fort to an AI agent as curated, semantic tools

Homepage Verified source GitHub

Install

npx -y [email protected]

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "npm",
      "registryBaseUrl": "https://registry.npmjs.org",
      "identifier": "dfhack-mcp",
      "version": "1.4.1",
      "runtimeHint": "npx",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Host running DFHack's remote RPC server. Defaults to 127.0.0.1.",
          "format": "string",
          "default": "127.0.0.1",
          "name": "DFHACK_HOST"
        },
        {
          "description": "Port for DFHack's remote RPC server. Defaults to 5000.",
          "format": "number",
          "default": "5000",
          "name": "DFHACK_PORT"
        },
        {
          "description": "Set to any value to expose the write tools. Unset, the server is read-only.",
          "format": "string",
          "name": "DFHACK_MCP_ACTUATORS"
        }
      ]
    }
  ]
}
mcp model-context-protocol npm

Comments

Sign in to leave a comment

Loading comments...