PluginBench
MCP Server
Active
ISC

Dwarf Fortress (DFHack) MCP Server

io.github.alexanderolvera/dfhack-mcp

What is the Dwarf Fortress (DFHack) MCP server?

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

How to install Dwarf Fortress (DFHack)

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • 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.

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "dfhack-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dfhack-mcp"
      ],
      "env": {
        "DFHACK_HOST": "<YOUR_DFHACK_HOST>",
        "DFHACK_PORT": "<YOUR_DFHACK_PORT>",
        "DFHACK_MCP_ACTUATORS": "<YOUR_DFHACK_MCP_ACTUATORS>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "dfhack-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dfhack-mcp"
      ],
      "env": {
        "DFHACK_HOST": "<YOUR_DFHACK_HOST>",
        "DFHACK_PORT": "<YOUR_DFHACK_PORT>",
        "DFHACK_MCP_ACTUATORS": "<YOUR_DFHACK_MCP_ACTUATORS>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "dfhack-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dfhack-mcp"
      ],
      "env": {
        "DFHACK_HOST": "<YOUR_DFHACK_HOST>",
        "DFHACK_PORT": "<YOUR_DFHACK_PORT>",
        "DFHACK_MCP_ACTUATORS": "<YOUR_DFHACK_MCP_ACTUATORS>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "dfhack-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "dfhack-mcp"
      ],
      "env": {
        "DFHACK_HOST": "<YOUR_DFHACK_HOST>",
        "DFHACK_PORT": "<YOUR_DFHACK_PORT>",
        "DFHACK_MCP_ACTUATORS": "<YOUR_DFHACK_MCP_ACTUATORS>"
      }
    }
  }
}
Claude Code
claude mcp add dfhack-mcp --env DFHACK_HOST=<YOUR_DFHACK_HOST> --env DFHACK_PORT=<YOUR_DFHACK_PORT> --env DFHACK_MCP_ACTUATORS=<YOUR_DFHACK_MCP_ACTUATORS> -- npx -y dfhack-mcp

Related MCP servers

Control a real Chrome browser to complete any task: fill forms, extract data, book flights.

110k
Python
MIT
View repository →

Live global intelligence: real-time markets, conflicts, country risk, chokepoints, energy. 39 tools.

83k
TypeScript
AGPL-3.0
View repository →

Netdata

Active

Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.

80k
Go
GPL-3.0
View repository →

Trending hip-hop artist momentum scores across four cultural dimensions.

79k
TypeScript
MIT
View repository →

AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.

68k
TypeScript
MIT
View repository →

Give your AI agent stealth web scraping with Cloudflare bypass and CSS selection, powered by Scrapling.

67k
Python
BSD-3-Clause
View repository →