Skip to content
MCP server
Registry

Bimwright DWG MCP Server

MCP gateway for AutoCAD 2022-2027: DWG text, layers, entities, views and automation.

Bimwright DWG scores 68 (Good), licensed Apache-2.0 and written in C#. It installs as a local process. It declares 40 tools. Filed under Uncategorized. GitHub shows 40 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by bimwrightApache-2.0C#40 stars
Trust score
68Good
Trust score 68 of 100, Good

Good trust

68 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: apache-2.0.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 68 comes from

22 + 20 + 5 + 10 + 4 + 7 = 68. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity5 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 5 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "bimwright-dwg-mcp": {      "command": "dnx",      "args": [        "Bimwright.Dwg.Server"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools40Tool docs quality grade C

All capabilities

About

Overview

dwg-mcp connects MCP-capable AI clients (Claude, Antigravity, Codex, Grok Build, Pi, OpenCode, Devin, Kilo, Hermes, OpenClaw, and other stdio MCP clients) directly to a local Autodesk AutoCAD 2022-2027 session through its native ObjectARX .NET API. Query entities, layers, and blocks, draft and edit DWG geometry, capture views, export DXF, update annotations, and run C# scripts locally with no cloud relay.

AspectDetails
Host applicationAutodesk AutoCAD 2022-2027 (Windows)
Architecture.NET 10 MCP stdio server + in-process per-year AutoCAD plugin
Local transportLoopback TCP (2022-2024) and Named Pipe (2025-2027), token-authenticated
Tool surface78 typed tools across 10 toolsets (54 bare default), plus C# scripting and ToolBaker
Safety controls--read-only mode (29 read-only tools), PID/document pinning, atomic batching, LISP blocked
MCP protocolMCP stdio (Tools, Prompts, explicit permission annotations, response budgets)
LicenseApache-2.0

Capabilities

AreaWhat you can do
Query and auditProfile large DWG files, partition dense regions into bands, filter and page entities by layer, type, or WCS bounding box.
Drafting and modifyCreate lines, circles, arcs, polylines, rectangles, ellipses, points, and raster images; move, rotate, scale, copy, offset, erase, or run atomic=true batches.
Blocks, annotations, dimensionsList, insert, explode, and edit block attributes; create DBText, MText, MLeaders, tables, and linear, aligned, radial, and diameter dimensions.
Drawings and exportList recent and open drawings, open or activate DWGs, read/set allowlisted system variables, save, purge with dry_run, and export DXF.
Visual inspectionZoom extents, window, or entity; capture native viewport images via CapturePreviewImage, inspect sub-regions, and restore the camera.
Text and Unicode formattingSpatially cluster technical text, normalize SHX fonts to Bimwright_Unicode, scale text heights, and batch-rewrite DBText/MText in one transaction.
C# scripting and ToolBakerRun synchronous Roslyn C# snippets with structured JSON data and compile_only diagnostics; turn repeated workflows into baked tools.
Host UI and change historyMonitor live activity toasts (MCPTOAST), inspect session history (MCPHISTORY), open reports with clickable dwg: links (MCPREPORTS), and track per-drawing SQLite history.

Showcase

Native AutoCAD 2025 ISO A1 general arrangement sheet created via dwg-mcp: plan view, section A-A, baseplate and flange details, native BOM table, and BIMwright title block

Native AutoCAD 2025 ISO A1 sheet (494 native entities: blocks with attributes, hatches, dimensions, native BOM table, and attached logo) generated via dwg_send_code, dwg_attach_image, and dwg_capture_view_image. Click to inspect at full resolution (3308 x 2337).

Verified across all 78 tools on AutoCAD 2025 (benchmark record) and 220 production calls on construction drawings.

Example prompts you can run immediately:

  • "Profile this DWG, list the heaviest layers in model space, and report findings with clickable AutoCAD links."
  • "Survey impact on handles 7F5AD and 7F5AE, move them to layer A-NOTE, and verify the updated properties."
  • "Insert block VALVE-CHECK at (1200, 450), set tag attribute V-104, and capture a view image of that area."
  • "Add linear dimensions along the grid lines on layer A-DIM, preview unused objects with dry_run=true, and export the drawing to DXF."

Quick Start

Option 1: Agent-assisted install

Paste this prompt into an AI agent with local terminal access (Claude, Antigravity, Codex, Grok Build, Pi, OpenCode, Devin, Kilo, Hermes, OpenClaw, ...):

Check the current version of AutoCAD in this PC and install the BIMwright dwg-mcp latest release for me

Option 2: Manual install (PowerShell Setup ZIP)

  1. Download latest release: open GitHub Releases, download DwgMcp.Setup-<tag>-win-x64.zip, and extract it.
  2. Run the installer: close AutoCAD, open PowerShell in the extracted folder, preview with -WhatIf, then install:
powershell -ExecutionPolicy Bypass -File .\install.ps1 -WhatIf
powershell -ExecutionPolicy Bypass -File .\install.ps1
  1. Or install from source: clone this repository, build, and run the local install script for your AutoCAD year:
git clone https://github.com/bimwright/dwg-mcp.git
cd dwg-mcp
dotnet build src/Bimwright.Dwg.sln
powershell -ExecutionPolicy Bypass -File .\scripts\install.ps1 -Years 2024

Verify: restart your AI client, open a DWG in AutoCAD, and ask your agent to run dwg_get_drawing_info.

Full setup details (upgrade, uninstall, NuGet, Claude Desktop MCPB, per-client wiring): docs/install.md | docs/mcp-client-wiring.md.

Architecture

AI Client (Claude / Antigravity / Codex / Grok Build / Pi / OpenCode / ...)
  |  MCP over stdio
  v
Bimwright.Dwg.Server (.NET 10 console gateway)
  |  Loopback TCP (2022-2024) or Named Pipe (2025-2027) + session token
  v
Bimwright.Dwg.Plugin (AutoCAD 2022-2027 shells)
  |  Application.Idle dispatch + Document.LockDocument()
  v
Autodesk AutoCAD .NET API (ObjectARX 2022-2027)
  • Two local processes: the server has zero AutoCAD SDK references and builds/tests without AutoCAD installed.
  • Main-thread safe: DwgApiExecutor and MainThreadExecutor serialize requests onto Application.Idle before locking the active document.
  • Full threading, discovery, Roslyn isolation, and protocol specification: ARCHITECTURE.md.

Supported Versions

VersionObjectARXPlugin TFMTransportNotes
AutoCAD 2022-202424.1-24.3net48Loopback TCPPer-year shells compiled from shared source
AutoCAD 2025-202625.0-25.1net8.0-windowsNamed PipeAvoids Windows loopback firewall prompt
AutoCAD 202726.0net10.0-windowsNamed PipeNative .NET 10 host target

Release Setup ZIPs pack prebuilt plugins for all 6 AutoCAD years (2022-2027), verified in manifest.json.

Tools

ToolsetDefaultRead-onlyCountExamples
queryYes1212dwg_health, dwg_get_drawing_profile, dwg_query_entities, dwg_cluster_bands, dwg_inspect_lisp
modifyYes021dwg_create_layer, dwg_create_line, dwg_create_polyline, dwg_move_entities, dwg_erase_entities
meta (code)Yes815dwg_switch_target, dwg_open_drawing, dwg_survey_change_impact, dwg_batch_execute, dwg_send_code
viewYes36dwg_zoom_extents, dwg_zoom_to_entity, dwg_capture_view_image, dwg_inspect_view_region, dwg_restore_view
toolbakerOptional36dwg_list_baked_tools, dwg_run_baked_tool, dwg_list_bake_suggestions, dwg_accept_bake_suggestion
annotationOptional04dwg_create_text, dwg_create_mtext, dwg_create_leader, dwg_create_table
blockOptional25dwg_list_blocks, dwg_get_block_attributes, dwg_insert_block, dwg_set_block_attributes, dwg_explode_block
dimensionOptional04dwg_create_linear_dimension, dwg_create_aligned_dimension, dwg_create_radial_dimension, dwg_create_diameter_dimension
exportOptional01dwg_export_dxf
drawingOptional14dwg_get_variables, dwg_set_system_variable, dwg_save_drawing, dwg_purge_drawing

Bare startup enables 54 tools (23 read-only). install.ps1 seeds "toolsets": ["all"] for all 78 tools (29 read-only under --read-only). Complete tool catalog: docs/tools.md. Benchmark: docs/benchmarks/2026-11-23-autocad-2025.md.

Safety and Permissions

  • Local-only loopback transport authenticated by a per-session random GUID token.
  • Explicit PID and active-document confirmation required before writes (dwg_switch_target).
  • --read-only strips all write and code-execution tools at registration time.
  • Third-party AutoLISP scripts carry a long history of unreviewed side effects and security risks, so dwg_run_lisp is always blocked. Use dwg_inspect_lisp to inspect legacy .lsp logic without running it, and let the agent re-implement workflows deliberately using typed tools or controlled, synchronous C# via dwg_send_code (--disable-send-code, MCPDISABLECODE).
  • Never approve broad mcp__dwg-mcp__* wildcards; use the test-verified 29-tool read-only allowlist in docs/safety.md.
  • Detailed security, auto mode, response budgets, and opt-in logging: docs/safety.md | docs/configuration.md.

Documentation

DocumentTopic
ARCHITECTURE.mdProcess model, threading, discovery, Roslyn scripting, wire protocol
AGENTS.mdAgent installation and operating instructions
docs/install.mdSetup ZIP, upgrades, uninstall, NuGet, Claude Desktop MCPB, build from source
docs/mcp-client-wiring.mdConfiguration for Claude, Antigravity, Codex, Grok Build, Pi, OpenCode, Devin, Kilo, Hermes, OpenClaw
docs/tools.mdFull reference for all 78 MCP tools, spatial paging, and path policies
docs/configuration.mdCLI flags, environment variables, response budgets, output artifacts, call logging
docs/safety.mdTarget pinning, read-only allowlist, permissions, C# scripting, LISP policy, health
docs/host-ui.mdActivity toast, session history, Reports window, per-drawing change history
docs/workflows.mdLarge drawing audit, safe edits, Unicode text rewriting, and smoke checklist
docs/benchmarks/2026-11-23-autocad-2025.mdPublic 78-tool benchmark on AutoCAD 2025
CHANGELOG.mdVersion history and release notes

The bimwright Family

RepositoryScopeLicense
rvt-mcpAutodesk Revit 2022-2027 MCP gatewayApache-2.0
dwg-mcpAutodesk AutoCAD 2022-2027 MCP gateway (this repository)Apache-2.0
nwd-mcpAutodesk Navisworks Manage 2022-2027 MCP gatewayApache-2.0
ipt-mcpAutodesk Inventor 2022-2027 MCP gatewayApache-2.0
bim-wikiBilingual BIM knowledge base (ISO 19650 and Vietnam BIM regulations)CC-BY-SA 4.0

License

Apache License 2.0. Third-party notices: THIRD_PARTY_NOTICES.md. Autodesk, AutoCAD, and DWG are trademarks of Autodesk, Inc.; bimwright is an independent open-source project.

Frequently asked questions

What is Bimwright DWG MCP Server?

MCP gateway for AutoCAD 2022-2027: DWG text, layers, entities, views and automation.

How do I install Bimwright DWG MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Bimwright DWG MCP Server runs locally from the NuGet package Bimwright.Dwg.Server with the command dnx Bimwright.Dwg.Server.

Is Bimwright DWG MCP Server free and open source?

Yes. Bimwright DWG MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does Bimwright DWG MCP Server support remote (HTTP) connections?

No remote endpoint is listed for Bimwright DWG MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does Bimwright DWG MCP Server provide?

Bimwright DWG MCP Server provides 40 tools, including dwg_apply_unicode_style, dwg_attach_image, dwg_batch_execute, and dwg_change_color. See the full tool list for descriptions and parameters.

How is Bimwright DWG MCP Server's trust score calculated?

Bimwright DWG MCP Server scores 68 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server