Anvil

io.github.The-Warl0ck由 GitHub 账号 The-Warl0ck 发布v0.1.2更新于 Oct 24, 2026

Local physics/chemistry bench as MCP: plain words in, 12-domain simulations out.

概览

AI 生成的概览

Anvil 是一个本地 MCP 工作台,把自然语言工程需求转化为 12 个领域的物理与化学模拟、验证指标以及可打印的 3D/CAD 文件。

可以做什么
列出 12 个模拟领域及各自模拟的内容,例如硅片、机械、化学、光学和天体位置。根据自然语言意图(可指定领域)生成蓝图,使用本地模板并解析请求中的数值。用对应领域求解器求解蓝图,返回确定性快照以及带容差和通过/警告状态的验证指标。将蓝图几何导出为 ASCII STL 或 OBJ 文本,用于 3D 打印或 CAD。
适用场景
适合助手需要在本地起草并初步检验工程或科学设计时使用,例如电路、机械零件、合金或光学布局,并在实际制造前得到可打印网格和支撑数据。
运行要求
作为本地 stdio 进程在用户机器上运行,可通过 npx 或克隆仓库启动。需要 Node.js 20 或更高版本。无需 API 密钥、账户或网络访问。可选环境变量 ANVIL_HOME 指定保存设计和导出文件的位置。
安装前请注意
工具会向本地 ANVIL_HOME 目录(默认 ~/.anvil)写入文件,导出和保存的设计会落到磁盘上。结果是基于模板的模拟与验证指标,并非经过验证的工程分析;在打印或建造前应仅作为起点参考。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Anvil,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

anvil-mcp

Anvil — a full workbench for your agent.

No cloud. No Bridge. No API key. No LLM inside — the tools are pure computation; your agent host brings the thinking.

Plain words in — your agent forges the design, tests it against proof metrics, iterates until it passes, and hands you the file. You never touch a tool.

30 seconds

you:    "I need a 5-stage CMOS ring oscillator at 7nm — prove it works         before I print anything."
agent:  anvil.forge  → blueprint: silicon · 8 nodes · "5-stage ring at 7 nm, VDD 0.75 V."        anvil.solve  → [pass] Joule power · [pass] junction temp · [warn] EM margin thin        anvil.forge  → widens the vias, re-forges        anvil.solve  → all metrics pass        anvil.export → 532 triangles of ASCII STL
you get: the printable file, plus the proof it works.

Install

Requires Node ≥ 20. No build step needed for use:

sh
npx github:The-Warl0ck/anvil-mcp

Or clone and run:

sh
git clone https://github.com/The-Warl0ck/anvil-mcpcd anvil-mcpnpm installnpm run buildnpm start

Claude Desktop

Add to your claude_desktop_config.json:

json
{  "mcpServers": {    "anvil": {      "command": "npx",      "args": ["github:The-Warl0ck/anvil-mcp"]    }  }}

Tools

ToolInputOutput
anvil.domains{}The 12 domains and what each simulates
anvil.forge{ intent, domain? }Blueprint JSON + rationale (offline — no LLM in the tool itself)
anvil.solve{ blueprint, steps? }SimSnapshot + ProofMetric[] with real numbers
anvil.export{ blueprint, format }STL (ASCII) or OBJ text for 3D printing / CAD

The 12 domains

silicon (nets, delay, heat, electromigration) · cellular (membranes, ions, morphogens) · quantum (wells, tunneling, decoherence) · neural (spikes, region flows) · mechanical (stress, modes, yield) · chemistry (mass-action kinetics, ΔH, equilibrium) · architecture (plans, interiors, circulation) · metallurgy (alloys, CE, melt, print window) · robotics (arms, torque, reach, payload) · machines (engines, gears, printable parts) · optics (geometry, gnomon, shadows, sundials) · sky (sun position / ephemeris)

How it works

  1. anvil.forge — readIntent scores your words against per-domain keyword sets, picks a domain, and forgeOffline builds a schematic graph (nodes, edges, physical params) from templates plus your numbers (e.g. "7nm", "5-stage", "0.75 V"). Pure local compute.
  2. anvil.solve — createSolver dispatches to the domain solver (Kirchhoff MNA for silicon, Euler–Bernoulli for mechanical, mass-action for chemistry, …), steps it, and returns a snapshot plus proof metrics — checks with real tolerances and statuses.
  3. anvil.export — blueprint geometry meshed to ASCII STL or OBJ text.

Everything runs in-process. There is no network call anywhere in the default path.

Config

Optional — nothing is required to run:

sh
ANVIL_HOME=~/.anvil   # where saved designs / assets / exports live (default ~/.anvil)

Notes

  • Any OpenAI-compatible "mouth" (LM Studio, etc.) is a future opt-in, not part of v1. The kernel speaks blueprints, not prose, and that's the point.
  • anvil.solve returns a deterministic snapshot after N steps of the solver's recommended dt — no wall-clock randomness.
  • Apache-2.0. See LICENSE.

来源:README.md,提交 83e8e83

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.2最新Sep 26, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分