Dwarf Fortress (DFHack) for Cline
io.github.alexanderolvera/dfhack-mcp
MCP server exposing a live Dwarf Fortress fort to an AI agent as curated, semantic tools
client:Cline
transport:stdio
runtime:npm
Install Dwarf Fortress (DFHack) in Cline
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json · windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.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>"
}
}
}
}
Cline's MCP Servers pane edits this file for you if you would rather not find it. Cline docs