Skip to content

dwg-mcp v2.5.2

Latest

Choose a tag to compare

@lekhoa221 lekhoa221 released this 26 Nov 07:42
· 14 commits to master since this release
2d838af

This release begins an ongoing MCP gateway upgrade focused on cleaner server instructions, tool discovery, and client compatibility.

  • Tool surface: 54 tools at default startup and 78 with --toolsets all (23 / 29 under --read-only).

Changes

  • Report CLIENT_SANDBOXED when the MCP client runs the gateway inside a Windows AppContainer (for example Codex Desktop). When the sandbox is detected and no AutoCAD is found, target tools and dwg_switch_target refuse with CLIENT_SANDBOXED and send nothing, dwg_list_available_targets adds a sandbox block and a
    ote, and dwg_health reports CLIENT_SANDBOXED with the sandbox block. Outside a sandbox nothing changes.
  • Shorten server instructions from 14,251 characters to at most 2,048 UTF-8 bytes, ordered with product keywords, start sequence ( arget -> health ->
    eport), compact tool index, and a closing Safety & permissions block. Move per-tool guidance into the relevant tool descriptions, and point all existing-entity modifying/erasing/compound tools to dwg_survey_change_impact before editing.
  • Mark startup and reporting tools (dwg_health, dwg_list_available_targets, dwg_switch_target, dwg_report_task_result) with _meta["anthropic/alwaysLoad"]: true and _meta["antigravity/alwaysLoad"]: true when registered (dwg_send_code never does). Tests cap instructions at 2,048 UTF-8 bytes, tool descriptions at 4,096 characters/bytes, and parameter descriptions at 2,048 UTF-8 bytes.

Distribution

Setup includes the self-contained Windows x64 gateway and AutoCAD 2022–2027 plugins. NuGet (Bimwright.Dwg.Server) contains the gateway only and requires .NET 10. The Claude Desktop MCPB is unsigned and requires the exact Setup gateway SHA-256 (4ec6d48c224d3767ae97cb4f60fba1dc2c4f4426e03559c6eb96613b494740e8), including executable overrides. All three packages have SHA-256 sidecars.

Validation

  • CI run 45776501525 on PR #19: server, public-tree, oast-wpf, installer-powershell, installer-pwsh, plugin-acad22–plugin-acad27, changes, ci-ok all passed.
  • Local tests: Bimwright.Dwg.Tests 1,910 / 1,910 passed; Bimwright.Dwg.Rewriting.Tests 13 / 13 passed.
  • Packaged Setup ZIP & MCPB E2E stdio verification on 2.5.2+2d838af2b95d2cea4a1cb6297e0b11de757cd7a1: �ll (78),
    ead-only (29), �nthropic/alwaysLoad + �ntigravity/alwaysLoad verified, @anthropic-ai/mcpb@2.1.2 �alidate/pack PASS, schema SDK 1.27.1 PASS.

Source commit: 2d838af.