Skip to content

io.github.blackmoon87/autocad-site-mcp

by blackmoon87 · remote · local (npm) · no sign-in to list tools · v0.2.1 · published by GitHub user blackmoon87

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

Deletes · 1Changes · 15

19 tools: 1 can delete or cancel things, 15 change things and 3 only read.

Scanned Oct 21, 2026

No check matched anything in the tool definitions. No finding is not a safety guarantee. How the checks work.

claude mcp add --transport http autocad-site https://acad-qlae.onrender.com/mcp

Tools

Open a tool for its reasons and full description. Descriptions are the publisher's own words, shown as they are.

19 tools

Deletes or cancels 1Claude Code: deny
  • cad_revoke_sharedRevokes and deletes a shared drawing from Cloudflare D1 storage using its ownerToken.No findings

    Why it is in this group

    • The name "cad_revoke_shared" says "revoke": a word for removing or ending something.
    Description, as the server wrote it
    Revokes and deletes a shared drawing from Cloudflare D1 storage using its ownerToken.
Changes things 15Claude Code: ask
  • cad_add_layersCreates or configures CAD layers with custom colors (hex), linetypes (Continuous, Hidden, Center, Phantom), and lineweights (0.18, 0.25, 0.35, 0.50, etc.).No findings

    Why it is in this group

    • The name "cad_add_layers" says "add": a word for a change.
    Description, as the server wrote it
    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_entitiesFast batch insertion of multiple CAD entities (LINE, LWPOLYLINE, CIRCLE, ARC, ELLIPSE, XLINE, RAY, DONUT, SOLID, TRACE, WIPEOUT, SPLINE, ARRAY (associative rect/polar/path), MLINE …No findings

    Why it is in this group

    • The name "cad_batch_add_entities" says "add": a word for a change.
    Description, as the server wrote it
    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_blockDefines a reusable Block containing geometric entities and optional attribute definitions (ATTDEF).No findings

    Why it is in this group

    • The name "cad_create_block" says "create": a word for a change.
    Description, as the server wrote it
    Defines a reusable Block containing geometric entities and optional attribute definitions (ATTDEF).
  • cad_execute_scriptExecutes JavaScript to generate large or procedural geometry (loops, patterns, algorithms) without spending context tokens.No findings

    Why it is in this group

    • The name "cad_execute_script" says "execute": a word for a change.
    • The input takes a statement or command to run (input.script), which can change anything it can reach.
    Description, as the server wrote it
    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_export_dxfExports the current drawing to a standard AutoCAD 2000 (AC1015) ASCII DXF file compatible with AutoCAD, Civil 3D, SolidWorks, and LibreCAD.No findings

    Why it is in this group

    • Nothing in its name or description says what it does, so it is counted as a write.
    Description, as the server wrote it
    Exports the current drawing to a standard AutoCAD 2000 (AC1015) ASCII DXF file compatible with AutoCAD, Civil 3D, SolidWorks, and LibreCAD.
  • cad_export_stlExports the closed 3D solids to a binary or ASCII STL file for 3D printing.No findings

    Why it is in this group

    • Nothing in its name or description says what it does, so it is counted as a write.
    Description, as the server wrote it
    Exports the closed 3D solids to a binary or ASCII STL file for 3D printing.
  • cad_export_svgRenders the drawing or paper space layout to an SVG vector file for instant preview and inspection.No findings

    Why it is in this group

    • Nothing in its name or description says what it does, so it is counted as a write.
    Description, as the server wrote it
    Renders the drawing or paper space layout to an SVG vector file for instant preview and inspection.
  • cad_generate_parametricGenerates complex parametric structures: "structural_grid", "truss", "mechanical_flange", "gear", or "architectural_floorplan".No findings

    Why it is in this group

    • The name "cad_generate_parametric" says "generate": a word for a change.
    Description, as the server wrote it
    Generates complex parametric structures: "structural_grid", "truss", "mechanical_flange", "gear", or "architectural_floorplan".
  • cad_insert_blockPlaces an instance (INSERT) of a block into the drawing with transform scale, rotation, and attribute values.No findings

    Why it is in this group

    • The name "cad_insert_block" says "insert": a word for a change.
    Description, as the server wrote it
    Places an instance (INSERT) of a block into the drawing with transform scale, rotation, and attribute values.
  • cad_new_drawingInitializes a fresh CAD drawing space, clearing existing entities and resetting layers.No findings

    Why it is in this group

    • Nothing in its name or description says what it does, so it is counted as a write.
    Description, as the server wrote it
    Initializes a fresh CAD drawing space, clearing existing entities and resetting layers.
  • cad_open_dxfOpens 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.No findings

    Why it is in this group

    • The name "cad_open_dxf" says "open": a word for a change.
    Description, as the server wrote it
    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_open_sharedOpens a shared drawing from Cloudflare D1 storage into the current CAD session by its share ID or URL.No findings

    Why it is in this group

    • The name "cad_open_shared" says "open": a word for a change.
    Description, as the server wrote it
    Opens a shared drawing from Cloudflare D1 storage into the current CAD session by its share ID or URL.
  • cad_run_commandsRuns AutoCAD command-line input in the current drawing, exactly as typed in the app.No findings

    Why it is in this group

    • The name "cad_run_commands" says "run": a word for a change.
    Description, as the server wrote it
    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_share_drawingShares the current drawing online via Cloudflare D1 storage (autocad.site).No findings

    Why it is in this group

    • Nothing in its name or description says what it does, so it is counted as a write.
    Description, as the server wrote it
    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_update_sharedUploads and updates the current CAD session drawing to an existing shared drawing using its editToken.No findings

    Why it is in this group

    • The name "cad_update_shared" says "update": a word for a change.
    Description, as the server wrote it
    Uploads and updates the current CAD session drawing to an existing shared drawing using its editToken.
Only reads 3Claude Code: allow
  • cad_get_statsReturns comprehensive statistics of the current drawing: entity count, breakdown by type, layers, bounding box extents, blocks, and layouts.No findings

    Why it is in this group

    • The name "cad_get_stats" says "get": a word for reading.
    Description, as the server wrote it
    Returns comprehensive statistics of the current drawing: entity count, breakdown by type, layers, bounding box extents, blocks, and layouts.
  • cad_list_commandsLists every implemented AutoCAD command with its aliases and description.No findings

    Why it is in this group

    • The name "cad_list_commands" says "list": a word for reading.
    Description, as the server wrote it
    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_solidsInspects 3D solids: list (id, op, volume, bounds), measure (volume, area, centroid) or check (closed, curve error).No findings

    Why it is in this group

    • The description's first verb is "inspect": a word for reading.
    Description, as the server wrote it
    Inspects 3D solids: list (id, op, volume, bounds), measure (volume, area, centroid) or check (closed, curve error).

This is not a safety rating, and no finding is not a safety guarantee. The groups and findings come from fixed checks of the tool definitions the server returned on the date shown, not from its code or what it does when called. How the checks work.

Install

Pinned to version 0.2.1. Values in angle brackets are yours to fill in.

claude mcp add --transport http autocad-site https://acad-qlae.onrender.com/mcp

Run in a terminal.

Claude Code permissions

Allow the reads, ask before a change, deny the deletes. Paste into .claude/settings.json.

.claude/settings.json
{
  "permissions": {
    "allow": [
      "mcp__autocad-site__cad_list_commands",
      "mcp__autocad-site__cad_solids",
      "mcp__autocad-site__cad_get_stats"
    ],
    "ask": [
      "mcp__autocad-site__cad_new_drawing",
      "mcp__autocad-site__cad_add_layers",
      "mcp__autocad-site__cad_batch_add_entities",
      "mcp__autocad-site__cad_create_block",
      "mcp__autocad-site__cad_insert_block",
      "mcp__autocad-site__cad_generate_parametric",
      "mcp__autocad-site__cad_run_commands",
      "mcp__autocad-site__cad_execute_script",
      "mcp__autocad-site__cad_open_dxf",
      "mcp__autocad-site__cad_export_dxf",
      "mcp__autocad-site__cad_export_svg",
      "mcp__autocad-site__cad_export_stl",
      "mcp__autocad-site__cad_share_drawing",
      "mcp__autocad-site__cad_open_shared",
      "mcp__autocad-site__cad_update_shared"
    ],
    "deny": [
      "mcp__autocad-site__cad_revoke_shared"
    ]
  }
}

Tools that only read are allowed, tools that change things ask first, tools that delete or cancel are denied. It assumes the server is installed as autocad-site. Review it before you use it.