
Qcad Mcp
io.github.sandraschi由 GitHub 账号 sandraschi 发布v0.5.0更新于 Oct 24, 2026
QCAD 2D CAD automation: DXF/DWG floor plans to SVG and STL, via MCP tools and REST
概览
本地 MCP 服务器,让助手解析、转换、标注 2D CAD 平面图(DXF/DWG),并输出 SVG、STL 与 BIM 数据。
- 可以做什么
- 检查、转换与导出图纸:DXF 信息、SVG 渲染、DWG/DXF 互转、GLB/STL 拉伸与堆叠
- 编辑与标注平面图:图层与实体、尺寸、测量、文字、填充、图块、阵列、墙体数据
- 执行 QCAD Pro 操作:ECMAScript 脚本、渲染与命令执行
- 生成与分析:自然语言生成平面图、房间与面积分析、梁分析、建筑元数据与 IFC 交接
- 管理持久化 CAD 仓库:列出、上传、创建、重命名、打标签与删除文件,以及状态与帮助卡片
- 适用场景
- 适合让助手以程序化方式处理平面图、把 DXF 图纸转成可用于 Unity 或 Resonite 等引擎的 3D 模型、维护长期保存的 CAD 文件库,或自动化重复的制图与标注工作。
- 运行要求
- 以本地进程方式运行,仅限 Windows 桌面,可通过随附的 mcpb 包、uv 或本地服务(端口 11966 与 11967)启动。解析使用免费的 ezdxf Python 引擎;DWG 转换、脚本与渲染需要另行授权的 QCAD Professional 安装。仓库路径可通过 QCAD_MCP_DEPOT 环境变量设置。
安装
在 SourceWeft 中
- 打开 控制台中的 Qcad Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
QCAD MCP
[Just] [Ruff] [Python] [Biome] [FastMCP]
AI-driven 2D CAD automation — DXF/DWG parsing, 3D extrusion, persistent file depot, room analysis, and full CRUD management. 12 MCP tools (8 portmanteaus + 4 Prefab cards) for DXF processing. Your AI assistant becomes a QCAD Pro operator.
MCP Tools
v0.5.0 portmanteau surface: each tool takes an op discriminator plus the op's
parameters (old per-op names survive only as webapp-internal aliases).
Fleet Crossconnects (Companions)
qcad-mcp works completely standalone. You can optionally connect it with companion servers in the sandraschi fleet to unlock extended features:
Self-Contained Companions: Fleet companions operate independently. Installing companions does not trigger transitive dependency chains.
CAD Depot (Persistent File Storage)
All CAD files are stored in a persistent depot at %LOCALAPPDATA%\qcad-mcp\depot — survives server restarts and system reboots. Configurable via QCAD_MCP_DEPOT env var.
Depot CRUD via REST API:
REST API
Webapp Pages
Quick Start
Install (Claude Desktop, Windows)
Installs the stable qcad-mcp.mcpb bundle into Claude Desktop. Other
clients (Cursor, VS Code, OpenCode): use uvx with the stdio entry:
MCP Client Config
Raster → DXF Pipeline (Planned)
Scanning a floorplan print into a working DXF is straightforward:
Two approaches:
- inkscape-mcp route — send the scanned PNG to inkscape-mcp's
trace_bitmap()tool, get back SVG with proper path geometry. The SVG imports cleanly into QCAD as workable entities. - potrace in qcad-mcp — add a
plan_raster_to_dxf(file_name)tool that wraps potrace + ezdxf. Self-contained, no external server needed.
Either way, the result goes through plan_edit(op="modify") for cleanup (delete noise, merge wall segments, re-assign layers, re-add dimensions). The baroque church preset in the Demo page proves the parametric geometry works — scanning would let you capture actual existing buildings.
QCAD Pro Pricing — €50? Really?
QCAD Professional sells for €50.40 for a single-user license — lifetime, no subscription. That looks absurd next to AutoCAD at $2,000+/year, but RibbonSoft's revenue model is more nuanced:
The strategy is open-core freemium with enterprise site-license extraction:
- Community Edition is genuinely free and capable (GPLv3). It's a giant funnel — architects, makers, and students learn on it, recommend it, and eventually their employer buys a site license.
- €50 individual is friction-free "impulse buy" pricing — no PO approval needed, no vendor negotiation. You just buy it.
- Site & server licenses (€440–€1,771) are where the real revenue lives. An architecture firm with 20 seats paying €440 beats 200 individuals paying €50. And server licenses for SaaS/on-prem deployment scale further.
- QCAD/CAM at €132 captures the CNC/manufacturing niche — a separate, higher-value market.
- Books at €40 are pure margin — the manual is already written, printing costs are negligible.
RibbonSoft is a Swiss GmbH (limited company) based in Sarnen, not retirees. 100% of their office energy is from Swiss hydropower (they're proud enough to put it in the footer). They've been doing this since 1999 — 26+ years of sustainable bootstrapping.
Who pays? Ganesh in Bangalore runs the Community Edition for his residential projects — it handles DXF perfectly for Indian building code drawings. When a client demands DWG or PDF export, he drops €50 on Pro — one job pays for it. As his practice scales past 5 seats, he graduates to a site license. Meanwhile a European architecture firm pays €440 for compliance reasons and never thinks twice. The Bay Area Autodesk tax ($2,500+/year) only makes sense when someone else is paying.
€50 clears every threshold, everywhere. No PO approval, no vendor negotiation, no subscription clock. You buy it once and own it.
Quality Stack
- Python: Ruff linter + format, Pyright typecheck (0 errors) —
src/+run_server.py - Frontend: Biome +
tsc --noEmit+ bun lockfile — 22 TypeScript pages - Protocol: FastMCP 3.4 (stdio + HTTP
/mcp) + 40 REST routes - Tools: 12 MCP tools (8 portmanteaus + 4 Prefab cards) with READ_ONLY/MUTATING annotations
- Automation: Justfile recipes for all fleet operations
- Tests: pytest (78+) + Playwright e2e specs
License
MIT — see LICENSE.
来源:README.md,提交 b8eb4e9
工具
0版本历史
2- v0.5.0最新Oct 22, 2026
- v0.3.0Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分