AutoCAD MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AUTOCAD_MCP_BACKEND | No | Backend selection: auto, com, file_ipc, or ezdxf. auto tries full AutoCAD over COM, then AutoCAD LT over File IPC, then falls back to ezdxf. | auto |
| AUTOCAD_MCP_IPC_DIR | No | Directory for IPC command/result JSON files. Must match on both the Python and AutoLISP sides. | C:/temp |
| AUTOCAD_MCP_AUTOLOAD | No | Load mcp_dispatch.lsp in the active document before its first v2 request. Set to 0 to require manual preload. | 1 |
| AUTOCAD_MCP_ONLY_TEXT | No | Disable screenshot capture and provide text feedback only. | false |
| AUTOCAD_MCP_COM_LAUNCH | No | Set to 0 to prevent the COM backend from starting full AutoCAD automatically; otherwise AutoCAD starts if needed. | |
| AUTOCAD_MCP_IPC_TIMEOUT | No | IPC command timeout in seconds (1-300). | 30.0 |
| AUTOCAD_MCP_IPC_LONG_TIMEOUT | No | Timeout in seconds for execute_lisp and plotting (up to 600). | 120.0 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| drawingB | Drawing file management. |
| entityA | Entity creation, querying, and modification. |
| layerA | Layer creation and management. |
| blockA | Block definition, insertion, and attribute management. |
| annotationB | Annotation: text, dimensions, and leaders. |
| pidB | P&ID drawing with CTO symbol library. |
| architectureA | Architectural plan drawing (ve mat bang kien truc). Units: mm, angles: degrees. |
| viewA | Viewport control and screenshot capture. |
| systemB | Server status and management. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 9 tools
Top-level tools cover distinct domains, but there is real overlap: pid.insert_symbol/insert_pump/insert_tank duplicate block.insert, architecture.wall duplicates entity.create_polyline plus hatching, and annotation.create_text overlaps entity.create_mtext. The system tool's status/health/get_backend/runtime are near-synonymous diagnostics, and revision/desktop/worker/job/acknowledge are hard to distinguish without deep reading.
Operations follow a consistent snake_case verb_noun pattern (create_line, set_properties, get_screenshot, zoom_extents) within noun-based category tools. The only deviations are that top-level tools are nouns rather than action verbs, and abbreviations like 'pid' are less readable, but the overall scheme is predictable.
Nine top-level tools is a reasonable count, but each is an overloaded dispatcher: entity bundles 20+ operations, system bundles 12 including health checks, job lifecycle, and arbitrary LISP execution. This effectively exposes a very large surface through a small number of mega-tools, increasing cognitive load and misselection risk.
Coverage is broad: layers, drawings, entities, blocks, annotations, P&ID, architecture, views, and system control. Notable gaps remain—there is no generic entity property update (change layer/color/linetype of an existing entity), and no xref, layout/paperspace, or style management, though agents can work around most of these.