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…

Voir la source

Mode d’emploi

  1. Copiez la commande et examinez le paquet avant de l’installer dans votre environnement agent.
  2. Consultez le document original pour les outils, identifiants et environnements requis.
  3. Décrivez les entrées et le livrable souhaité ; comparez la sortie aux sources.
npx skills add https://github.com/earthtojake/text-to-cad --skill cad-mcp-setup

Avant de commencer

  • L’installation n’inclut ni abonnement au modèle, ni quota API, ni accès aux fichiers.
  • Étoiles et installations reflètent l’activité, pas un test indépendant de qualité ou de sécurité.
Document Skill original

Rendu depuis le dépôt source en conservant titres, exemples, code, tableaux, liens et images.

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.

Tâches connexes

du même dépôt

Autres Skills

Tous les Skills
earthtojake
Communauté

cad

Creates and edits parametric CAD parts and assemblies as Python build123d models that cadgen's engine builds and the CAD Viewer shows live; exports STEP, STL, 3MF, GLB and xbf files on request; resolves prompt references, measures geometry, and articulates or animates assemblies. Use for 3D CAD modeling, editing a model script (any change to a part's or assembly's .py), organizing a CAD project, exporting or converting CAD files, Quick Edit prompts, mechanisms, and explode or showcase animations

Installations / 1h
13
GitHub Stars
24,5 k
Mis à jour
31 oct.
earthtojake
Communauté

dxf

Generates, regenerates and validates 2D DXF drawings from Python build123d models, exported by cadgen. Use for DXF files, .py drawing scripts, 2D profiles, outlines, templates, gaskets, panels, flat patterns, laser/plasma/waterjet cut layouts, and 2D drawing exports of CAD geometry. Opens and visually reviews existing DXF files in the CAD Viewer.

Installations / 1h
13
GitHub Stars
24,5 k
Mis à jour
31 oct.
earthtojake
Communauté

engineering-drawing

Make an engineering drawing of a part as a PDF - orthographic views with hidden lines and centre marks, real dimensions, hole callouts, notes and a title block on ISO sheets, all projected from the part's geometry so the drawing follows the model. Use when the user asks for a drawing, a dimensioned sheet, shop or manufacturing drawings, a print, or "2D views of this part".

Installations / 1h
13
GitHub Stars
24,5 k
Mis à jour
31 oct.
earthtojake
Communauté

gcode

Slice 3D models into printer-ready G-code with OrcaSlicer, the open-source slicer with built-in profiles for most FDM printers (Prusa, Bambu Lab, Creality, Voron and more). Use when the user wants an .stl, .3mf or .obj model sliced for their printer, as a sliced .gcode.3mf or plain .gcode, headless with OrcaSlicer's command line or by opening the model in OrcaSlicer. Never contacts a printer.

Installations / 1h
13
GitHub Stars
24,5 k
Mis à jour
31 oct.