Skip to main content
Glama
autocad-mcp
by xstaar

What is this?

autocad-mcp is a Model Context Protocol (MCP) server that connects Claude AI directly to AutoCAD. It gives Claude the ability to execute 684 architectural design commands — walls, doors, windows, columns, stairs, dimensions, layers, hatching, annotations, and more.

Instead of clicking through menus, you just describe what you want:

"Draw a 3-bedroom apartment. 200mm exterior walls, 100mm partitions. Add doors, windows, and auto-dimension everything."

Claude does the rest.

Requirements

  • Claude Pro/Max recommended for best results (more tool calls, longer context)

  • Claude Desktop or Claude Code (MCP host)

  • AutoCAD 2000+ on Windows

  • Node.js v18+


Related MCP server: AutoCAD MCP

How it works

┌─────────────────┐                    ┌──────────────┐                    ┌──────────────┐
│   Claude AI     │   MCP Protocol     │  autocad-mcp │   File IPC         │   AutoCAD    │
│   (Desktop /    │ ◄────────────────► │  (Node.js)   │ ◄───────────────► │              │
│    Code)        │   55 tools         │  684 commands │   C:\temp\*.json   │  Arch Plugin │
└─────────────────┘                    └──────────────┘                    └──────────────┘
  1. You tell Claude what to draw in natural language

  2. Claude picks the right MCP tools and calls autocad-mcp

  3. autocad-mcp writes command files to C:\temp\

  4. The LISP bridge in AutoCAD executes them and writes results back

  5. Claude reads the results and continues — iterating until your drawing is complete

Everything happens in seconds. No manual intervention needed.


684 Commands across 22 Categories

Category

Tools

Commands

Examples

Walls

8

22

Double-line, partition, curtain walls

Doors & Windows

6

34

Single, double, sliding, French doors

Columns

6

9

Rectangular, circular, L, T, hollow

Stairs & Elevators

6

8

Straight, curved, escalators, lifts

Dimensions & Grids

8

58

Auto-dim, linear, aligned, grid axes

Layer Management

9

35

Create, freeze, isolate, rename

Hatching & Materials

4

26

Stone, wood, insulation patterns

Annotations

6

48

Text, leaders, title blocks, symbols

+ 14 more categories

--

444

Blocks, editing, curves, viewports...

Total

55 tools

684 commands

Plus 2 generic tools:

  • yq_execute — run any of the 684 commands by name

  • yq_list_commands — search and browse all commands by category


Quick Start

1. Install

git clone https://github.com/xstaar/autocad-mcp.git
cd autocad-mcp
npm install && npm run build

2. Load LISP Bridge in AutoCAD

(load "C:/path/to/autocad-mcp/lisp/acad_mcp_bridge.lsp")
YQMCP-START

3. Configure Claude Desktop

Add to %APPDATA%\Claude\claude_desktop_config.json:

{
  "mcpServers": {
    "autocad": {
      "command": "node",
      "args": ["C:/path/to/autocad-mcp/dist/index.js"],
      "env": {
        "ACAD_LICENSE_KEY": "YOUR-KEY-HERE"
      }
    }
  }
}

4. Talk to Claude

"Create a structural grid 6x4m, place columns at every intersection, draw 200mm walls between them, add a main entrance door and 4 windows."

Claude will execute the commands in AutoCAD through autocad-mcp.


Licensing

Plan

Price

Duration

Free Trial

Free

24 hours, all features

Monthly

$9.99

30 days

Yearly

$79.99

365 days (save 33%)

How it works

  1. Set your license key: set ACAD_LICENSE_KEY=ACMCP-XXXXX-XXXXX-XXXXX-XXXXX

  2. Restart the server — your key auto-locks to your machine

  3. One key = one machine. No exceptions.

Keys are validated through our activation server. Even with full source code access, license tokens cannot be forged — the signing key is server-side only.

Get a license

Accepted payments: PayPal, cryptocurrency (BTC, ETH, SOL, USDT, and more).


Why Claude Pro / Max?

This MCP server works with any Claude plan, but Claude Pro or Max is strongly recommended:

  • More tool calls per conversation — architectural drawings need many sequential commands

  • Longer context window — Claude can plan complex multi-room layouts in one go

  • Priority access — no rate limits interrupting your workflow

  • Extended thinking — better spatial reasoning for complex floor plans

With Claude Free, you'll hit tool call limits quickly. With Pro/Max, Claude can design and draw an entire building floor plan in a single conversation.


Architecture

autocad-mcp/
├── src/
│   ├── index.ts          # MCP server (55 tools registered)
│   ├── ipc.ts            # File-based IPC with AutoCAD
│   ├── license.ts        # Server-side activation system
│   ├── commands.ts        # Registry of all 684 commands
│   └── tools/            # Typed tool implementations
├── lisp/
│   └── acad_mcp_bridge.lsp  # AutoCAD LISP dispatcher
├── website/              # Landing page + activation API
└── dist/                 # Compiled + obfuscated output

Environment Variables

Variable

Description

ACAD_LICENSE_KEY

Your license key

ACAD_MCP_IPC_DIR

IPC directory (default: C:/temp)

ACAD_MCP_IPC_TIMEOUT

Response timeout in ms (default: 15000)


License

Proprietary Software. Source provided for transparency. See LICENSE.


Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables Claude to control AutoCAD—draw, edit, query, layers, blocks, annotations, screenshots, plot to PDF—using plain language.
      8
      13
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI clients like Claude Desktop to control AutoCAD through natural language commands using the Model Context Protocol.
      9
      MIT
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables AI assistants such as Claude for Desktop or Cursor to control CAD applications including AutoCAD, ZWCAD, GstarCAD, and BricsCAD through the Model Context Protocol, using natural-language or direct tool calls for drawing, layers, blocks, entities, files, and data export.
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables AI assistants such as Claude for Desktop or Cursor to control CAD applications including AutoCAD, ZWCAD, GstarCAD, and BricsCAD through natural-language and unified tool calls for drawing, layers, blocks, entities, files, and exports.
      -