best-cad-mcp server
Windows AutoCAD MCP server for handle-first CAD automation, validation, and drawing exports.
18 stars148 downloads/wk
Reviews
Write oneNobody has reviewed best-cad-mcp yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
best-cad-mcp tools (100, 7 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
add_3point_angular_dimension添加三点角度标注(通过三个点定义角度)。
add_angular_dimension添加角度标注(测量并显示两条线之间的角度)。
add_arc_dimension添加弧长标注(标注圆弧的弧长)。
add_baseline_dimension添加基线标注(从上一个标注的公共基线延伸)。
add_continue_dimension添加连续标注(首尾相接的尺寸链)。
add_diametric_dimension添加直径标注(用于标注圆的直径)。
add_leader绘制引线标注(带箭头的指引线 + 可选文字注释)。
add_linear_dimension添加对齐线性标注(自动测量两点间距离并显示)。
add_mleader绘制多重引线(现代化的引线标注,带文字和更好的格式)。
add_ordinate_dimension添加坐标标注(显示 X 或 Y 坐标值)。
add_qdim快速标注 (QDIM) — 一次性为多个实体生成连续尺寸。
add_radial_dimension添加半径标注(用于标注圆弧或圆的半径)。
add_rotated_dimension添加旋转线性标注(可指定标注方向)。
add_shape绘制形 (Shape) — 从 .shx 形状文件中插入预定义图形。
add_table在图纸中插入表格。
align_entities对齐实体。通过成对的源点和目标点集移动、旋转实体的二维或三维操作。 如果是两对点,执行 2D 对齐(平移+旋转+缩放)。 如果是三对点,执行 3D 对齐。
array_polar环形阵列:围绕中心点环形复制实体。
array_rectangular矩形阵列:按行和列复制实体。
break_entity在指定点处打断实体(将实体一分为二)。
chamfer_entities对两个实体执行倒角(斜角连接)。
chamfer_polyline对整个多段线的所有角点进行倒角。实用接口。
close_drawing关闭当前图纸。
copy_dimension_style复制标注样式。基于现有样式创建新的标注样式。
copy_entity复制实体。可选地在复制后移动新实体。
create_layerwrite action创建新图层或修改已有图层的颜色。
create_new_drawingwrite action创建新的 AutoCAD 图纸。
create_text_stylewrite action创建文字样式(定义字体和默认属性)。
delete_entitieswrite action批量删除多个实体。
delete_entitywrite action删除指定实体。
delete_layerwrite action删除图层。注意:不能删除当前图层、0图层或包含实体的图层。
divide_entity定数等分实体(在实体上按指定段数等分插入点或图块)。
draw_2d_solid绘制二维实体填充面(3或4个顶点的填充区域)。
draw_3d_polyline绘制三维多段线(每个顶点可以有不同的Z坐标)。
draw_arc在AutoCAD中绘制圆弧。
draw_circle在AutoCAD中绘制圆。
draw_donut绘制圆环(两个同心圆之间的填充区域)。
draw_ellipse在AutoCAD中绘制椭圆。
draw_ellipse_arcDraw a bounded ellipse arc as an AcDbEllipse entity.
draw_line在AutoCAD中绘制直线。
draw_mline绘制多线(平行多线,如墙体双线)。
draw_mtext在AutoCAD中绘制多行文字(MTEXT)。
draw_point在AutoCAD中绘制点。
draw_polygon绘制正多边形(三角形、正方形、五边形、六边形...)。
draw_polyline绘制二维多段线(连续折线)。
draw_raster_image在图纸中插入光栅图像(PNG, JPG, BMP, TIFF)。
draw_ray绘制射线(从起点向指定方向无限延伸的半直线)。
draw_rectangle绘制矩形(指定两个对角点)。
draw_spline绘制样条曲线(通过拟合点的光滑曲线)。
draw_text在AutoCAD中绘制单行文字。
draw_tolerance绘制几何公差标注(GD&T特征控制框)。
draw_trace绘制宽线 (Trace) — 具有宽度的二维线段。
draw_wipeout创建区域覆盖 (Wipeout) — 用空白遮罩覆盖背后对象。
draw_xline绘制构造线(通过两点的双向无限长直线)。
edit_table_cell编辑表格中指定单元格的文字内容。
explode_entity分解实体(将块/多段线/标注/填充等复合实体分解为基本图元)。
extend_entity延伸实体到指定边界。
fillet_entities对两个实体执行圆角倒角(用指定半径的圆弧平滑连接)。
fillet_polyline对整个多段线的所有角点进行圆角。实用接口。
find_text在图纸中搜索包含指定文本的所有文字实体。
format_tableSet column widths, row heights, and row-type text heights for a table.
freeze_layer冻结图层(图层不可见且不参与重生成,提升性能)。
get_all_layers列出所有图层及其状态。
get_dimension_measurement获取标注的测量值、文字覆盖、旋转角度等详细信息。
get_dimension_styles列出所有标注样式。
get_document_info获取当前文档的完整信息。
get_entity_properties获取实体的完整属性(包括类型特定的几何信息)。
get_extension_dictionary获取实体的扩展字典信息。
get_text_styles列出所有文字样式及其字体配置。
insert_minsert_blockwrite actionInsert a block as an AutoCAD MInsert rectangular block array.
isolate_layer隔离图层:关闭除指定图层外的所有其他图层。
join_entities将多个同类型实体合并为一个连续实体。
lengthen_entity修改实体的长度(延长或缩短)。
lock_layer锁定图层(图层可见但不能编辑)。
measure_entity定距等分实体(在实体上按指定间距插入点或图块)。
mirror_entity镜像实体(关于指定直线对称复制)。
move_entity移动实体到新位置。
offset_entity偏移实体(创建等距的平行线/同心圆/等距曲线)。
open_drawing打开现有的 AutoCAD 图纸文件(.dwg)。
rename_layer重命名图层。
replace_text替换图纸中所有文字实体中的指定文本。
rotate_entity旋转实体。
save_drawing保存当前 AutoCAD 图纸。
scale_entity缩放实体(等比放大或缩小)。
set_current_dimension_style设置当前标注样式。后续创建的标注将使用此样式。
set_current_layer设置当前图层。后续绘图操作默认在此图层上进行。
set_current_text_style设置当前文字样式。后续创建的文字将使用此样式。
set_dimension_text_override覆盖标注文字(用自定义文本替换自动测量值)。
set_entity_plot_style设置实体的打印样式。
set_entity_properties设置实体的显示属性(颜色、图层、线型等)。
set_entity_transparency设置实体的透明度。
set_entity_truecolor将实体的颜色设置为 RGB 真彩色(超过1600万色)。
set_text_alignment设置文字对象的对齐方式。
set_text_properties设置文字的高级属性(倾斜角度、宽度因子、文字样式)。
stretch_entities拉伸选择窗口内实体(移动被选中的顶点/端点)。
thaw_layer解冻图层(恢复冻结图层的可见性)。
trim_entity用剪切边修剪实体(切除超出边界的部分)。
turn_off_layer关闭图层(不可见但参与重生成计算)。
turn_on_layer打开图层(恢复可见)。
unisolate_layers取消图层隔离:打开所有被隔离关闭的图层。
unlock_layer解锁图层(恢复可编辑状态)。
Public scan report
scanner v0.1.5 · 2026-09-19 · same rubric, same numbers if you re-run it
- Code scan43 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 0 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
What the publisher says
From the best-cad-mcp repository's README, as published. We do not edit it. Read it on GitHub
best-cad-mcp
<!-- mcp-name: io.github.LokmenoWer/best-cad-mcp -->
A local, handle-first MCP server for agents that work with real AutoCAD drawings.
Inspect a DWG, reason over structured geometry, plan guarded edits, validate the result, and export visual evidence without hiding agent state inside the drawing.
简体中文 · Live demo · Install · Workflow · Tool profiles · Safety · Limitations
A real AutoCAD model-space export created by a validated, dry-run CADPlan: front and top projections, a sectioned side view, centerlines, dimensions, feature callouts, hatches, and a title block. Download the source DWG or inspect the executed CADPlan.
[!IMPORTANT]
best-cad-mcp is beta software. It is designed for controlled local workflows
where an operator can review plans and evidence, not unattended changes to
valuable production drawings.
Why best-cad-mcp
Most CAD automation stops at drawing primitives. Useful agent workflows also need to know exactly what they are changing, why a target was selected, and whether the result is correct.
The server runs on the same Windows account as AutoCAD and communicates over MCP stdio. It runs natively on the official MCP Python SDK 2.x, negotiates the 2026-07-28 protocol, and retains legacy client negotiation. AutoCAD remains the source of truth; SQLite stores model-private context, scan results, and review artifacts alongside the workspace. AutoCAD-facing tool calls are intentionally serialized on one event-loop thread to preserve COM apartment safety.
Live AutoCAD demo
Prompt: Create a production-style A3 landscape bolted flange-coupling
assembly drawing at true 1:1 size, with a longitudinal half-section, aligned
end view, exploded schematic, true dimensions, differentiated hatching, an
eight-item BOM, matching item leaders, technical requirements, and a
controlled title block.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Install directly
claude mcp add best-cad-mcp -- uvx best-cad-mcp
best-cad-mcp: common questions
- Is best-cad-mcp server safe?
- Yes, by our scan: it is graded A (92/100). Read the best-cad-mcp safety report
- How do I install best-cad-mcp?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does best-cad-mcp need an API key?
- No secret keys are declared. It reads 1 setting from the environment.
- Is best-cad-mcp maintained?
- The last commit was in the last day (2026-09-19). The latest release is v1.7.1.
- What can I use instead of best-cad-mcp?
- Servers from other publishers that do the same job: build123d MCP server.
Alternatives to best-cad-mcp
Same job from other publishers: the closest match first, then the best rated.
- build123d MCPAI-driven 3D CAD via build123d: execute, render, measure, and export geometry interactively.not reviewedEstablishedA