CadCraft Studio

com.getcadcraft由 getcadcraft.com 发布v0.9.1更新于 Nov 11, 2026

Tools for drawings, models, takeoffs and markups in the CadCraft apps, plus a command line.

发布方自己的服务:Craft

概览

AI 生成的概览

CadCraft Studio 的本地 MCP 服务器,让助手在你允许的文件夹内读取、编辑、保存并导出 CAD、BIM、工程量与标注文件。

可以做什么
  • 读取并检查 DWG/DXF 图纸、IFC 模型、CivilCraft 场地、PartCraft 零件、工程量清单与 PDF 标注
  • 在应用中运行命令和脚本,每次调用为一个撤销步骤
  • 保存文件,并导出为 PDF、SVG、CSV/XLSX、LandXML、STL/3MF/STEP、OpenUSD 及 PartCraft 手册
  • 把每次调用记录到 JSON 活动日志
  • 在本机 AI 应用设置中添加或移除连接,并输出工具的 OpenAPI 描述
适用场景
适合让助手直接处理本机上的制图与模型文件,例如检查图纸、运行清理脚本、统计图块、转换格式或生成导出文件,而无需打开应用窗口。
运行要求
通过 npx 以 stdio 在本机运行,需要 Node.js 20.19 或更高版本。必须至少指定一个 --root 文件夹,否则无法访问任何文件;权限通过 --allow(read、edit、save、export)或 CADCRAFT_MCP_ROOTS、CADCRAFT_MCP_ALLOW 变量设置。部分工具需要打开 CadCraft Studio,各应用在其中有独立的 Read/Suggest/Edit/Save/Export 开关。
安装前请注意
它能在你授权的文件夹中运行命令和脚本、写入或导出文件,因此 --root 应尽量收窄。助手读取的内容会发送给运行该助手的一方(包括云端服务商),敏感文件夹不要加入 --root。Studio 将连接密钥保存在本机文件中;setup 命令会修改 AI 应用设置,可用 unsetup 撤销。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@getcadcraft/mcp

CadCraft's tools for AI assistants and scripts: an MCP server (cadcraft-mcp, stdio) and a command line (cadcraft). They run the CadCraft apps' own code with no window: DWG and DXF drawings (CadCraft), IFC models (BimCraft), CivilCraft sites, PartCraft parts, takeoffs (TakeoffCraft) and PDF markups (MarkupCraft). The apps contain no AI; your assistant brings its own, and you decide what it may touch. Node.js 20.19 or newer.

MCP server

npx -y @getcadcraft/mcp --root ~/Drawings --allow read,edit
  • --root <folder> (repeat for more): the only folders it opens files in and writes to. Without one, no file is reachable.
  • --allow: read (default) · edit (run commands and scripts; each call one undo step) · save (write files) · export (PDF, SVG, conversions, CSV/XLSX, LandXML, STL/3MF/STEP, OpenUSD, PartCraft manuals).
  • --log activity.jsonl: every call as a JSON line. Environment: CADCRAFT_MCP_ROOTS, CADCRAFT_MCP_ALLOW.

Connect to CadCraft Studio (the apps' windows)

npx -y @getcadcraft/mcp setup           # finds your AI apps, shows what it will write, asks firstnpx -y @getcadcraft/mcp setup --list    # what it looked fornpx -y @getcadcraft/mcp unsetup         # takes CadCraft out of their settings againnpx -y @getcadcraft/mcp openapi > cadcraft-tools.openapi.json   # the same tools as an OpenAPI 3.1 description

setup adds one entry, npx -y @getcadcraft/mcp connect, to the settings of the AI apps it finds on your computer (the setup cards on getcadcraft.com/connect-ai list them). That entry holds no password; CadCraft Studio keeps its connection secret in a file only you can read, and connect reads it each time. Open CadCraft Studio, then ask your AI: "Use the CadCraft tools: list the apps you can reach." The tools are named by app (cad_…, bim_…, model_…, markup_…, takeoff_…, civil_…, detail_…, part_…); each app has its own Read / Suggest / Edit / Save / Export switches in Studio.

In your assistant's MCP settings, add it as a stdio server: {"mcpServers": {"cadcraft": {"command": "npx", "args": ["-y", "@getcadcraft/mcp", "--root", "/Users/me/Drawings"]}}}

What your assistant reads goes to whoever runs that assistant: a cloud assistant's maker sees the parts of the files it is shown. Keep folders out of --root when that matters.

Command line

cadcraft info plan.dwgcadcraft run cleanup.scr plan.dwg -o plan-clean.dwgcadcraft convert plan.dwg plan.dxf --version 2018cadcraft convert *.dwg out --to dxfcadcraft plot plan.dwg plan.pdf --allcadcraft check *.dwg --rules rules.jsoncadcraft convert site.civilcraft.json site.xmlcadcraft convert bracket.partcraft.json bracket.stlcadcraft convert bracket.partcraft.json bracket.usdzcadcraft convert linkage.partcraft-manual.json linkage.pdfcadcraft count kitchen.dwg --block SHELF-18X48 --sheet K-101cadcraft tools

--json on any command; exit codes 0 ok, 1 problems, 2 bad usage. cadcraft tools lists every tool and which ones need the app open in CadCraft Studio. Apache-2.0. https://getcadcraft.com

来源:README.md,提交 da9855a

工具

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

版本历史

1
  1. v0.9.1最新Nov 11, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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

其他 Craft 集成