luomu-cad
This server provides an MCP toolset for AI-agent CAD drafting, offline DXF/PDF generation, geometry QA, standards-aware delivery review, and optional live AutoCAD automation.
Generate and revise room plans, elevations, sections, casework, wall/opening components, curved walls, redraws, and PDF/DXF atlases.
Extract vector PDFs into source-derived DXF inventories and export DXF to vector PDF at explicit scale/paper/window.
Audit saved DXF geometry, compare document states, check dimension chains, inspect source inventories, read job status, and run layout optimization.
Route 29 industry drawing types and standards, check project standards/evidence, and run professional profile measurements.
Prepare, start, and poll an isolated review agent, then perform customer-bound delivery acceptance with independent evidence.
Automate live AutoCAD on Windows: start/connect, list/read/activate/close documents, mutate entities, save-as, preview, inspect native facts/snapshots, and configure text styles.
Coordinate shared CAD access with claim/amend/release permissions and revisions; log live-write operations.
Optionally bridge DWG/DXF through a separately installed LibreCAD CLI with status, probe, and verified conversion.
Build and review 3D solids/STEP/BREP outputs through an isolated CAD engine, with feature checks and numeric contracts.
Research/learn technical material, manage technical cards and training sequences, assess interaction evidence, and capture CAD performance/presentation state.
Allows the MCP server to attach to an active instance of AutoCAD on Windows to read documents and entities, enabling direct reading and writing operations within the application.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@luomu-cad Generate a two-room DXF from examples/two-room.json as demo-001 and check geometry."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
中文 | English
DraftSeal
面向 AI Agent 的 CAD 制图工具,支持离线 DXF 出图、几何质检和独立交付审查。
DraftSeal 原名 Luomu CAD。现有 1.0.0 发行版已迁移至 luomufanye-cloud/draftseal,可通过以下命令安装(原 npx github:luomufanye-cloud/luomu-cad 命令仅作迁移兼容保留)。安装与自检 · AI 文档入口
npx github:luomufanye-cloud/draftseal --target claude面向 Claude Code、Codex、OpenCode、Cursor、CodeBuddy、Gemini CLI 等 Agent 宿主的通用工程制图 Skill 与本地 stdio MCP 工具集:把 离线 DXF 出图、矢量 PDF 逆向提取、本机 AutoCAD 多窗口并行读写、三维参数化内核(CadQuery / IfcOpenShell / FreeSewing)与几何实测质检 装进同一个通用包。
标准可追溯:覆盖 29 个行业图种、13 类专业配置、98 条已查证国标 / 行业标准 / 国际标准题录(另含 7 条行业增补标准)与 6 张原创行业参考图,按行业隔离选标,不跨专业乱套。
默认保护原件:离线与活动图纸修改默认在原图上原地修订,PDF 与新副本仅在明确请求时输出。
独立审查门禁:每一份图纸交付前都要交由
luomu-cad-reviewer基于哈希锁定原件与实测读回独立取证,工具调用成功不算数。
当前版本 1.0.0(2026-11-27) · 更新记录 · 本版验证 · 专业能力 · 参与贡献 · 作者
能做什么
DraftSeal 提供 CAD 方法组合、语义结构独立评测与 CadQuery / IfcOpenShell / FreeSewing 原装内核入口。技术组合 · 运行方式
你需要 | 入口 |
房间级平面、地天花完成面、墙面立面、定向剖面、目录图册(PDF 按需导出) |
|
柜体平面 / 正立面 / 侧剖,跨图共享尺寸 |
|
门窗家具洁具构件、墙体切洞、开启弧 |
|
按参考图逐笔复绘,保留原文字、尺寸、图名 |
|
PDF 图纸转可编辑 DXF,保留字形、线宽、填充、裁切 |
|
几何质检:零长度、重复线、自交、尺寸覆盖 |
|
分行业图种与标准依据链(29 个行业 / 13 类专业配置 / 98 条已查证标准题录) |
|
按行业学制图:机械、产品、空间、环境、景观、食品加工的学习要点与原创示例图纸 | 行业学习要点 · |
三维零件:CadQuery 出 STEP、IFC 洞口布尔、FreeSewing 纸样 |
|
操作已开着的 AutoCAD:读实体、改图、原生预览、DWG 另存 |
|
施工节点与技术知识卡:防水连续性、风盘安装、接地、穿楼板 |
|
交付前独立审查:不给生成者答案,只读原件取证 |
|
三维机械与产品零件可使用实体建模与量测验收,接入独立实体运行时,核对原生特征、四视图与原坐标修改体积;按任务需要安装。
实际绘图和交付以项目标准依据为基础:跨行业索引提供候选,项目核实地区、专业、版本及条文,再关联实际检查证据。完整复绘交付检查要求标准依据记录;题录入库不代表全文合规或专业批准。
Related MCP server: dxf-cad-mcp
原创行业参考图展示(6 张)
六张按专业图种绘制的 A3 学习样图。模型空间按实际毫米尺寸绘制,预览直接从对应 DXF 出图。点击图片查看整张大图,点击 DXF 获取可编辑原图。各专业的表达要点与复核方法见行业学习索引。
行业覆盖与国标 / 行业标准索引
已内置 29 个行业图种 与 98 条已查证标准题录(另含 7 条 行业分类增补标准),通过 workbench_industry 与 workbench_standards 按行业隔离选路。
边界说明:本索引提供经来源核实的题录、发布/引用层级与选标入口(含
official_fulltext、official_metadata、issuer_notice、government_citation等),不替代标准全文阅读、专业计算或法定工程审查。完整机器可读索引见 standards-catalogue.json 与 industry-delivery.json。
通用制图与基础国标(general)
标准编号 | 标准名称 | 分类层级 | 实施日期 |
| CAD工程制图规则 | drawing | 2001-05-01 |
| 技术制图 图纸幅面和格式 | drawing | 2009-01-01 |
| 技术制图 比例 | drawing | 1994-07-01 |
| 技术制图 图线 | drawing | 1999-07-01 |
| 技术制图 标题栏 | drawing | 2009-01-01 |
| CAD文件管理 总则 | data_delivery | 2000-01-01 |
| Technical product documentation — General principles of representation — Part 1 | drawing | — |
| 技术制图 字体 | drawing | 1994-07-01 |
| 技术制图 投影法 | drawing | 2009-01-01 |
29 个行业对应国标与行业标准总表
# | 行业(ID) | 图种范围 | 对应国标 / 行业标准 / 国际标准 |
1 | 空间规划 ( | 空间分区与净面积、出入口与动线 |
|
2 | 室内装修 ( | 原始框架图、平面布置图、家具尺寸图、地面铺装图、天花布置图、灯具定位图、吊顶尺寸图、开关路线图、插座布置图、水路布置图、立面索引图、客餐厅立面图、主卧立面图、古筝立面图、次卧立面图、书房立面图、厨房立面图、主卫立面图、公卫立面图 |
|
3 | 商店与商业空间 ( | 经营布局与定位、柜台货架与店招深化、物业与设备接口 |
|
4 | 室外与场地 ( | 场地总平定位、场地竖向与排水、道路场地节点 |
|
5 | 园林景观 ( | 景观总平面、竖向排水、种植与苗木表、铺装与构筑物节点 |
|
6 | 建筑 ( | 总平面图、各层平面图、建筑立面图、建筑剖面图、建筑详图及门窗表 |
|
7 | 建筑结构 ( | 结构布置图、构件配筋图、结构节点详图 |
|
8 | 建筑给排水 ( | 给排水平面图、系统与立管图、安装节点与设备表 |
|
9 | 建筑电气 ( | 照明插座与线路平面、配电系统和回路表、接地防雷与安装详图 |
|
10 | 电器与电子电路 ( | 电路原理图、印制板与装配图、接线及端子图 |
|
11 | 服装制版 ( | 净样毛样及工艺标记、号型放码、排料与裁床交换 |
|
12 | 产品外观与结构 ( | 产品零件多视图、装配与接口图、材料工艺和技术要求 |
|
13 | 机械设计制造 ( | 机械零件图、机械装配图、尺寸与检验图 |
|
14 | 暖通空调 ( | 风管水管平面、系统原理图、设备安装详图 |
|
15 | 电力工程 ( | 一次系统图、二次原理接线、站所与线路布置 |
|
16 | 工艺与工业管道 ( | 工艺管仪图、管道布置与轴测、支吊架和材料表 |
|
17 | 水利水电 ( | 水工建筑平立剖、水利勘测图、水力机械与电气、水土保持图 |
|
18 | 公路道路工程 ( | 路线平纵面、路基路面横断面、排水与沿线设施 |
|
19 | 铁路工程 ( | 线路平纵断面、轨道及站场、桥隧与接口图 |
|
20 | 船舶与海工 ( | 船舶总布置、船体结构与节点、船舶系统与机装 |
|
21 | 测绘与地理信息 ( | 地形图、控制点及测量成果、地理数据交付 |
|
22 | 矿山工程 ( | 井巷与采掘布置、通风安全系统、安全专题图 |
|
23 | 航空航天 ( | 航空零件定义、装配与接口控制、检验与构型文件 |
|
24 | BIM与工程数据交付 ( | 信息模型及专业协同、交换模型与信息表、模型与图纸对照 |
|
25 | 鞋楦与鞋样 ( | 鞋楦曲面与尺寸、鞋面底部样版、级放与生产交换 |
|
26 | 家具与定制柜体 ( | 家具平面与安装定位、家具立面剖面与节点、板件及工艺交付 |
|
27 | 市政公用工程 ( | 市政管网综合平面、纵断面及构筑物、市政设施节点及工程量 |
|
28 | 桥梁与隧道 ( | 桥隧总体与线路关系、结构构件与施工节点、隧道附属系统与监测 |
|
29 | 食品加工厂房与设备 ( | 厂区总平面与功能分区、车间工艺平面布置与作业区划分、给排水、通风与洁净分区 |
|
编号 | 名称 | 适用学科/行业 | 层级 | 核实级别 |
| CAD工程制图规则 |
| drawing | official_metadata |
| 技术制图 图纸幅面和格式 |
| drawing | official_metadata |
| 技术制图 比例 |
| drawing | official_metadata |
| 技术制图 图线 |
| drawing | official_metadata |
| 技术制图 标题栏 |
| drawing | official_metadata |
| CAD文件管理 总则 |
| data_delivery | official_metadata |
| 机械工程 CAD制图规则 |
| drawing | official_metadata |
| 机械制图 尺寸注法 |
| drawing | official_metadata |
| 产品几何技术规范(GPS) 几何公差 形状、方向、位置和跳动公差标注 |
| drawing | official_metadata |
| 电气工程CAD制图规则 |
| drawing | official_metadata |
| 电气简图用图形符号 第11部分:建筑安装平面布置图 |
| drawing | official_metadata |
| 房屋建筑制图统一标准 |
| drawing | issuer_notice_and_selected_text |
| 建筑制图标准 |
| drawing | government_catalogue_excerpt |
| 建筑结构制图标准 |
| drawing | government_catalogue_excerpt |
| 建筑给水排水制图标准 |
| drawing | government_catalogue_excerpt |
| 暖通空调制图标准 |
| drawing | government_catalogue_excerpt |
| 建筑电气制图标准 |
| drawing | government_catalogue_excerpt |
| 房屋建筑室内装饰装修制图标准 |
| drawing | government_catalogue_excerpt |
| 建筑防火通用规范 |
| design | issuer_notice |
| 建筑与市政工程施工质量控制通用规范 |
| construction_acceptance | issuer_notice |
| 建筑信息模型设计交付标准 |
| data_delivery | issuer_notice |
| 技术制图 管路系统的图形符号 基本原则 |
| drawing | official_metadata |
| 技术制图 管路系统的图形符号 阀门和控制元件 |
| drawing | official_metadata |
| 电力工程制图标准 第1部分 一般规则部分 |
| drawing | official_metadata |
| 水利水电工程制图 第1部分:基础制图 |
| drawing | government_reprint |
| 水利水电工程制图 第2部分:水工建筑图 |
| drawing | government_reprint |
| 水利水电工程制图 第3部分:勘测图 |
| drawing | government_reprint |
| 水利水电工程制图 第4部分:水力机械图 |
| drawing | government_reprint |
| 水利水电工程制图 第5部分:电气图 |
| drawing | government_reprint |
| 水利水电工程制图 第6部分:水土保持图 |
| drawing | government_reprint |
| 水利水电工程制图标准 基础制图 |
| drawing | government_reprint |
| 铁路工程制图标准 |
| drawing | official_catalogue_search_excerpt |
| 铁路工程图形符号标准 |
| drawing | official_catalogue_search_excerpt |
| 金属船体制图 第1部分:一般规定 |
| drawing | official_metadata |
| 印制板制图 |
| drawing | official_metadata |
| 国家基本比例尺地图图式 第1部分:1:500 1:1 000 1:2 000地形图图式 |
| drawing | official_metadata |
| 煤矿防突预测图绘制规范 |
| drawing | official_metadata |
| 公路工程标准体系 |
| design | issuer_notice |
| 公路路线设计规范 |
| design | issuer_notice |
| Technical product documentation — General principles of representation — Part 1 |
| drawing | official_metadata |
| Dimensioning and Tolerancing |
| drawing | official_metadata |
| Preparation of documents used in electrotechnology — Part 1: Rules |
| drawing | official_metadata |
| Information management using building information modelling — Part 1: Concepts and principles |
| data_delivery | official_metadata |
| 服装制图 |
| drawing | official_metadata |
| 服装CAD技术规范 |
| drawing | official_metadata |
| 服装CAD电子数据交换格式 第1部分 样版数据 |
| data_delivery | official_metadata |
| 服装CAD电子数据交换格式 第2部分 排料数据 |
| data_delivery | official_metadata |
| 风景园林制图标准 |
| drawing | official_metadata |
| 建筑工程设计文件编制深度规定(2016年版) |
| data_delivery | official_metadata |
| 园林设计文件内容及深度要求 |
| data_delivery | official_fulltext |
| 技术制图 字体 |
| drawing | official_metadata |
| 技术制图 投影法 |
| drawing | official_metadata |
| 机械制图 图样画法 图线 |
| drawing | official_metadata |
| 机械制图 剖面区域的表示法 |
| drawing | official_metadata |
| 机械制图 图样画法 视图 |
| drawing | official_metadata |
| 机械制图 装配图中零、部件序号及其编排方法 |
| drawing | official_metadata |
| 机械制图 轴测图 |
| drawing | official_metadata |
| 机械制图 尺寸公差与配合注法 |
| drawing | official_metadata |
| 机械制图 图样画法 剖视图和断面图 |
| drawing | official_metadata |
| 机械制图 螺纹及螺纹紧固件表示法 |
| drawing | official_metadata |
| 机械制图 齿轮表示法 |
| drawing | official_metadata |
| 技术制图 明细栏 |
| drawing | official_metadata |
| 技术制图 简化表示法 第1部分:图样画法 |
| drawing | official_metadata |
| 技术制图 简化表示法 第2部分:尺寸注法 |
| drawing | official_metadata |
| 产品几何技术规范(GPS) 技术产品文件中表面结构的表示法 |
| drawing | official_metadata |
| 产品几何技术规范(GPS) 线性尺寸公差ISO代号体系 第1部分:公差、偏差和配合的基础 |
| design | official_metadata |
| 一般公差 未注公差的线性和角度尺寸的公差 |
| design | official_metadata |
| 焊缝符号表示法 |
| drawing | official_metadata |
| 中国成年人人体尺寸 |
| design | official_metadata |
| 中国未成年人人体尺寸 |
| design | official_metadata |
| 在产品设计中应用人体尺寸百分位数的通则 |
| design | official_metadata |
| 工作空间人体尺寸 |
| design | official_metadata |
| 人类工效学 工作岗位尺寸 设计原则及其数值 |
| design | official_metadata |
| 家具 桌、椅、凳类主要尺寸 |
| design | official_metadata |
| 家具 柜类主要尺寸 |
| design | official_metadata |
| 家具 床类主要尺寸 |
| design | official_metadata |
| 包装储运图形符号标志 |
| drawing | official_metadata |
| 公共信息导向系统 导向要素的设计原则与要求 第1部分:总则 |
| design | official_metadata |
| 公共信息导向系统 设置原则与要求 第1部分:总则 |
| design | official_metadata |
| 公共信息图形符号 第1部分:通用符号 |
| drawing | official_metadata |
| 民用建筑通用规范 |
| design | issuer_notice |
| 民用建筑设计统一标准 |
| design | issuer_notice |
| 建筑与市政工程无障碍通用规范 |
| design | issuer_notice |
| 建筑内部装修设计防火规范 |
| design | issuer_notice |
| 建筑环境通用规范 |
| design | issuer_notice |
| 建筑照明设计标准 |
| design | issuer_notice |
| 公园设计规范 |
| design | government_reprint |
| 园林绿化工程项目规范 |
| design | issuer_notice |
| 城市绿地分类标准 |
| design | issuer_notice |
| 城市居住区规划设计标准 |
| design | issuer_notice |
| 总图制图标准 |
| drawing | government_citation |
| 食品安全国家标准 食品生产通用卫生规范 |
| design | official_fulltext |
| 食品机械安全要求 |
| design | official_metadata |
| 洁净室及相关受控环境 第1部分:按粒子浓度划分空气洁净度等级 |
| design | official_metadata |
| 食品工业洁净用房建筑技术规范 |
| design | government_citation |
| 洁净厂房设计规范 |
| design | government_citation |
| 工业企业总平面设计规范 |
| design | government_citation |
| 建筑设计防火规范 |
| design | issuer_notice |
| 造船 船舶布置图中元件表示法 |
| drawing | official_metadata |
| 中国鞋楦系列 |
| design | official_metadata |
| 鞋类通用安全要求 |
| design | official_metadata |
| 家具制图 |
| drawing | official_metadata |
| 木家具通用技术条件 |
| construction_acceptance | official_metadata |
| 市政公用工程设计文件编制深度规定(2025年版) |
| data_delivery | official_metadata |
| 公路桥涵设计通用规范 |
| design | official_publication |
没有 AutoCAD 怎么办
多数任务不需要 AutoCAD,按任务对号:
任务 | 需要 AutoCAD |
离线生成 DXF、几何质检、技术知识卡 | 不需要 |
读参考 DXF、构件清点、尺寸链核对 | 不需要 |
PDF 矢量提取转可编辑 DXF | 不需要 |
三维零件 STEP / IFC 构件 / 服装纸样 | 不需要(另装对应内核) |
图片识读、参考复绘 | 不需要 |
把 DXF 转成 DWG 交给用 AutoCAD 的甲方 | 不需要(另装带 DWGSUPPORT 的 LibreCAD CLI) |
读客户发来的 DWG,转成可编辑 DXF | 不需要(同上) |
读写活动 DWG、原生预览、DWG 另存 | 需要:Windows + 已运行的 AutoCAD + 可用许可 + MCP 会话授权 |
离线 DWG 互换是可选后端,由 workbench_dwg_bridge 外部调用用户自己安装的 LibreCAD 命令行程序,不读写活动 CAD。它当前在能力清单里登记为 blocked:本机尚无真实往返证据,安装后先跑 workbench_dwg_bridge(operation="probe"),通过才提升为 pilot。三条硬约束(GPL-2.0 只外部调用、必须带 DWGSUPPORT 构建、Windows GUI 退出码不可信)见LibreCAD 无头 DWG 后端。
纯云端沙箱无法附着桌面 CAD。离线功能在 Python 3.11/3.12 的其他系统上也可用 uv 运行,完整条件见运行方式。
快速开始
下载通用源码包,解压到
luomu-cad技能目录,让SKILL.md位于该目录根部。下载 1.0.0 通用包宿主能读取 Agent Skills 时,把完整目录放进它的技能目录。支持本地 stdio MCP 时,可直接注册随包工具。能执行命令的 Agent 也可通过命令行完成离线任务。见多宿主接入。
需要执行工具时,先做安装自检。在宿主注册 MCP 时,再按它的格式填写
runtime/mcp-config.json中的command、args和env。
有 Node.js 18+ 与 Git 时,也可以使用安装器。以下命令以 Claude Code 为例。
npx github:luomufanye-cloud/draftseal --target claude--target 可选 claude / codex / cursor / codebuddy / agents,多个用逗号隔开,all 为全部。默认只安装到已有 Skills 目录的宿主。用 --dry-run 预览安装计划。安装器会检查目标目录的仓库归属。已有 luomu-cad 安装在原目录更新,旧命令 npx github:luomufanye-cloud/luomu-cad 仍可使用。
如果 npm 解析 github: 地址时报告 Git 错误,可从 GitHub 的 HTTPS 源码包启动安装器。
npm exec --yes --package=https://codeload.github.com/luomufanye-cloud/draftseal/tar.gz/refs/heads/main -- draftseal --target claude能力状态以 capabilities.yaml 为唯一真源。 每项能力的
verified/pilot/blocked等级、依赖条件、限制与验证证据路径都写在里面;文档描述与它冲突时以它为准。给 Agent 派活之前先查这一份,比读 60 篇散文快得多。
1.0.0 更新
独立 AutoCAD 窗口并行。一个 Agent 可以注册两条专用 MCP 服务,多个 Agent 也可以各自注册一条。每条服务显式启动并绑定自己的 AutoCAD 进程,按实际窗口协调写入,按配置名记录操作日志。
同一个 AutoCAD 实例内的任务排队。一个窗口里的多个图纸标签共用同一把任务锁,写入继续校对当前图纸 token。
已有图纸和图册默认原地修订。离线改图先暂存和校核,再更新当前图纸、清单与回执。上次生成的 PDF 仍保留,未随修订更新的文件会列在
stale_files。PDF 和新副本按明确请求生成。图册默认出 DXF。若脚本依赖旧默认,按工具设置
export_pdf=true、explicit_request=true或new_copy=true。继承 0.17.1 的 AutoCAD 启动修复。启动前补回宿主环境中缺失的 Windows 登录变量,修复由该缺失引起的许可代理崩溃。验证条件见本版验证。
配置与启动步骤见多窗口任务说明。历史版本的行业标准、绘图与安装器变化见更新记录。
本仓库是供 Agent 进行图纸读取、参考复绘、离线 DXF 生成、局部修改、图纸检查及技术资料学习的通用 CAD 辅助 Skill。当前版本包含多模型独立审查、共享 CAD 任务协调和操作授权记录,并保留 29 类行业图种与标准隔离、13 类专业配置、Luomu CAD 构件库、共享房间图册及原生 DWG 对应验收。各行业工程交付与图片识读须按实际任务取证验收。
功能
行业学习要点与示例图纸:机械、产品、空间、环境、景观、食品加工六个行业的图纸组成、制图要点、设计复核项和常见错误,各配一张可复现的原创示例DXF(
examples/learning-*.dxf);标准查路线时直接返回对应要点和示例。只放题录、官方阅读入口与原创归纳,不含标准全文。共享项目与图册联动:统一房间完成面、墙体宿主、门窗、柜体、标高与材料编号,生成平面、地面/天花完成面、墙面立面、定向剖面及有目录/书签的PDF图册;记录修订和受影响图页。当前不包含19类完整施工图。
可调用执行工具:源清单复绘、圆弧墙与弧长洞口、指定纸张和比例的矢量PDF;另提供显式CAD启动及新路径DWG另存MCP接口。
PDF表现转换:按实测字形匹配文字,保留纸面线宽、颜色、透明度与填充孔洞;检查实际运行版本和同背景图面对照。
复绘源图检查:独立源对象清单、输出映射及当前图面对照记录共同验收,检查缺项、曲线弧向、线型和中文映射;局部结构自检不等于完整复绘。
家具摆放关系:按明确的背墙、间隙和旋转检查靠墙位置,核对使用区域;独立摆放须说明功能依据。
模型调用与交付检查:固定活动CAD/离线文件目标,保留原始工具错误;检查带家具任务的配置、通行区域和实际图纸内容。
根据明确位置和尺寸生成可编辑家具、厨卫设备简化图块,检查其与墙、门扇、通道及所属房间的几何关系。
CAD参考图读取与核对:读取图纸单位、嵌套图块和文字,核对构件的位置、方向,以及分段尺寸与总尺寸是否一致。
按明确的毫米参数生成直线墙体、门窗、中文房间标注、原生尺寸、门窗表、A3/A1模型空间图框及PNG预览。
在原图上修改指定门窗,刷新其宿主墙、尺寸和关联表格,核对其他对象的实体哈希,核对通过才写回;用户明确要求保留原图时才另建副本。
回读DXF检查零长度、重复线、自交及尺寸覆盖,并实测生成门窗的宽度和开洞。
中文显示与尺寸界线:配置字体文件和字体族,检查中文映射与短界线参数;保留真实测量,按目标比例控制留白,并在目标CAD查看原生显示。
参考复绘按忠实复绘流程核对原生尺寸、显示文字、声明的样式/文字位置及内容清单;局改按基线哈希检测范围外变化和额外新增,保护前轮修正。
栅格复绘与交互检查:明确未定尺源坐标,检查构件范围、线稿复杂度和门的几何关系;只读性能快照与实际操作反馈分开记录。
根据给定的房间范围、家具尺寸和通行净距,辅助计算矩形家具布局,并避开指定的出入口及通道;支持的形状和计算条件见布局工具说明。
通过Scrapling解析公开资料,记录来源、时间、图注与文档链接,去重、检索并蒸馏经审阅的工作方法。
提供节点构造、施工工序、材料参数和专业系统的技术资料与练习,支持工序顺序、参数适用条件和端子连接检查,见专业主题与验证范围。
Windows下通过本项目MCP服务端附着已运行的AutoCAD,读取文档和实体;写入需显式会话开关、文档身份及操作ID。
安装到Agent
本仓库同时提供默认独立验收子代理 luomu-cad-reviewer、分行业交付分类和客户需求绑定检查器。正常安装验证入口会配置项目级原生子代理;对另一个客户项目可传 -AgentProjectRoot 指定目录。角色安装、宿主发现和真实独立审核分别记录,支持情况见安装说明。客户交付须逐项通过,不以绘图工具返回成功或CI通过代替验收。
柜体的平面、正立面和侧剖可通过共享尺寸多视图生成并回读。明确柜高是否包含收口,核对跨图尺寸和原生标注;提供板厚时绘制选定格板件剖面。此入口不承担五金加工或整套室内施工图。
安装和运行使用同一个通用包。保留 SKILL.md、scripts、src、references、examples 和依赖锁文件。各宿主的技能目录、刷新方式和 MCP 配置以对应版本为准。见多宿主接入。
运行条件:
项目 | 条件 |
自动初始化入口 | Windows x86_64、PowerShell,以及可写入的技能目录;环境和结果写入本目录下的.venv、runtime、outputs |
首次依赖准备 | 能访问所需包源和官方运行时下载地址。脚本使用uv准备独立Python 3.11环境;找不到uv时包含下载并校验官方uv的分支 |
Agent权限 | 阅读资料需要文件访问。工具调用需要本地 stdio MCP,或能运行命令和子进程的环境 |
离线DXF、几何检查与知识卡 | 无需安装AutoCAD;公开资料采集另外需要网络,并受来源访问条件约束 |
活动AutoCAD | Windows上已安装且正在运行的、可通过ActiveX访问的AutoCAD;还需MCP会话及对应操作授权 |
基础离线功能也可在Python 3.11/3.12的其他系统上使用uv运行;run.ps1自动入口面向Windows,其他系统与各宿主的完整安装流程尚未逐一验收。
可以把这段话交给Agent:
安装 Luomu CAD 通用源码包并保留完整目录。读取 SKILL.md 和 references/usage.md,按当前宿主选择 Skill、stdio MCP 或命令行。运行适用于当前系统的安装自检,核对退出码和 DXF 回读后报告实际输出位置。操作活动 AutoCAD 前先确认本机连接和操作授权。
一条命令验收安装
在 Windows 的技能根目录运行。
powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\scripts\run.ps1 -Action verify在已装有 uv 的类 Unix 环境中,也可使用 Python 入口。
uv sync --python 3.11 --locked --no-editable
uv run --no-sync python scripts/verify_install.py该命令先准备独立环境,再经真实stdio MCP完成服务检查和示例出图,重新读取生成的DXF、核对几何和产物哈希,并检查PNG是否有效。它不连接或修改AutoCAD;相同软件版本和输入重复执行时复用经过哈希核验的自检产物,不重复叠画。
成功应同时满足:进程退出码0、最终JSON的ok=true、checks中的artifact_hashes/dxf_readback/preview_file均为PASS。报告位于runtime/verification/installation.json,示例结果位于返回的artifacts路径。图面人工检查和专业审核仍分别标记,不由安装验收自动判为通过。
命令还会生成当前电脑的runtime/mcp-config.json,包含绝对路径及默认关闭活动CAD写入的环境设置。使用mcpServers JSON格式的宿主可合并其中的luomu-cad条目;其他宿主取其中command、args、env按其格式填写。保留宿主原有其他服务,勿整份覆盖已有配置。配置含本机路径,应留在本地。
从其他目录运行时,把-File后面的脚本换成完整路径即可;-Action generate的相对Spec路径按技能根目录解释,外部项目输入使用绝对路径。
首次自检与离线示例
在包含SKILL.md的技能根目录打开PowerShell,依次运行:
powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\scripts\run.ps1 -Action health
powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\scripts\run.ps1 -Action generate -Spec .\examples\two-room.json -Job demo-001
powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\scripts\run.ps1 -Action research -ResearchAction statushealth成功时应返回ok=true、transport=stdio-mcp,以及当前安装目录下的output_root;它不会连接AutoCAD。generate成功后,outputs/demo-001下应有plan.dxf、preview.png、spec.json、qa.json和manifest.json,结果中的几何检查应为PASS。图面仍需查看,专业设计仍需对应审核,不能只凭文件存在认定交付通过。
重复生成同一job和输入时只返回已提交结果;同名不同参数拒绝执行。示例尺寸均为示范设计采用值,不能当作现场实测。相对Spec路径按技能根目录解释,外部项目输入使用绝对路径。
不支持在界面中配置MCP、但允许执行本机命令的Agent,可以通过scripts/entry.py使用随包真实stdio MCP完成离线工作。CLI单次call默认只读;活动CAD连续读写需要持久MCP会话,不能绕过服务直连COM。配置模板和写入条件见使用说明。
范围与来源
Luomu CAD 维护墙体与开洞生成、任务事务、局部编辑、MCP服务和AutoCAD桥,并提供组件、几何检查和求解模块。组件代码的版权与许可见第三方声明,安装依赖及资料说明见依赖说明。
当前支持中心轴直线墙、门窗、家具关系检查、圆弧墙与按弧长定位的洞口;矢量PDF提取读取源对象、实际字形、复合填充与裁切,再按源清单统一构建可编辑DXF。支持固定纸张/比例PDF和显式CAD启动、新建、打开、原生预览、DWG另存及重开验证。各项输入见执行工具。
PDF提取使用明确的两方向校准和实际字体映射;扫描图缺失的真实尺寸不能从像素唯一恢复。提取结果保留几何与表现,原生尺寸等CAD语义按独立清单重建。IFC 接口支持构件、洞口关系及几何回读,完整 BIM 项目编制和原生插件仍需对应实现与验证。专业规范符合性需要逐项依据和审查证据。资料索引、图面核对与专业审查分别记录,案例参数按来源和工况采用。
默认的资料读取和离线任务不操作活动CAD。明确的启动任务通过cad_start执行,已有实例复用;修改默认留在当前图纸并原路径保存;只有用户明确要求另存时才用新路径另存DWG并返回新文档token,PDF也只在明确要求时导出。没有任意LISP、原始命令或桌面控制入口。原生验收脚本实际执行创建、回读、预览、保存、关闭和重开,并保护原有文档。2026-11-07已在本机完成启动、原生圆弧/尺寸、DWG另存重开与原生预览;软件回归与宿主模型的任务验收分别记录。
0.2.1增加墙地防水连续性原理训练:生成并回读原生DXF示意,识别断点与缺失上翻。它使用无工程单位的任意坐标,不构成施工节点设计。
安装支持与故障排查
支持入口:提交安装或使用问题。先运行-Action verify并保留实际错误;自检失败时会返回非零退出码,不能只看到依赖安装完成就认定Skill可用。
现象 | 检查方法 |
Agent找不到Skill | 检查宿主指定目录、是否多嵌套了一层文件夹,以及是否按宿主要求刷新;Skill目录根部应能直接看到SKILL.md |
uv、Python或包下载失败 | 检查对应官方地址和包源是否可访问、技能目录是否可写;依赖准备阶段失败可能尚无JSON报告,需保留终端错误,不绕过校验 |
自检通过,宿主里仍没有工具 | 检查是否合并MCP服务条目、路径是否对应当前电脑、宿主是否要求另一种配置格式,以及工具列表是否已刷新 |
自检文件被修改后失败 | 保留现有产物和报告,用新的完整下载副本复核;不要覆盖其他工作文件或手工改报告冒充通过 |
活动AutoCAD连接失败 | 离线自检与CAD附着分别处理;检查AutoCAD是否已运行、版本、用户会话及权限,并参考MCP使用说明 |
反馈请提供软件版本、Windows版本、Agent宿主及版本、完整执行命令、最终错误和必要日志。日志中的个人路径、客户信息或凭据先脱敏,私人图纸无需作为默认附件。项目支持按下述已验证路径说明,不承诺未验收的所有Agent和CAD版本具有相同表现。
开发与验证
0.3.0新增风盘安装与计算训练:依据选定厂家手册进行毫米吊杆定位、冷凝水提升/坡度/空间错误题与换型号题,并完成给定水侧换热率的流量、流速、普通阀阻、给定阻力扬程及温差变化练习。脚本和训练场景为本项目自行编写,原PDF和图页不随包分发;两项技术卡仅在明确练习范围内达到exercise_checked。
.\.venv\Scripts\python.exe -X utf8 scripts\train_fan_coil.py图纸、预览与逐项结果写入runtime/training/fan-coil-installation。参数出处、自拟训练输入、完整演算与尚未覆盖的能力均在对应记录中列明,不把运行脚本等同工程项目验收。
截至2026-11-05,0.3.1的安装验证范围如下:
检查 | 结果与边界 |
首次准备分支 | 已实测官方uv下载、校验、解压与依赖准备;在PATH无uv/Python、无.venv且包含空格/中文路径的新目录完成verify。完整验收使用已校验的uv安装包及Python/包缓存 |
一条命令安装验收 | 经真实stdio MCP生成DXF、PNG及检查文件,独立回读几何和检查哈希/PNG通过;未操作AutoCAD |
生成的MCP配置 | 已从安装目录之外的工作目录实际启动服务、列出工具并核对当前目录和默认只读设置;不是各Agent界面注册验收 |
软件回归与发布包 | 安装回归覆盖正常结果、产物变动、跨目录借用、错误环境根目录、错误DXF单位和损坏PNG;scripts/release_smoke.py对实际源码ZIP执行独立环境全量测试与安装验收 |
尚未逐一验证 | 完全无Python/包缓存的所有网络环境、各个Agent宿主的Skill自动发现和界面注册、其他电脑/各版本AutoCAD的实机读写 |
GitHub在线CI | Windows 和 Ubuntu 上的 Python 3.11/3.12 安装、离线回归、覆盖率和源码打包检查。GitHub Actions |
这些证据支持“满足条件后可运行离线功能”,不支持“任意Agent下载后零配置完成全部CAD操作”。原始验证日志与生成产物保留在维护者的私有runtime目录,不随公开仓库分发。
此前已验证离线出图、门窗局改及中文样图。0.2.0新增技术知识卡和限定练习,首批为厨卫防水及接地系统,见实际技术学习记录。0.1.1从实际原文与三张图中新增两条方法,并增加四个布局回归用例和真实MCP拒绝检查,见学习与应用记录。
uv sync --python 3.11 --extra dev --no-editable
.\.venv\Scripts\python.exe -m pytest -q
.\.venv\Scripts\python.exe scripts\build_release.py发布包只包含源码、示例参数与必要参考;不包括本机图纸、采集数据库、预览缓存、登录数据、环境变量或历史日志。MIT许可仅覆盖本项目代码,不授予第三方资料的再分发权。
门窗与家具组件
Luomu CAD 构件库提供墙体切洞和二维组件生成函数,按源图选型、设置宿主墙与开向,并回读门墙连接。入口和实际验证范围见构件库说明。
作者与许可证
作者与维护者:luomufanye-cloud。 本项目自有源码、CAD业务规则、MCP适配器、Skill工作流及训练脚本由作者开发并维护,采用MIT许可证开源,版权署名为Copyright (c) 2026 luomufanye-cloud。
项目使用的第三方基础库在安装时作为依赖准备,各自遵循其许可证,见依赖说明。项目署名不改变这些依赖或所引用资料的权利归属。
相关链接
English · Skill入口 · 示例目录 · 参考文档总索引 · MCP与使用范围 · 资料研究 · 依赖 · 许可证 · 更新记录
Available Tools
50 toolscad_activate_documentB
Activate an exactly identified already-open CAD document for an explicit task. Does not open, close, save or alter its entities.
Inputs: document_name (required), explicit_request.
cad_adapt_sessionD
Use disclosed metadata only. Unknown model identities remain unknown.
Inputs: model_id, provider, deliverable, task_target, +3 more.
cad_close_documentA
Close only a saved document opened or created by this MCP session. Refuse preexisting documents and unsaved edits; no discard, implicit SaveAs or application shutdown.
Inputs: operation_id (required), document_token (required), explicit_request.
cad_configure_text_styleA
Explicitly set one existing native style's font file and five GetFont fields.
Requires live writes, bound token, operation ID and explicit request. Reads back the actual declaration. No new style, save, regeneration or view change. This is never invoked automatically by delivery review or missing-font checks.
Inputs: typeface (required), font_file (required), style_name (required), operation_id (required), +7 more.
cad_connectC
Read the active drawing and its token in the bound instance. A dedicated MCP profile must first start its own AutoCAD. Never changes tabs.
Inputs: progid, document_name.
cad_delivery_snapshotB
Read a saved, same-service-opened/saved active DWG twice with native dimension display checks.
No automatic open/save/activate. Cold attachment cannot prove disk-memory identity and is rejected. Optional new WMF+PNG uses selection Export with no view writes; any dirty-state change rejects. Supports positive-WCS XY native primitives and ordinary decimal aligned/rotated dimensions; unknown objects fail closed. This is model evidence, never native paper or engineering approval.
Inputs: path (required), document_token (required), max_entities, preview_path.
cad_detect_versionsA
Read installed ProgIDs only; registration does not prove a running CAD connection.
Inputs: no named parameters.
cad_mutateA
Authorized live line/circle/arc/polyline/text/dimension/hatch/properties/save; angles are degrees. dimension accepts rotation (rotated dim) and text_override containing exactly one <> measured value. hatch fills either an existing closed polyline/circle boundary handle or explicit points drawn as the closed outline on boundary_layer (optional inner handles, inner_circles [[x,y,r]], pattern ANSI31/ANSI32/ANSI37/NET/SOLID, scale, angle); the result lists outline_handles it drew. Requires session write flag and document token. Interrupted operations stay uncertain and are never automatically replayed.
Inputs: arguments (required), operation (required), operation_id (required), document_token (required).
cad_native_correspondence_previewB
Create a full original-source PNG only after strict live DWG/source equivalence.
No native export, Zoom, setting change or save. The PNG is explicitly an offline correspondence preview bound to current native/source/fact hashes. Same-service real open/save provenance is required. This is not a CAD plot.
Inputs: path (required), source (required), preview_path (required), document_token (required).
cad_native_entity_dataB
Read selected native entity definition groups via the service's fixed read-only entget bridge.
Hex handles only; no arbitrary LISP, command, keyboard, setting writes or offline proxy. This diagnostic does not assert delivery acceptance.
Inputs: handles (required), document_token (required).
cad_native_factsC
Read complete bounded native memory facts twice for diagnosis, never claim disk binding or delivery.
Inputs: document_token (required), max_entities.
cad_new_documentB
Create and bind a separate CAD drawing for an explicit new-document task. Preserve existing documents; require live writes. Optional template is an absolute local DWT.
Inputs: operation_id (required), units, template, explicit_request.
cad_open_documentA
Open an explicitly requested absolute local DWG/DXF in CAD and bind its token. Preserve all other documents; never overwrite or launch CAD on failed attach.
Inputs: path (required), operation_id (required), read_only, explicit_request.
cad_operationB
Read the durable live-write journal; a started operation must be checked before retrying.
Inputs: operation_id (required).
cad_performance_snapshotA
Read current path/token, save state, object count and supported graphics/preview variables. No settings change, scan, benchmark, save or restart. Read timings do not measure mouse interaction.
Inputs: document_token (required).
cad_presentation_snapshotB
Read actual layer/entity lineweights, polyline widths, block references and display variables.
Two read passes verify a stable snapshot. No save, export, selection or setting change. Unsupported properties remain explicit issues. No native plot claim.
Inputs: document_token (required), max_entities.
cad_previewB
Export a native model-space WMF/BMP and a readable PNG using verified coordinate mapping. Requires current token and a new absolute destination. No desktop capture, drawing save or entity changes.
Inputs: path (required), operation_id (required), document_token (required), render_png.
cad_read_entitiesC
Read a bounded page of current modelspace entities via server-side ActiveX.
Inputs: limit, offset, document_token.
cad_save_asA
Save the bound active document to a new absolute DWG path via ActiveX. Requires live writes and token; no overwrite. Returns refreshed document token and file hash.
Creates a new file, so explicit_request=true is required and only for a user request to save as / save a copy.
Ordinary edits stay in the current drawing; save it in place with cad_mutate operation=save.
Inputs: path (required), operation_id (required), document_token (required), explicit_request.
cad_startB
Start AutoCAD only for an explicit application-start task with live writes enabled. A dedicated MCP profile starts and pins a separate AutoCAD process. Without a profile, reuse a running app when available.
Inputs: operation_id (required), progid, explicit_request.
cad_tool_schemaC
Read the authoritative schema before composing a tool request.
Inputs: name (required).
list_documentsA
List documents of an already-running CAD application; never launches it.
Inputs: progid.
workbench_assess_interactionC
Assess a supplied same-document before/after interaction observation. Command timings alone never establish recovery; no CAD contact or root-cause claim.
Inputs: evidence (required).
workbench_auditB
Check saved DXF geometry within the output root, without changing the file.
Inputs: path (required).
workbench_cad_accessA
Coordinate participating MCP services without accessing AutoCAD.
claim holds shared CAD ownership for this service/task until release or
process exit. Record the actual task's edit/open/save/close/export booleans;
omitted permissions are false. This records authorization, not grants it.
amend requires the latest user instruction and current expected_revision.
status remains available to waiting tasks; no force takeover or CAD action.
Inputs: task_id, operation, permissions, expected_revision, +1 more.
workbench_caseworkC
Cabinet plan/elevation/selected-bay side section from one explicit mm model.
Height basis must distinguish body from overall height including top closure. Dimensions remain native DIMENSION. Review checks saved geometry, display text, effective styles and cross-view sizes. Source-based requirements need the real source file. No image inference, hardware drilling or manufacturing approval.
Inputs: spec, output, source, drawing, +3 more.
workbench_compare_statesB
Compare recorded document_id/entity_count/snapshot_sha256/saved/dbmod.
Count equality alone cannot establish freshness. A matching raw fingerprint
compares supplied records only; it never substitutes for a live CAD recheck
or independently accepts a drawing. No CAD or file modification occurs.
Inputs: current (required), recorded (required).
workbench_componentsB
Discover Luomu CAD components or build a wall-bound native DXF bundle.
Explicit opening host, position, width, side and hinge are required. Source-coordinate
mode requires library_scale and scale_basis. opening_layer_mode=by_type separates
windows from doors; lineweights_mm sets DXF layer lineweights. This tool is offline.
Inputs: spec, query, output, operation.
workbench_curved_wallsC
Create exact concentric circular-wall ARC/CIRCLE boundaries in mm, with explicit arc-length voids. Read back every entity. No inferred join, door leaf or furniture placement.
Inputs: spec (required), job_id (required).
workbench_deliveryC
Customer-bound independent delivery acceptance; construction ok is insufficient.
The native host delegates to luomu-cad-reviewer using the original brief, source and actual files. This deterministic verifier reads those files and measurements, rejects missing customer requirements, wrong industry standards, stale evidence and incomplete independent review. It does not train model weights, certify reviewer identities or issue professional engineering approval.
Inputs: base, contract, operation, industry_ids, +2 more.
workbench_dimension_chainsC
Check explicit axis/face/opening references and conflicting source dimension chains. Coordinates must come from saved-DXF readback; no drawing changes.
Inputs: chains (required), features (required).
workbench_dwg_bridgeA
Optional offline DWG/DXF exchange via a separately installed LibreCAD CLI.
status reports whether the executable is found; probe performs a real
minimal DXF -> DWG -> DXF round trip. Neither claims DWG support without
evidence. convert writes one file under outputs/dwg-bridge, refusing to
overwrite, and accepts the result only after reading the artifact back
(DWG header signature, or ezdxf parse for DXF). LibreCAD is GPL-2.0 and is
never bundled or linked here; the user installs it separately. On Windows
the GUI executable returns before the conversion ends and sets no exit
code, so process success is never used as proof. Converted files are
exchange artifacts: geometry fidelity, standards compliance and delivery
acceptance remain unverified. No AutoCAD connection is made or required.
Inputs: source, target, timeout, version, +2 more.
workbench_export_pdfA
Export saved output-root DXF to vector PDF at explicit 1:scale, paper mm and model window. No auto-fit, source edits or CAD access.
Never part of a default finish: set explicit_request=true only when the user asked for a PDF in this task.
Inputs: scale (required), job_id (required), source (required), paper_mm (required), +3 more.
workbench_generateA
Generate offline DXF/PNG, not an active-CAD drawing. furnished_plan requires furniture with room, placement (wall + gap or freestanding + reason), clearances and clearance_basis; also floor_boundary, room requirements and circulation zones. Validate relationships before coordinates; never substitutes for a live CAD task or full design acceptance.
Inputs: spec (required), job_id (required), target.
workbench_industryC
Separate industry drawing types, standard applicability and delivery checks.
Catalogue coverage is routing knowledge, not certified production capability. Each standard assignment belongs to one selected industry; shared standards must explicitly authorize that industry. Unknown routes never borrow another.
Inputs: operation, assignments, industry_ids, jurisdiction, +1 more.
workbench_jobB
Read committed or uncertain job state without executing it again.
Inputs: job_id (required).
workbench_learnC
Promote reviewed original workflow lessons with collected sources; no engineering prescriptions.
Inputs: lesson (required).
workbench_optimizeC
Solve axis-aligned rectangles only. Uniform clearance also offsets room boundaries; this is not furniture functional design. Verify wall placement, facing and use spaces separately through furnished_plan.
Inputs: spec (required).
workbench_patch_openingA
Edit owned host-wall/opening/schedule groups and verify all other entity hashes.
Default writes the change back into source_job's existing drawing (job_id is only this
edit's operation key; later edits keep using source_job with the returned revision).
new_copy=true publishes a separate job directory and is only for an explicit user
request to keep the original as a separate file.
Inputs: job_id (required), changes (required), opening_id (required), source_job (required), +2 more.
workbench_pdf_inventoryB
Extract a local vector PDF page to a source-derived mm inventory. Explicit two-direction calibration and local font mapping; preserve source geometry/paint. Report unsupported objects and block incomplete construction. Does not infer native dimension semantics or operate CAD.
Inputs: job_id (required), source (required), calibration (required), page, +1 more.
workbench_professionalB
List professional task profiles, create a pending review template, or measure a saved DXF.
Resolves actual object lineweights/widths and compares source-bound geometry. No live CAD access, design calculation or engineering approval.
Inputs: drawing, manifest, operation, profile_ids, +1 more.
workbench_projectA
Room plan/floor/ceiling/wall-elevation/section DXF sheets from one mm model.
Explicit finished-face polygons, hosted openings and casework; no design inference.
Default: DXF only, no PDF. export_pdf=true (only when the user asked for PDF) adds
per-sheet PDFs and the indexed atlas. Building into an output that already holds an
atlas revises it in place after verifying it; previous=<other dir> keeps the old
atlas untouched and is only for an explicit request to keep a separate version.
Review regenerates expected projections and reads saved entities (and PDFs if exported).
This does not certify a full construction set, service design or image recognition.
Inputs: spec, output, source, previous, +3 more.
workbench_redrawB
Build editable DXF from a source-derived inventory, preserve presentation and read back against that inventory. Requires original source SHA; no image interpretation, scale inference or complete-visual-acceptance claim.
Inputs: job_id (required), source (required), inventory (required).
workbench_researchD
Bounded public reference index; no AutoCAD access, login bypass or bulk mirroring.
Inputs: url, limit, query, operation, +3 more.
workbench_review_agentA
Prepare/start/query the default isolated CAD review agent; never final acceptance.
prepare: original contract_path + new packet_path, contract_base relative to
fixed ROOT (default ROOT, matching workbench_delivery.base). No source edits.
start: stable operation_id + packet_path + new output; explicitly opt in via
use_personal_codex_home=true and provide an existing absolute codex_home or
the server's explicit CODEX_HOME. Uses that account's configured model; never
guesses a home/model/provider or edits auth/trust/config. Returns promptly;
poll status with the SAME operation_id, never relaunch after a tool timeout.
status: operation_id only; reads durable state, never starts a process.
All task paths stay within server ROOT. native_evidence may bind actual DWG
snapshots; unsupported formats fail instead of removing required formats.
ready means independent observations are available, including rejections;
accepted_for_delivery always false. Finish with workbench_delivery review of
the original contract and the bound independent report for final acceptance.
CodeBuddy/HY4: host=codebuddy, use_personal_codebuddy_home=true, explicit
codebuddy_home (or server CODEBUDDY_CONFIG_DIR), model=current main model ID.
This starts CodeBuddy directly, never Codex, without changing provider/auth.
Inputs: operation (required), host, model, output, +11 more.
workbench_solidB
Offline solid build/review; this MCP service calls an isolated CAD engine CLI.
initialize needs an empty directory. run needs a reviewed script, label and saved
idempotency key; query run_status after interruption instead of rerunning. review
needs saved STEP/BREP plus independent feature JSON; returns four PNG views,
feature checks, dimensional intervals and optional exact source-frame difference.
contract can bound bbox_mm, volume_mm3, removed_volume_mm3 and added_volume_mm3.
Numerical checks do not claim visual fidelity or professional approval.
Inputs: project (required), operation (required), spec, label, +5 more.
workbench_source_inventoryA
Read a local DXF inside the Skill root without modifying it. Return nested source IDs, WCS-mm bounds and explicit unsupported items; no CAD connection or semantic guessing.
Inputs: path (required), box_mm, unit_mm, unit_reason.
workbench_standardsB
Discover source-linked cross-industry standards or check a project basis against a saved drawing and evidence hashes. Candidates never auto-apply. Metadata, clause review and engineering approval remain separate. No network, CAD access or engineering certification.
Inputs: drawing, manifest, operation, discipline, +3 more.
workbench_statusA
Check environment only; does not attach to or start AutoCAD.
Inputs: no named parameters.
workbench_technicalC
Study construction details/methods and professional systems with scoped evidence. Record/get/list cards or check a training sequence, applicability and named-terminal topology. Never applies parameters to CAD or approves engineering.
Inputs: card, edges, card_id, sequence, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 50 tools
The tools split into live CAD, offline generation, review/standards, and evidence families, but several share similar roles: cad_delivery_snapshot, cad_native_facts, cad_performance_snapshot, cad_presentation_snapshot, and cad_preview all read or export drawing state. workbench_audit, workbench_professional, workbench_compare_states, and the inventory tools also overlap in saved-file checking. Descriptions are detailed enough to resolve most cases, but the volume and subtle distinctions invite misselection.
All names use snake_case and are mostly grouped by cad_ or workbench_ prefixes, but verb placement is inconsistent (cad_open_document vs cad_delivery_snapshot; workbench_audit vs workbench_job). list_documents also breaks the prefix convention. Readable but not a predictable verb_noun pattern throughout.
50 tools is very heavy for a single server and well beyond the well-scoped 3-15 range. The broad CAD suite justifies many specialized operations, but the surface is large enough to burden tool selection and increase accidental misuse.
The surface covers live document lifecycle, entity read/write, save-as, offline DXF/PDF generation, audits, standards, delivery review, and solid operations, so core CAD workflows are well represented. Gaps remain around entity deletion/undo and creating native text styles, so coverage is not fully exhaustive.
Maintenance
Related MCP Connectors
DXF and PDF/X-4 for AI agents: structured facts, PNG renders, an interactive in-chat viewer.
Read, query, edit and render DWG drawings with AI. No AutoCAD required.
Headless CAD engine & MCP server for 2D/3D drafting, solids, DXF/SVG export, and automation.
Parametric 3D CAD for AI agents: build print-ready parts, check them, export STL, 3MF or STEP.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables an AI assistant to conversationally control Autodesk AutoCAD, drawing, inspecting, and editing plans, and includes a cross-platform DXF engine that runs without AutoCAD on macOS and Linux. It exposes tools for rendering views as images, batching geometry, blocks, and structures, measuring and checking plans, and undoing whole batches.12MIT
- AlicenseAqualityCmaintenanceEnables AI agents to create, inspect, render, and export 2D engineering drawings through DXF files, including entities, dimensions, hatches, splines, blocks, layers, PNG previews, and vector PDFs without needing a CAD GUI.11MIT
- FlicenseNot gradedqualityAmaintenanceGives AI agents one typed tool contract for CAD automation, driving either a live Windows drafting seat through COM or a headless DXF engine anywhere. It enables mechanical part sheets, P&ID drafting and reading, architectural floor plans, ISO GD&T and dimension-tolerance validation, plus drawing understanding and takeoff workbooks.-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to author and edit production CAD drawings — mechanical parts, architectural plans, P&IDs, ISO-compliant dimensions, tolerances and title blocks — either live in AutoCAD through COM on Windows or headlessly via ezdxf anywhere. It also reads existing drawings back to support understanding, critique, topology checks and quantity takeoffs.-