1. Conduid
  2. AI
  3. Cad MCP
MCP server · AI

Cad MCP

CAD MCP Server

75Good

Scored 21 hours ago · breakdown

About Cad MCP

Cad MCP is an MCP server published by daobataotie in the AI category: cAD MCP Server. Conduid read 35 tools from its source: add_dimension, array_linear_entity, array_polar_entity, close_drawing, copy_entity, create_block and 29 more. No package is published for it, so it installs from a source checkout.

The repository has 753 stars and 116 forks, is licensed MIT, and its last commit was on 27 Oct 2026. Conduid has no tagged release on record for it. It passes 3 of the 6 static checks Conduid ran on the repository; it does not pass Tests present, Dependencies pinned and Scoped permissions. Its topics include autocad, bim, civil3d, repl, revit and roslyn.

Install

From source
git clone https://github.com/daobataotie/CAD-MCP

Tools (35)

add_dimension在CAD中添加线性标注(text_position 不指定时自动放在中点上方)
ParameterTypeDescription
colorany
end_point *any
layerstring
start_point *any
text_positionany
textheightany
array_linear_entity矩形阵列:沿位移向量方向复制 count-1 份(含原实体共 count 个)
ParameterTypeDescription
count *any
displacement *any
handle *string
array_polar_entity环形阵列:绕中心点在 total_angle 角度范围内复制 count-1 份
ParameterTypeDescription
center *any
count *any
handle *string
total_angle_degreesnumber
close_drawing关闭当前文档(save=False 时不保存直接关闭)
ParameterTypeDescription
saveboolean
copy_entity复制实体并平移指定位移,返回新实体句柄
ParameterTypeDescription
displacement *any
handle *string
create_block创建图块定义(若同名图块已存在则直接返回)
ParameterTypeDescription
base_pointany
block_name *string
create_layer创建新图层并设为当前图层(若已存在则直接激活)
ParameterTypeDescription
layer_name *string
draw_arc在CAD中绘制弧(角度单位:度)
ParameterTypeDescription
center *any
colorany
end_angle *number
layerstring
lineweightnumber
radius *any
start_angle *number
draw_circle在CAD中绘制圆
ParameterTypeDescription
center *any
colorany
layerstring
lineweightnumber
radius *any
draw_ellipse在CAD中绘制椭圆(rotation 为旋转角度,单位:度)
ParameterTypeDescription
center *any
colorany
layerstring
lineweightnumber
major_axis *any
minor_axis *any
rotationnumber
draw_hatch在CAD中绘制填充(points 为闭合边界点集,至少3个点)
ParameterTypeDescription
colorany
layerstring
pattern_namestring
points *any
scaleany
draw_line在CAD中绘制直线
ParameterTypeDescription
colorany
end_point *any
layerstring
lineweightnumber
start_point *any
draw_polyline在CAD中绘制多段线(closed=True 时闭合)
ParameterTypeDescription
closedboolean
colorany
layerstring
lineweightnumber
points *any
draw_rectangle在CAD中绘制矩形(由两个对角点确定)
ParameterTypeDescription
colorany
corner1 *any
corner2 *any
layerstring
lineweightnumber
draw_text在CAD中添加单行文本
ParameterTypeDescription
colorany
heightany
layerstring
position *any
rotationnumber
text *string
erase_entity删除指定句柄的实体
ParameterTypeDescription
handle *string
get_entity_properties按句柄查询实体详细属性(几何信息随实体类型而异:坐标/半径/文本内容等)
ParameterTypeDescription
handle *string
insert_block在模型空间插入图块引用(返回图块引用实体的句柄)
ParameterTypeDescription
block_name *string
position *any
rotation_degreesnumber
x_scalenumber
y_scalenumber
z_scalenumber
list_blocks列出当前图纸中的用户图块定义
list_entities列出模型空间中的实体(实时查询,与CAD文档保持同步)
ParameterTypeDescription
entity_typestring
limitinteger
list_layers列出当前图纸的所有图层(名称、颜色、冻结/锁定/开关状态、是否当前层)
mirror_entity沿两点确定的镜像轴镜像实体(保留原实体),返回新实体句柄
ParameterTypeDescription
handle *string
point1 *any
point2 *any
move_entity移动实体(displacement 为位移向量 [dx, dy, dz])
ParameterTypeDescription
displacement *any
handle *string
new_drawing新建图纸文档
offset_entity偏移实体(正负值决定偏移方向),返回新实体句柄
ParameterTypeDescription
distance *number
handle *string
open_drawing打开已有图纸文件(DWG/DXF等)
ParameterTypeDescription
file_path *string
process_command处理自然语言命令并转换为CAD操作(遗留接口)
ParameterTypeDescription
command *string
redo重做被撤销的操作
rotate_entity绕基点旋转实体(角度单位:度,逆时针为正)
ParameterTypeDescription
angle_degrees *number
base_point *any
handle *string
save_drawing保存当前图纸(按扩展名自动选择 DWG/DXF 格式;已存在的文件将被覆盖)
ParameterTypeDescription
file_path *string
scale_entity绕基点缩放实体(scale_factor>1 放大,<1 缩小)
ParameterTypeDescription
base_point *any
handle *string
scale_factor *any
screenshot截取CAD主窗口画面并返回PNG预览图(用于确认绘图效果)
send_command直通CAD命令行执行任意命令(功能逃生舱)
ParameterTypeDescription
command *string
set_current_layer切换当前图层(图层必须已存在)
ParameterTypeDescription
layer_name *string
undo撤销上一步操作

Security checks

Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.0K words.
  • ✓License declaredThe repository declares the MIT license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
  • ✓No dynamic code executionScanned 6 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdio and Streamable HTTPsrc/server.py:1153, src/server.py:1169
Starts other programs
No calls that start other programs
Outbound network calls
No outbound network calls
Writes or deletes files
2 callssrc/cad_controller.py:567, src/server.py:65
Lockfile
None in the repository

Pattern matches on the source text of 6 files: places to read, not proof of what the code does at run time.

README

The repository's README runs to about 1.0K words, fetched 2 days ago. The original in the repository is authoritative.

Read full README
Questions

About Cad MCP

How do I install Cad MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Cad MCP safe to use with an AI agent?

Its trust score is 75 out of 100 (good). It passes 3 of the 6 static checks Conduid ran on the repository; it does not pass Tests present, Dependencies pinned and Scoped permissions. Conduid's scan of 6 source files found that it serves MCP over stdio and Streamable HTTP and writes or deletes files (2 calls). It has no ConduID identity yet, so agent calls to it are not receipted.

Is Cad MCP still maintained?

Yes — the last commit was a month ago. The repository has 753 stars and 116 forks and 2 open issues.

What tools does Cad MCP provide?

Conduid read 35 tools from the source: add_dimension, array_linear_entity, array_polar_entity, close_drawing, copy_entity, create_block, create_layer, draw_arc and 27 more. 29 of them publish their parameters, listed under Tools above.

What license is Cad MCP released under?

The repository declares the MIT license.