Autocad Site Mcp

io.github.blackmoon87由 GitHub 帳號 blackmoon87 發布v0.2.1更新於 Oct 24, 2026

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

已驗證Streamable HTTP可網頁執行開發者工具媒體與設計

概覽

AI 產生的概覽

無頭 CAD 引擎與 MCP 伺服器,用於 2D/3D 製圖、實體建模以及 DXF/SVG 匯出。

可以做什麼
它向助理提供無頭 CAD 引擎能力,涵蓋 2D 與 3D 製圖、實體建模以及繪圖任務的自動化。可將結果匯出為 DXF 或 SVG 檔案。登錄描述未列出個別工具,因此此處無法說明確切的指令集。
適用情境
當助理需要產生或修改 CAD 幾何圖形、輸出 DXF 或 SVG 圖面,或在不使用桌面 CAD 軟體的情況下自動完成製圖步驟時,適合加入。適用於處理 CAD 檔案的工程、建築或製造流程。
執行需求
可作為遠端端點執行,也可透過 npm 套件 autocad-site-mcp 以 stdio 方式作為本機程序安裝執行。未宣告任何身分驗證、環境變數或標頭。本機安裝需要 Node.js;使用遠端方式需要網路存取。
安裝前請注意
不要求提供憑證或密鑰,也未宣告任何付款或錢包資訊。由於此伺服器可以建立並匯出圖面檔案,請確認輸出寫入位置以及是否會覆寫現有檔案。遠端端點會將圖面資料傳送至第三方主機。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Autocad Site Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.blackmoon87%2Fautocad-site-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

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

README

該儲存庫沒有 README。

工具

19

cad_new_drawing

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

輸入參數name

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

輸入參數layers必填

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.

輸入參數entities必填

cad_create_block

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

輸入參數name必填entities必填basePointattributes

cad_insert_block

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

輸入參數name必填scaleposition必填attributesrotationDeg

cad_generate_parametric

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

輸入參數type必填params

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.

輸入參數selectcommands必填

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

輸入參數filter

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.

輸入參數script必填

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

輸入參數filePath必填

cad_export_dxf

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

輸入參數filePath必填

cad_export_svg

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

輸入參數filePath必填background

cad_export_stl

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

輸入參數idsscalebinaryfilePath必填

cad_solids

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

輸入參數idsfromlimitaction

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.

輸入參數nameapiUrlexpiresDays

cad_open_shared

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

輸入參數id必填apiUrleditToken

cad_update_shared

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

輸入參數id必填apiUrleditToken必填

cad_revoke_shared

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

輸入參數id必填apiUrlownerToken必填

版本歷史

1
  1. v0.2.1最新Oct 15, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。