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 分