Can AI design CAD parts? Text-to-CAD, code-CAD, and MCP
Three AI-assisted CAD routes produce different artifacts. Choose by what you need to review, preserve, and hand off after generation.
Checked 27 November 2026 against linked project documentation and official SolidCraft docs
AI can help with CAD in three materially different ways. The right choice depends on what you need at the end: a quick concept, a script you can audit in version control, or changes made in a real CAD modeler.
Checked 27 November 2026 against earthtojake/text-to-cad, the build123d documentation, and SolidCraft's official documentation. A model suggestion is not proof that a part is manufacturable.
The three routes at a glance
| Route | Main output | Best for | What you still have to verify |
|---|---|---|---|
| Text-to-CAD | A generated starting shape or CAD-oriented result | Exploring a concept from a short brief | Dimensions, tolerances, joins, materials, and whether the output can be edited as needed |
| Code-CAD | A source file that builds geometry | Repeatable parts, reviewable changes, parameter sweeps, and repository-based work | That the script's units, constraints, exports, and generated geometry meet the design intent |
| MCP in a CAD app | Commands applied in a real modeling environment | Working with an existing model, visible feature history, or a controlled local CAD session | Permissions, current model state, rebuild results, and every engineering decision |
Text-to-CAD: quickest first shape
Text-to-CAD begins with a natural-language description and aims to return a usable starting point. Projects such as text-to-cad make this route attractive when you need alternatives to discuss before you know the exact feature sequence.
Its strength is speed at the beginning of a task. Its weakness is that a plausible shape can hide incorrect dimensions, impossible clearances, missing fillets, or geometry that is awkward to revise. Use it for ideation, then inspect and rebuild critical geometry in the CAD workflow you trust. It can be the first sketch of an answer, not the sign-off for a manufactured part.
Code-CAD: a versioned source of truth
Code-CAD expresses a model in a programming or declarative language. Tools such as build123d, CadQuery, and OpenSCAD make the source file the artifact you review, diff, test, and rerun.
This is the strongest route when you want parameters, named dimensions, repeatable exports, and a change history that fits beside software. An agent can propose a patch, but the result remains ordinary text that a teammate can inspect before the model is rebuilt.
The trade-off is that not every CAD interaction maps cleanly to a concise script, and the script only preserves the history you write into it. Treat generated code like any other code: run it, inspect the output, and test the measurements that matter.
MCP: an agent in the real modeler
Model Context Protocol connects an AI client to capabilities exposed by a running CAD application. In SolidCraft, the local MCP server uses the application's commands, so an agent can work with a model through a controlled local process rather than pretend to click its interface.
That route matters when you need the agent to inspect the active design, make a bounded change, and leave you with a model you can open and review in the application. It can preserve a parametric feature history when the operation is expressed as native modeler commands. It does not turn an agent into an engineer: you still choose the allowed folders, verify the rebuild, and inspect the resulting features and exports.
Read the SolidCraft MCP setup guide before connecting a client. For the broader connector landscape, see CAD MCP servers compared.
Which route should you use?
- Use text-to-CAD when the immediate goal is a concept or a first shape, and you expect to validate or rebuild it afterward.
- Use code-CAD when a reviewable, reproducible, version-controlled source file is the deliverable.
- Use MCP when the task belongs inside a live CAD application and the agent needs to operate through the modeler's native commands.
- Combine routes deliberately: a text prompt can seed an idea, code can make a repeatable variant, and MCP can apply or inspect a focused change in a real design.
- For production work, keep the original source, check the units and dimensions, and review the feature history or script before export.
The practical question is not “can AI make CAD?” It can. The important question is which artifact you need to trust, edit, and hand to someone else after the model has been generated.