Autocad Site Mcp

io.github.blackmoon87Published by GitHub account blackmoon87v0.2.1Updated Oct 24, 2026

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

VerifiedStreamable HTTPWeb executableDeveloper ToolsMedia & Design

Overview

AI-generated overview

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

What you can do
It exposes a headless CAD engine to an assistant, covering 2D and 3D drafting, solid modeling, and automation of drawing tasks. It can export results as DXF or SVG files. The registry description lists no individual tools, so the exact command set is not documented here.
When to use it
Worth adding when an assistant needs to generate or modify CAD geometry, produce DXF or SVG drawings, or automate drafting steps without a desktop CAD application. It suits engineering, architectural, or fabrication workflows that work with CAD files.
Requirements
Runs either as a remote endpoint or as a local process installed from the npm package autocad-site-mcp over stdio. No authentication, environment variables, or headers are declared. A local install needs Node.js; the remote option needs network access.
Before you install
No credentials or secrets are requested, and no payment or wallet details are declared. Because the server can create and export drawing files, review where output is written and whether existing files could be overwritten. The remote endpoint sends drawing data to a third-party host.

Installation

In SourceWeft

  1. Open Autocad Site Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.blackmoon87%2Fautocad-site-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "autocad-site": {
      "type": "http",
      "url": "https://acad-qlae.onrender.com/mcp"
    }
  }
}

README

This repository has no README.

Tools

19

cad_new_drawing

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

Parametersname

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.).

Parameterslayersrequired

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.

Parametersentitiesrequired

cad_create_block

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

ParametersnamerequiredentitiesrequiredbasePointattributes

cad_insert_block

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

ParametersnamerequiredscalepositionrequiredattributesrotationDeg

cad_generate_parametric

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

Parameterstyperequiredparams

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.

Parametersselectcommandsrequired

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").

Parametersfilter

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.

Parametersscriptrequired

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).

ParametersfilePathrequired

cad_export_dxf

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

ParametersfilePathrequired

cad_export_svg

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

ParametersfilePathrequiredbackground

cad_export_stl

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

ParametersidsscalebinaryfilePathrequired

cad_solids

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

Parametersidsfromlimitaction

cad_get_stats

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

Takes no parameters.

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.

ParametersnameapiUrlexpiresDays

cad_open_shared

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

ParametersidrequiredapiUrleditToken

cad_update_shared

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

ParametersidrequiredapiUrleditTokenrequired

cad_revoke_shared

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

ParametersidrequiredapiUrlownerTokenrequired

Version history

1
  1. v0.2.1LatestOct 15, 2026

Score

75% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • License10 pts

    Declare a license in the repository or the registry entry.