Dwarf Fortress (DFHack)
io.github.alexanderolvera/dfhack-mcp
MCP server Not tested
MCP server exposing a live Dwarf Fortress fort to an AI agent as curated, semantic tools
Technical sheet
- Author
- alexanderolvera (registry namespace)
- Repository
- github.com/alexanderolvera/dfhack-mcp
- Site
- github.com/alexanderolvera/dfhack-mcp#readme
- Version
- 1.4.1
- Transport
- stdio
- Authentication
- None (declared in the registry)
- Packages
- dfhack-mcp 1.4.1 npm stdio
- Tools
- —
- Categories
- AI, agents and memory
- Last updated
- 26 Jul 2026
- Published
- 26 Jul 2026
Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded. Latest test not successful: the badge only says “listed”.
[](https://latlas.dev/en/mcp/io.github.alexanderolvera/dfhack-mcp)<a href="https://latlas.dev/en/mcp/io.github.alexanderolvera/dfhack-mcp"><img src="https://latlas.dev/badge/fiche/io.github.alexanderolvera/dfhack-mcp.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
No remote address published: this server runs locally, so we do not test it.
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport not listed | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Local launch of package dfhack-mcp (npm). Formats taken from each client’s documentation.
claude mcp add-json dfhack-mcp '{"command":"npx","args":["-y","[email protected]"]}'{
"mcpServers": {
"dfhack-mcp": {
"command": "npx",
"args": ["-y","[email protected]"]
}
}
}{
"mcpServers": {
"dfhack-mcp": {
"type": "stdio",
"command": "npx",
"args": ["-y","[email protected]"]
}
}
}{
"mcpServers": {
"dfhack-mcp": {
"type": "stdio",
"command": "npx",
"args": ["-y","[email protected]"],
"tools": ["*"]
}
}
}{
"mcpServers": {
"dfhack-mcp": {
"command": "npx",
"args": ["-y","[email protected]"]
}
}
}{
"mcpServers": {
"dfhack-mcp": {
"command": "npx",
"args": ["-y","[email protected]"]
}
}
}[mcp_servers.dfhack-mcp]
command = "npx"
args = ["-y","[email protected]"]Declared environment variables
| Name | Required | Description |
|---|---|---|
| DFHACK_HOST | no | Host running DFHack's remote RPC server. Defaults to 127.0.0.1. |
| DFHACK_PORT | no | Port for DFHack's remote RPC server. Defaults to 5000. |
| DFHACK_MCP_ACTUATORS | no | Set to any value to expose the write tools. Unset, the server is read-only. |
Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
Dwarf Fortress (DFHack) · L’Atlas
[Dwarf Fortress (DFHack) — L’Atlas](https://latlas.dev/en/mcp/io.github.alexanderolvera/dfhack-mcp)Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.