cizgen-mcp
v0.2.1
Published
Cizgen MCP server — drive the open AutoCAD drawing from any MCP host (Claude Desktop, Claude Code, Cursor) with your own AI subscription.
Readme
cizgen-mcp
Drive the drawing currently open in AutoCAD from any MCP host — Claude Desktop, Claude Code, Cursor, VS Code — using your own AI subscription.
Cizgen MCP exposes 40+ deterministic CAD tools over the Model Context Protocol: region-scoped reading (overview, queries, renders the model can see, measurements), quantity takeoff aggregation, drawing hygiene audits, and drawing/editing where every write goes preview → your explicit approval → commit (approval prompt appears in-chat, or inside AutoCAD as a fallback).
Requirements
- Windows with AutoCAD 2025/2026 and the Cizgen plugin ≥ v1.0.10 (cizgen.app/download)
- A Cizgen MCP subscription and API key — generate at cizgen.app → Dashboard → MCP
- Node.js ≥ 20 (for this npm package; the Claude Desktop
.mcpbpackage needs no Node)
Setup
Claude Code
claude mcp add cizgen -e CIZGEN_MCP_API_KEY=czmcp_... -- npx -y cizgen-mcpCursor / VS Code / other MCP hosts — add to the host's MCP config:
{
"mcpServers": {
"cizgen": {
"command": "npx",
"args": ["-y", "cizgen-mcp"],
"env": { "CIZGEN_MCP_API_KEY": "czmcp_..." }
}
}
}Claude Desktop — install the one-click .mcpb package instead (no Node needed):
download it from the cizgen.app dashboard, double-click, and paste
your API key.
Open AutoCAD with a drawing, then ask your AI assistant to look at it.
Environment variables
| Variable | Required | Purpose |
|---|---|---|
| CIZGEN_MCP_API_KEY | yes | Your czmcp_… key (Dashboard → MCP) |
| CIZGEN_MCP_API_URL | no | Override the subscription API base (default https://cizgen.app) |
| CIZGEN_MCP_PIPE | no | Plugin pipe channel (default cizgen-mcp) |
Pointing at part of the drawing
Your chat app has no "select this area" button, so there are two ways to show the AI where you mean instead of dictating coordinates:
- Mark it first — run
CIZGENREGIONin AutoCAD and drag a rectangle. The area is outlined and lettered (A, B, …) and stays marked until you clear it, so one mark can scope a whole conversation. Then just say "the region I marked". Run the command again for Clear / List. - Point at it when asked — the AI can ask you to pick. AutoCAD comes to the foreground and the command line asks for two corners; it gets both the exact bounds and an image of the area. (Watch for AutoCAD taking focus — the chat will look like it's thinking while it waits on you.)
Marking needs plugin ≥ v1.0.15. Full docs: cizgen.app/docs/mcp/pointing-at-the-drawing.
How it connects
The server talks to the Cizgen AutoCAD plugin over a local named pipe restricted to your Windows user. Commits are gated by a cryptographic approval token minted only after a human approves — the model can never make changes permanent on its own. Subscription state is verified against cizgen.app and cached (signed) for 72h of offline grace.
© Cizgen — cizgen.app. Use requires an active subscription; see LICENSE.
