Dwarf Fortress (DFHack) for Windsurf
io.github.alexanderolvera/dfhack-mcp
MCP server exposing a live Dwarf Fortress fort to an AI agent as curated, semantic tools
client:Windsurf
transport:stdio
runtime:npm
Install Dwarf Fortress (DFHack) in Windsurf
~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"mcpServers": {
"dfhack-mcp": {
"command": "npx",
"args": [
"-y",
"dfhack-mcp"
],
"env": {
"DFHACK_HOST": "<DFHACK_HOST>",
"DFHACK_PORT": "<DFHACK_PORT>",
"DFHACK_MCP_ACTUATORS": "<DFHACK_MCP_ACTUATORS>"
}
}
}
}
Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs