earthtojake/text-to-cad

cad-mcp-setup

Check that the CAD app can start after the CAD plugin is installed or updated, in Codex, Claude Code, Claude Desktop or another agent app - confirm uv is installed, point the user to uv's official installation guide when it is not, and tell them how CAD app…

查看源码
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

Set up CAD

Provenance: maintained in earthtojake/text-to-cad. Use the installed local skill files as the runtime source of truth; the repository link is only for provenance and release review.

CAD's viewer is a local server that the agent app starts with uvx, pinned to one release of cadgen. The app downloads that release from PyPI the first time the server starts after an install or an update, so that start needs a network connection. This skill only checks and explains: it installs nothing, downloads nothing, and changes nothing in the user's projects.

Steps

  1. Check for uv:
bash
   uv --version
  1. If uv is missing, tell the user CAD needs it, and give them uv's official

installation guide to install it themselves: <https://docs.astral.sh/uv/getting-started/installation/>.

  1. Tell the user how CAD appears in their app:
  • Codex: quit and reopen Codex. CAD then appears in the sidebar and

as a tab in each thread.

  • Claude Code: the plugin starts CAD with each session; /mcp shows

whether it is connected. Where Claude Code can show app views, CAD shows models as viewer cards; otherwise, as in a terminal, it answers with a link that opens the model in the CAD Viewer in the browser.

  • Claude Desktop: the plugin doesn't reach Claude Desktop. The user adds

CAD's server to its config (Settings > Developer > Edit Config), as the text-to-cad README shows, and restarts it. CAD then shows models as viewer cards in the chat.

  • Another app that shows MCP Apps (VS Code, Cursor, Goose): CAD shows

models as viewer cards in the chat once the app restarts.

When the viewer does not start

  • uv or uvx not found after installing uv: the app reads the login shell's

PATH, so confirm uv --version in a new shell, then restart the app. In Claude Desktop's config, the full path to uvx (which uvx) also works.

  • No network on the first start after an install or an update: the pinned

runtime could not be fetched. Restart the app once online.

  • Claude Code gives a server 30 seconds to start, and the first start downloads

CAD's libraries (about 1 GB unpacked). On a slow connection, start Claude Code once with MCP_TIMEOUT=300000 claude so the download can finish.

  • After a plugin update, restart the app: the first start fetches the new pinned

runtime, which can take a few minutes on a slow connection. In Codex, threads started before the update keep the old one until the restart.

来自同一仓库

更多 Skills

全部 Skills
earthtojake
社区

cad

Create/edit parametric CAD models, organize CAD projects, export STEP/STL/3MF/GLB files, resolve prompt references, and measure geometry with cadgen. Open and visually review existing STEP/STP, STL, 3MF and GLB files in CAD Viewer.

安装量
4
GitHub Stars
1.9万
最近更新
10月12日
earthtojake
社区

dfam-check

Measure mesh files against Design for Additive Manufacturing (DfAM) rules and report printability findings per process (FDM, SLS, SLA/DLP, metal PBF, MJF). Use when the user asks whether a part is printable, wants overhang/wall-thickness/support analysis of an .stl, .obj, .ply, or .3mf mesh, wants a build-orientation recommendation, or wants DfAM redesign guidance before slicing with $gcode or regenerating geometry with $cad.

安装量
3
GitHub Stars
1.9万
最近更新
10月12日
earthtojake
社区

dxf

Generate, regenerate, and validate 2D DXF drawings from Python build123d sources. Use for DXF files, .py drawing scripts, @dxf models, 2D profiles, outlines, templates, gaskets, panels, flat patterns, laser/plasma/waterjet cut layouts, and 2D drawing exports of CAD geometry. Open and visually review existing DXF files in CAD Viewer.

安装量
3
GitHub Stars
1.9万
最近更新
10月12日
earthtojake
社区

step-parts

Find, evaluate, and download common purchasable CAD parts from step.parts, including named off-the-shelf actuators, servos, motors, electronics boards, connectors, screws, bolts, nuts, washers, bearings, standoffs, and other catalog components. Use when Codex needs to search the hosted step.parts catalog before creating simplified placeholder geometry, resolve fuzzy part names, standards, aliases, or dimensions, choose a matching part, fetch a canonical .step file, verify checksums, or use the s

安装量
3
GitHub Stars
1.9万
最近更新
10月12日