Skip to main content
Glama
ri3292zone7-cloud

autocad-arch-mcp

autocad-arch-mcp

面向 AutoCAD 2021 和 YQArch(NBC 标准)的建筑 MCP — 混合 dotnet + file_ipc + com + ezdxf。

规范:docs/superpowers/specs/2026-08-24-autocad-arch-mcp-design.md
知识库:knowledge/master_knowledge.md + knowledge/*.json|yaml

先决条件

  • Windows 10/11,AutoCAD 2021 Full (R24.0) 位于 D:\SOFTWARES\Autocad 2021\AutoCAD 2021\

  • YQArch 位于 D:\SOFTWARES\YQArch(或 C:\Autodesk\...YQArch)

  • Python 3.10+ Windows 原生,uv(安装)

Related MCP server: AutoCAD MCP Server

安装

cd "D:\6) Obsidian\AI Workspace\Tools\autocad-arch-mcp"
uv sync

在 AutoCAD 中加载

  1. APPLOAD → lisp-code/mcp_arch_dispatch.lsp → === MCP Arch Dispatch v1 loaded ===

  2. NETLOAD → dotnet/AutocadArch.dll

  3. 将两者添加到启动套件。

MCP 配置(opencode)

参见规范 §8 中的 autocad-arch 片段。

知识库

运行 uv run python -c "import json, jsonschema; ..." 进行验证。阶段 -1 门禁:必须在包装器之前生成 knowledge/yqarch_compat_matrix.csv。

开发

uv run pytest tests/ -v
uv run pytest -m "not e2e" -v

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables users to control CAD software like AutoCAD, GstarCAD, and ZWCAD through natural language instructions via the Model Context Protocol. It supports automated drawing of shapes, layer management, and saving designs to DWG files without manual interface interaction.
    2
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Connects Claude AI to AutoCAD for architectural design, enabling natural language to execute 684 commands. Automates drawing creation and editing through the Model Context Protocol.
    23 npm
    8
    MIT
  • A
    license
    C
    quality
    B
    maintenance
    Enables architectural design in AutoCAD 2021 via chat, using YQArch (NBC standard) to build, draw, and dimension directly through natural language.
    14
    MIT