Dwarf Fortress (DFHack) MCP Server

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

Local serverstdio

What is the Dwarf Fortress (DFHack) MCP Server?

Dwarf Fortress (DFHack) is an MCP integration. MCP server exposing a live Dwarf Fortress fort to an AI agent as curated, semantic tools.

Packages and local setup

The published npm package is dfhack-mcp, version 1.4.1. Its declared MCP transport is stdio.

The package declares DFHACK_HOST: Host running DFHack's remote RPC server. Defaults to 127.0.0.1.; DFHACK_PORT: Port for DFHack's remote RPC server. Defaults to 5000.; DFHACK_MCP_ACTUATORS: Set to any value to expose the write tools. Unset, the server is read-only..

Before connecting

Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.

Project and source

View the publisher’s registry entry · Project repository · Project website. This profile uses version 1.4.1 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.

Browse related other integrations MCP servers for tools that cover the same kind of work.

Configuration

VariableDescriptionRequired
DFHACK_HOSTHost running DFHack's remote RPC server. Defaults to 127.0.0.1.Optional
DFHACK_PORTPort for DFHack's remote RPC server. Defaults to 5000.Optional
DFHACK_MCP_ACTUATORSSet to any value to expose the write tools. Unset, the server is read-only.Optional