Scan your whole stack
From OX Research Newsroom
Are you using zwcad-mcp?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.4.0
zwcad-mcp was last scanned on 1 Dec 2026 at version 1.4.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.4.0 LATEST | 1 Dec 2026 | No rules fired |
| 1.3.3 | 1 Dec 2026 | No rules fired |
| 1.3.2 | 1 Dec 2026 | No rules fired |
| 1.3.1 | 27 Nov 2026 | Not shown |
| 1.3.0 | 26 Nov 2026 | Not shown |
Findings for v1.4.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 1.4.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
中望CAD(ZWCAD)MCP 服务。让大模型通过 MCP 协议 直接操控中望CAD 平台与中望机械CAD,完成绘图、标注、图层/块/样式管理, 以及图框、标题栏、明细表(BOM)等机械操作。
共计 40 个工具:平台 27 个(不依赖机械环境)+ 机械 11 个(需中望机械CAD)+ 诊断 2 个。
走 npm 渠道或离线包时是 41 个——启动器会额外注入
zwcad_wait_ready, 用于等待 Python 运行时就绪。PyPI 版直接跑 Python,没有这一层。
pip install zwcad-mcp
依赖 fastmcp、pyzwcad、pyzwcadmech、comtypes、pywin32,pip 会自动安装。
三种方式等价,任选一种:
uvx zwcad-mcp # 有 uv 时最省事,无需预装
zwcad-mcp # pip 安装后的 console script
python -m zwcad2d # 模块方式,一定可用
这是一个 stdio 方式的 MCP 服务,通常由客户端拉起,不需要你手动执行。
给 Agent 平台接入:如果平台托管 Python 环境,用
uvx zwcad-mcp最直接—— 它会自动创建隔离环境、安装依赖并启动,平台不需要预装本包。 若平台只能提供 Python 而不能保证有 uv,改用python -m zwcad2d(需先pip install zwcad-mcp)。
这是一个 stdio 方式的 MCP 服务,通常由客户端拉起,不需要你手动执行。
把下面整段放进客户端的 MCP 配置文件(Claude Desktop 的 claude_desktop_config.json、
Cursor 的 .cursor/mcp.json 等):
{
"mcpServers": {
"zwcad-2d": {
"command": "python",
"args": ["-m", "zwcad2d"],
"env": { "PYTHONUTF8": "1" }
}
}
}
如果用的是虚拟环境,把 python 换成该环境的完整路径,例如
D:\\project\\.venv\\Scripts\\python.exe。
也可以用 uvx 免预装拉起:
{
"mcpServers": {
"zwcad-2d": {
"command": "uvx",
"args": ["zwcad-mcp"],
"env": { "PYTHONUTF8": "1" }
}
}
}
服务启动后,让 AI 调用诊断工具:
zwcad_diagnose(probe_cad: true)
返回里 platform.available 为 true 表示已连上 ZWCAD。
| 现象 | 处理 |
|---|---|
ModuleNotFoundError: No module named 'zwcad2d' |
确认 pip install zwcad-mcp 与运行用的是同一个 Python |
| 报「未找到可用的 Python」或导入依赖失败 | 补装依赖:pip install fastmcp pyzwcad pyzwcadmech comtypes pywin32 |
platform.available=false |
ZWCAD 未启动,或未打开 DWG。启动后重连客户端 |
机械工具报 TYPELIB_NOT_LOADED |
需中望机械CAD 已启动;平台工具不受影响 |
-2147312566(加载类型库/DLL 时出错)这是机械类型库的已知情况,不是文件缺失或权限问题。根因:ZwmToolKit.tlb
内部引用了另一个仅在 ZWCAD 进程运行时才可解析的类型库。
ZwmToolKit.tlb 本身可被正常加载,14 个类型中仅 ZwmBalloonWrapper 的第二个基类型解析失败cFuncs=0、cVars=0,是无方法的空壳,跳过不损失功能同一个服务共发布三处,工具集与版本号完全一致,区别只在启动方式:
| 渠道 | 启动 | 需要 Python | 需要 Node | 需要联网 |
|---|---|---|---|---|
| PyPI(本页) | python -m zwcad2d |
3.10+ 自备 | ❌ | 安装时需要 |
| npm | npx -y zwcad-mcp |
启动器自动准备 | 18+ | 首次需要 |
| 离线包 | node bridge.js |
❌ 自带 | 推荐 18+ | ❌ 不需要 |
如果你的机器已经有可用的 Python 环境,本页这套更轻:没有中间层,启动即用。
如果你的机器不能联网、没有 Python、也不允许自行安装,用离线包:
从 Releases 下载
zwcad-mcp-<版本>-win-x64-offline.zip,解压即用。
用于改进工具稳定性,PyPI 版默认开启(离线包默认关闭)。仅上报随机匿名 installId、工具名、调用成败与按小时聚合次数、版本/平台与客户端名称;不采集任何敏感信息(不触碰图纸内容、文件路径、工具参数、返回值及个人/机器身份信息)。
设环境变量 TELEMETRY=0(或在 ~/.zwcad-mcp/telemetry.json 写 {"enabled": false})可彻底关闭。
MIT
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.