Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
MCP server exposing a live Dwarf Fortress fort to an AI agent as curated, semantic tools
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
DFHACK_HOST, DFHACK_PORT, DFHACK_MCP_ACTUATORS你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"dfhack": {
"command": "npx",
"args": [
"-y",
"dfhack-mcp"
],
"env": {
"DFHACK_HOST": "your-value",
"DFHACK_PORT": "your-value",
"DFHACK_MCP_ACTUATORS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add dfhack --env DFHACK_HOST=your-value --env DFHACK_PORT=your-value --env DFHACK_MCP_ACTUATORS=your-value -- npx -y dfhack-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"dfhack": {
"command": "npx",
"args": [
"-y",
"dfhack-mcp"
],
"env": {
"DFHACK_HOST": "your-value",
"DFHACK_PORT": "your-value",
"DFHACK_MCP_ACTUATORS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"dfhack": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"dfhack-mcp"
],
"env": {
"DFHACK_HOST": "your-value",
"DFHACK_PORT": "your-value",
"DFHACK_MCP_ACTUATORS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
DFHACK_HOST envDFHACK_PORT envDFHACK_MCP_ACTUATORS env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 alexanderolvera 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.4.1)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Symantec Cloud DLP AIops
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Governed Symantec Cloud DLP — 14 MCP tools, read-only with audit.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
An MCP server that gives an AI agent a live window into your Dwarf Fortress fort — a co-pilot and early-warning advisor, not an autopilot. Point Claude (or any MCP client) at it and ask _"how's my fort doing?"_ — it reads happiness, threats, stocks, jobs, health, and defenses straight from the running game and answers in plain language.
Read-only by default. The 37 sensor and reference tools only observe the game. A handful of actuators that _change_ the fort — queue manager orders, apply quickfort blueprints, assign labor, sound the civilian alert, pull a lever — ship behind an explicit opt-in and stay hidden until you enable them (see Taking action).
Two kinds of tools:
fort_status, threats, stocks, jobs_and_labor, military, injuries_and_health, defenses, and more.game_data is your world's ground truth (its loaded raws), the wiki_* tools are the general explanation, and identify fuses the two for _"what is this creature and how do I handle it."_It returns facts, not advice — already-summarized JSON that reads like a glance at the screen, leaving the judgment to the agent.
Every tool has a reference page — parameters, return shape, real example output, caveats — in docs/tools.
The package is published to npm and ships a prebuilt bundle — there is nothing to build. Point your MCP client at it with npx:
{
"mcpServers": { "dfhack": { "command": "npx", "args": ["-y", "dfhack-mcp"] } } }
That's it for Claude Desktop / Claude Code / any stdio MCP client. npx -y dfhack-mcp fetches and runs the latest release; its runtime dependencies — the MCP SDK, zod, and the dfhack-remote-node RPC transport — are pulled from npm automatically.
Clients that browse the official MCP Registry can find this server there as `io.github.alexanderolvera/dfhack-mcp`; the listing is generated from server.json and points at the same npm package, so either route installs the identical build.
Then just have your fort running (next section) and ask your agent something like _"check on my fort and flag anything urgent."_
Prefer a pinned global install?
npm install -g dfhack-mcp # then set "command": "dfhack-mcp", "args": []
localhost:5000. This is on by default whenever DF runs with DFHack — no config file to edit. (The allow_remote setting only governs connections from _other_ machines and can stay false; a local MCP server reaches it either way.) Point elsewhere with DFHACK_HOST / DFHACK_PORT.Your agent picks the tools; you just describe what you want. The tools below are what it has to work with.
No arguments; each reports on the loaded fort.
squad_id, the id squad_orders targets), enlisted soldiers, filled positions, readiness against hostiles on the map, and per-squad roster equipment gaps (missing uniform pieces), ammo, and active training order.civilian_alert.unmet_needs().citizen for depth.unit_id you can walk), worshipped deities, notable personality extremes, skills of note, likes/detests, and recent thoughts tied to current stress.Spatial (fog-of-war honest — undiscovered tiles never leak):
?. All params optional: none → a 60×40 window on the fort core; z alone → that level's centroid; explicit corners otherwise. Hard-capped at 100×100 (oversized requests are clamped, never errored). Renders the map; never designs it.| glyph | meaning | glyph | meaning |
|---|---|---|---|
? | undiscovered (fog of war) | + | constructed floor |
# | undug stone / wall | ~ | water / brook |
, | undug soil (sand/clay/loam) | % | magma |
. | dug floor / walkable ground | W | workshop / furnace |
F | fortification | S | stockpile |
r | ramp | M | machine (gear/axle/pump/wheel/windmill) |
v | ramp top | n | furniture (bed/chair/table/door/etc) |
< > x | up / down / up-down stair | (space) | open space |
T | tree |
reveal_hidden: true bypasses fog of war (a debug/spoiler switch, default off).wiki_* are pure HTTP and work without the game; game_data / identify read a loaded world.
creature, material, plant, reaction, item, building; default creature). Ground truth for procedural creatures (demons, forgotten beasts, titans) that never reach the wiki. query is a token (DEMON_4, INORGANIC:IRON), a name ("plump helmet"), or — for creatures — a live unit_id. One strong hit → a full dossier; several → a disambiguation list; none → {"match_count":0,"matches":[]}.game_data (your world's raws) with wiki_lookup (strategy). Returns the dossier (its flags[]/interactions[] carry facts like _TRAPAVOID → mechanical traps don't work_) plus 1–2 trimmed wiki excerpts. Reach for it when a threat appears.DF2014 namespace).DF2014; follows redirects, honors section fragments, cached ~30 days.By default every tool above only reads the game. The actuators _change_ the fort, so they ship behind an explicit switch — set DFHACK_MCP_ACTUATORS and they appear in the tool list; leave it unset and the server is strictly read-only.
{
"mcpServers": { "dfhack": { "command": "npx", "args": ["-y", "dfhack-mcp"], "env": { "DFHACK_MCP_ACTUATORS": "1" } } } }
Every actuator uses the same preview → confirm → apply → undo safety loop, so a change is never a surprise:
preview of exactly what would change — facts, never advice — plus a single-use confirm_token. Nothing is written. If the operation can't be applied as asked (e.g. a malformed blueprint), the preview reports why and no token is issued.undo handle and a readback from the matching sensor confirming the change.Tokens are single-use and target-scoped: an unrelated change elsewhere in the fort does not void them, but a change to the target does. Each
只显示了开头部分;其余内容请在仓库中阅读