
CAD Agent Foundation
io.github.capskov由 GitHub 账号 capskov 发布v1.2.0-beta.3更新于 Oct 25, 2026
AutoCAD MCP/CLI for agents: native CAD, views, proxy reads, verified writes and saves.
概览
仅限 Windows 的 AutoCAD 桥接工具,让 AI 助手绑定图纸、创建受限的二维几何与文字,并核验写入与保存结果。
- 可以做什么
- 绑定目标图纸,跟踪每个请求的执行状态,支持原始请求查询与重复写入防护
- 创建和编辑受限的二维模型空间几何:图层、直线、圆、多段线、关联填充、标注与图层状态
- 添加和更新文字、引注与引线,包括带摘要校验的联动文字更新和引注组移动
- 读取实体属性与摘要、列出图层、分页筛选结果并检查静态 Lisp
- 保存整个工作图纸,并从磁盘回读已写入的内容
- 适用场景
- 当助手需要在 Windows 上操作活动的 AutoCAD 图纸、完成受限的二维绘图任务,并需要关于写入或保存结果的真实反馈时使用。适合需要图纸身份、重复防护和写入后核验的长时间多步会话。它不是通用的 CAD 工程助手,也不覆盖任意对象编辑、布局或打印。
- 运行要求
- 以 stdio 进程在 Windows x64 本地运行,通过 MCPB 包或运行时 ZIP 安装。需要已授权的兼容 AutoCAD 2026、.NET 8 Desktop Runtime 和 Python 3.11+。仅注册并不会获得图纸访问权限;需在命令行提供工作区和源图纸。
安装
在 SourceWeft 中
- 打开 控制台中的 CAD Agent Foundation,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
CAD Agent Foundation — AutoCAD MCP & CLI for AI Agents
Current field release: 1.2.0-beta.3.18 adds local CTB controls, transient window PDF output and field reliability fixes. Validation and limits. Earlier milestones below remain historical.
Public runtime preview v1.2.0-beta.3. Proxy/compound geometry and text reads, bounded native views/captures, raster-path repair, rejection classification and polyline-width fixes. Reuses the accepted beta.3 binaries; scope, known capture limitations and upgrade notes.
Optional road interpretation: Agentic Map Tracing v0.1.0-beta.1. The Agent reasons about boundaries; Foundation supplies CAD execution. Install separately.
First priority: reliable operations for increasingly capable agents
Foundation development supports the real task. Provide small, reliable, controlled CAD primitives and truthful feedback so the Agent can act and move forward. The Agent owns visual judgment, structure interpretation, example learning, pattern recognition and final review. Do not turn those judgments into programs, fitting algorithms or compulsory verification workflows. Do not add incidental features unless explicitly requested. When current primitives suffice and the Agent judges the result acceptable, continue the main task. Preserve drawing identity, source protection and no replay of unknown writes.
Local unit closeout: 1.2.0-local.4 carries prior bounded primitives, makes INSUNITS consistency optional for raw-coordinate plans and retains the legacy metres interface. This prerelease is published as v1.2.0-local.4; earlier releases remain available. See units, precision and paper typography; this is not blanket A–P certification.
Agent-first AutoCAD MCP — built for the execution loop, not just command calls. CAD Agent Foundation helps AI agents bind the right drawing, track each request, receive execution feedback, verify what was written or saved, and continue multi-step CAD work with confidence. Independent or third-party CAD Skills can reuse this execution foundation for their own professional workflows.
中文简介:面向 AI Agent 的 CAD 执行底座——不止调用命令,还关注图纸绑定、执行反馈、结果核验与安全续作,可与第三方专业 Skill 组合使用。
While CAD integrations connect AI to drawing commands and data, Foundation focuses on the agent workflow around each operation: knowing what was requested, what actually happened, and whether the next step is safe.
Public runtime preview v1.2.0-beta.3. Release and upgrade notes. Source, documentation and a manifest-bearing Windows runtime ZIP are provided in this preview. Build prerequisites and limits. The accepted local runtime v1.0.0-local is a separate baseline. Companion Skill previews are published independently: callout v0.3.0-rc.1 and distress v0.1.0-rc.1.
简体中文 · Quick start · Capabilities · Compatibility
Registered MCP server: io.github.capskov/cad-agent-foundation. MCPB installation and discovery · Registry metadata. Local Windows/AutoCAD prerequisites still apply; registration does not grant drawing access.
AutoCAD automation bridge for AI agents via MCP and CLI, using a native .NET API.
AI agents can inspect and operate a live AutoCAD drawing through structured native tools for bounded 2D geometry, text, hatches and callouts. The bridge uses MCP (Model Context Protocol) and CLI; drawing identity checks and write/save verification govern the supported operations.
CAD Agent Foundation gives CAD agents a bounded execution contract: explicitly bind a drawing, persist request ownership and execution state, inspect the original request after an uncertain reply, and verify tracked object facts after writes and saves. The current implementation integrates these mechanisms into a modified, pinned Bimwright DWG MCP host.
This Windows/AutoCAD bridge is maintained by capskov. The current preview is v1.2.0-beta.3, with an independently built runtime ZIP and scoped native evidence. The accepted v1.0.0-local baseline is retained; compatibility with every AutoCAD update is not claimed.
Why this project exists
The project grew out of road and civil-engineering CAD work: creating boundaries, fills, quantities and linked callouts, then revising and saving them over a long agent session. A useful drawing command is only part of that workflow. The agent also needs to know which drawing it owns, whether a modification has already happened, what remains unverified, and whether another attempt would duplicate it.
The design focuses on those decisions. Durable records, drawing identity and native readback add overhead; no comparative speed, token-cost or productivity advantage has been established. Engineering judgment and domain-specific layout rules remain in separate Skills.
Native operations and installation
Download v1.2.0-beta.3 runtime, verify SHA256SUMS.txt and extract the complete folder. Requires licensed compatible Windows x64 AutoCAD 2026, .NET 8 Desktop Runtime and Python 3.11+. No Autodesk assemblies or SHX fonts are redistributed. Installation · 25-operation catalog · New validation.
New in this preview: installed-font text styles, dimension styles, native linear/aligned/radius/diameter DIMENSION, layer state management, guarded closed-boundary/hatch continuation, linked callout geometry/format, and same-drawing rotate/scale/copy of supported complete groups. It preserves original-request reconciliation and drawing/object protection.
Current capability overview
Maturity: the bounded local runtime has native acceptance evidence; The release provides a runtime ZIP with dependency licenses, file hashes and plugin MVID; prerequisites remain separately installed. Support follows the actually exposed profile.
Full interfaces, invocation and per-item verification status. Foundation supplies reusable native operations, execution constraints, status and object management. Independently maintained Skills supply domain rules, style parameters, placement algorithms and workflows through actual supported Foundation interfaces. Missing native/backend compatibility is not supplied merely by installing a Skill.
Execution contract
Bind the intended drawing and verify process/session/plugin identity. Persist a stable request before submission; after an uncertain reply, query that original request. Existing edits need fresh native digests and complete associations. Confirm effects, independent readback and fence release separately; save covers the whole working drawing. See architecture and versioned interface catalog.
Choose components by task
The two Skills are optional for basic operations. Their rules are not built into Foundation; installing them does not add missing native operations. Foundation source and both independent Skill previews are public. Installation entries, versions and Agent checks.
Quick start
The commands below use the extracted runtime ZIP. Source checkout alone requires build/packaging first.
Omit --write for a read-only session. start creates a working copy; it does not overwrite the source drawing. Save affects the entire working drawing, including other unsaved edits in that instance. Read the quick start for request handling and a small synthetic plan.
Verification and scope
The local release was checked on two different drawing sources, with different coordinates and handles. Each workflow created ten new objects, read them independently, updated linked text, moved the complete callout group, archived it, saved and closed the drawing. Fresh CAD sessions then read the saved objects with matching native digests. The CLI/MCP entry and local package extraction/installation were also checked.
These are bounded workflow results on a recorded Windows AutoCAD 2026 environment. They do not prove universal drawing correctness, production-wide reliability, compatibility with every patch, or a general CAD engineering agent. The validation summary separates native evidence from offline tests and records unresolved historical outcomes honestly.
Current limits
Plans write bounded 2D model-space geometry. Coordinates, lengths and annotation sizes are expressed in drawing units. WCS is the CAD coordinate reference; it does not imply metres or a map projection. Foundation performs no projection or unit conversion.
Local 1.2.0-local.4 uses raw drawing values: prefer units: raw_drawing_units, with optional expected_insunits only for requested metadata consistency. Unknown or unitless metadata does not block ordinary raw operations. Legacy units: metres keeps its original 0/6 metadata contract. No coordinate conversion, automatic geometry scaling or INSUNITS changes occur. See units, precision and paper typography; PDF/DXF output retains its separate current limits.
This release provides four native dimension primitives and bounded closed-boundary/single-hatch updates. It does not provide MLeader, general old-hatch repair/Boolean/holes, arbitrary polyline properties, cross-drawing copy, proxy-object semantics, layout/plotting, engineering decisions or automatic recovery/unlocking of uncertain writes. A committed operation cannot be assumed rolled back because a later verification failed.
The .NET 8 local baseline was inspected on AutoCAD R25.1.74.0.0. AutoCAD 2026.1.2 introduced a .NET 10 transition; compatibility with that updated host is not yet validated here. See compatibility. Autodesk runtime update
Separate Skills
See the anonymous road demolition case for existing before/after drawings and quantity/station references. It illustrates companion-Skill output and does not certify a Foundation-only execution of that full workflow.
Independent Skill repositories and installation:
- cad-callout-pair-layout: callout style, road-side constraints and finite placement budgets; includes optional bilingual BZYD manual Lisp. Install · v0.3.0-rc.1.
- cad-distress-annotation: evidence-based road distress/demolition boundaries and quantity rules. Install · v0.1.0-rc.1.
Foundation supplies supported CAD primitives and their execution contract. Skills decide what to draw, how to lay it out, and which domain checks to apply. Foundation does not determine plant species, distress treatment or engineering quantities.
Callout techniques may also serve landscape planting and other classified drawing annotations. The existing Skill's tested rules and defaults come from metre-based road drawings; other disciplines or millimetre drawings need style, size and placement adaptation and are not certified here.
Both repositories provide versioned public Skill ZIPs and manual installation guides. Foundation v1.1 adds the native style/pose/measurement interfaces; a synthetic unchanged-Skill solver integration is recorded in the new validation, not a blanket real-project certification. A complete Foundation-only Skill workflow has not been certified. Callout v0.3.0-rc.1 and distress v0.1.0-rc.1 remain independently versioned. See compatibility.
Working alongside other tools
Agents can use other MCP servers or CAD tools separately. Only supported operations submitted through Foundation enter its governed request, execution and verification flow. An unrelated backend does not automatically share its transactions, request identities or fences. Switching tools is not a way to bypass an unresolved write. Full coverage of an external backend would require an explicit integration; it is not provided by this baseline. See Foundation, Skills and other tools.
Upstream and licensing
AutoCAD 2026 is the initial validated host because it matches the working environment and the adopted native plugin route. The local .NET 8 baseline uses document locking, transactions and native readback; 2025 also has a .NET 8 host, and older years have automation APIs. MCP comes from the bridge. See why 2026.
The integrated host derives from Bimwright DWG MCP, pinned at 4d0f756. Preserve its Apache-2.0 licensing and attribution. Other reviewed projects are credited separately from code actually reused; see background and related projects.
The development path was practical: examine existing CAD MCP backends against real tasks, integrate a bounded execution contract into the selected native host, then check writes, native readback and saved drawings. Historical evaluations are documented with their scope rather than presented as a ranking of today's projects.
This preview uses Apache-2.0, preserving upstream and MIT-origin notices. Earlier v1.0.0-rc.1/rc.2 source/documentation releases are retained; v1.1.0-rc.1 adds a reviewed runtime ZIP with dependency license texts. AutoCAD/SDK and unlicensed SHX assets are not redistributed; Open Sans retains OFL. See license decision and notices.
Human and AI-assisted contributions are welcome when changes and verification evidence are reviewable. The maintainer reviews merges and releases. See contributing.
AutoCAD and DWG are Autodesk trademarks. This independent project is not endorsed by Autodesk or the upstream maintainers.
2026-10-16 local font update
Local 1.2.0-local.3 adds guarded existing-style SHX font-pair replacement and anchor-preserving DBText metric scaling. See scope and parameters. Native evidence is scoped; prior public releases and global MCP registration are unchanged.
Local 1.2.0-local.4 unit closeout: changes, native evidence and limits. The original local closeout has now been authorized for GitHub prerelease publication; see the current release notes.
来源:README.md,提交 2929359
工具
0版本历史
2- v1.2.0-beta.3最新Oct 23, 2026
- v1.1.0-rc.1Oct 15, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分