io.github.blackmoon87/autocad-site-mcp·Media

autocad-site-mcp

Headless CAD engine & MCP server for 2D/3D drafting, solids, DXF/SVG export, and automation.

Stars
—
Version
0.2.1
License
—
Review
Passed
Registry update
Oct 15, 2026

Connect

remote + npm
Terminal
$claude mcp add --transport http autocad-site-mcp https://acad-qlae.onrender.com/mcp

Headers

Nothing to configure — it works as is.

Security review

Review passed

Reviewed 3h ago.

tools
19 tools scanned
metadata
scanned
packages
1 checked

No findings.

Tools

19
  • cad_new_drawing

    Initializes a fresh CAD drawing space, clearing existing entities and resetting layers.

  • cad_add_layers

    Creates or configures CAD layers with custom colors (hex), linetypes (Continuous, Hidden, Center, Phantom), and lineweights (0.18, 0.25, 0.35, 0.50, etc.).

  • cad_batch_add_entities

    Fast batch insertion of multiple CAD entities (LINE, LWPOLYLINE, CIRCLE, ARC, ELLIPSE, XLINE, RAY, DONUT, SOLID, TRACE, WIPEOUT, SPLINE, ARRAY (associative rect/polar/path), MLINE (multiline), TABLE (title, header and data cells), IMAGE (picture embedded in the drawing), TEXT, MTEXT, DIMENSION, TOLERANCE, LEADER, HATCH (pattern or gradient), POINT, INSERT, POLYLINE3D). LINE, POINT and POLYLINE3D points take z.

  • cad_create_block

    Defines a reusable Block containing geometric entities and optional attribute definitions (ATTDEF).

  • cad_insert_block

    Places an instance (INSERT) of a block into the drawing with transform scale, rotation, and attribute values.

  • cad_generate_parametric

    Generates complex parametric structures: "structural_grid", "truss", "mechanical_flange", "gear", or "architectural_floorplan".

  • cad_run_commands

    Runs AutoCAD command-line input in the current drawing, exactly as typed in the app. Statements are separated by ";" or newlines; inside a statement tokens are separated by spaces and the statement ends with Enter. Example: "LINE 0,0 100,0 100,50; CIRCLE 50,25 10; CHPROP ALL; C red; LAYMRG N DOORS; N WALLS Y; DRAWORDER ALL; F". Every statement ends with Enter, so keep the follow-up answers of one command step in the same statement ("CHPROP ALL; LA WALLS C red"; a question asked after Enter goes in the next statement: "LAYDEL N TEMP; Y"). Objects are selected with ALL or P (previous). Returns the command log and any problems. 3D: points x,y,z; 3DPOLY, ELEV, VIEW (Top, Front, SWiso ...), UCS. 3D solids: BOX, CYL, SPHERE, EXTRUDE, REVOLVE, UNION, SUBTRACT, INTERSECT, MASSPROP. Use cad_list_commands to see every command.

  • cad_list_commands

    Lists every implemented AutoCAD command with its aliases and description. Optional filter matches the name, an alias or words in the description (for example "layer" or "dim").

  • cad_execute_script

    Executes JavaScript to generate large or procedural geometry (loops, patterns, algorithms) without spending context tokens. Runs in a separate Node process that cannot write files, start programs or read anything outside the CAD sources; 30 s limit. Variables: CAD, M (CADMath), G (CADGeometry), E (CADEntities), S (CADState), D (CADDXF), L (CADLayouts), parametric, solid(recipe) (adds a 3D solid), console. Changes to the drawing are kept.

  • cad_open_dxf

    Opens an existing ASCII DXF file (AutoCAD R12 to 2018+) in place of the current drawing, so it can be edited with cad_run_commands and saved with cad_export_dxf. Returns counts, what was converted, and a warning listing objects that cannot be read (they would be missing from a saved file).

  • cad_export_dxf

    Exports the current drawing to a standard AutoCAD 2000 (AC1015) ASCII DXF file compatible with AutoCAD, Civil 3D, SolidWorks, and LibreCAD.

  • cad_export_svg

    Renders the drawing or paper space layout to an SVG vector file for instant preview and inspection.

  • cad_export_stl

    Exports the closed 3D solids to a binary or ASCII STL file for 3D printing.

  • cad_solids

    Inspects 3D solids: list (id, op, volume, bounds), measure (volume, area, centroid) or check (closed, curve error).

  • cad_get_stats

    Returns comprehensive statistics of the current drawing: entity count, breakdown by type, layers, bounding box extents, blocks, and layouts.

  • cad_share_drawing

    Shares the current drawing online via Cloudflare D1 storage (autocad.site). Returns view and edit URLs that can be shared with users or other agents.

  • cad_open_shared

    Opens a shared drawing from Cloudflare D1 storage into the current CAD session by its share ID or URL.

  • cad_update_shared

    Uploads and updates the current CAD session drawing to an existing shared drawing using its editToken.

  • cad_revoke_shared

    Revokes and deletes a shared drawing from Cloudflare D1 storage using its ownerToken.

More in Media

Listing from the official MCP Registry.