Agent-first CAD: editable .kcad.ts source, deterministic review, OpenCASCADE kernel.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
kernelCAD turns mechanical intent into editable .kcad.ts source,
deterministic review evidence, and exportable manufacturing artifacts.
The core loop is source-first: design brief -> editable .kcad.ts ->
evaluated model -> deterministic validation -> guided revision -> export package.
kernelCAD is not trying to be a browser clone of Fusion, Onshape, or SolidWorks. Replicad/OpenCASCADE are the kernel layer. kernelCAD is the agent-first workflow layer above the kernel: deterministic CAD source, feature history, diagnostics, validation, variants, and human review.
.kcad.ts, CLI, and MCP. The UI reviews and steers generated designs.For agents and contributors, .kcad.ts source is the design source of truth.
Rendered PNG/MP4 files, STEP/STL exports, score JSON, and capture-run metadata
are generated evidence or deliverables. Prompt briefs, source files, and
provenance metadata remain source. Change source first, regenerate explicit
targets, and avoid broad artifact refreshes unless you are intentionally
rebuilding a demo or release bundle.
Use deterministic checks before visual judgment:
When a rendered artifact is produced, inspect the image/video itself and report what is visible: proportions, interfaces, floating geometry, occlusion, camera framing, and whether required features are legible. Passing tests are not a substitute for visual evidence.
When visual evidence matters, keep a deterministic inspection bundle:
The v1 bundle writes a manifest and canonical RGB views. It can also emit
machine-readable mask, depth, and normals channels:
Use --focus <names> or --hide <names> when a specific feature id or
assembly part needs isolated review. Keep richer channels in the same manifest
packet; do not replace the canonical RGB views.
For real hardware, prefer catalog/vendor geometry via lib.fromSTEP(...)
instead of fake placeholder boxes or cylinders. This keeps mounts, clearances,
and mechanism checks tied to physical components.
Drop this in bracket.kcad.ts:
Run it:
That's it. For agents: kernelcad mcp runs an MCP server with dynamic model
introspection tools. See SKILL.md (bundled with the install) for the full API
surface and authoring guide.
kernelCAD runs as an MCP server, so Claude Desktop can drive it locally. After
npm install -g kernelcad, add an entry to your Claude Desktop config file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonRestart Claude Desktop. The kernelCAD MCP tools (review_cad, model
introspection, export helpers, etc.) appear in the tools list.
For prompt-driven authoring against the hosted gateway, sign in at
app.kernelcad.com/connect and use the
generated kernelcad mcp --cloud --token <β¦> snippet. The hosted surface adds
generate_kcad_from_prompt (turn a natural-language brief into a .kcad.ts
source) on top of the introspection and review tools, and serves the
kernelcad-authoring skill as an MCP resource so Claude Desktop loads it
automatically on connect. Free tier: 3 LLM-generated parts per month;
introspection and review tools are unlimited.
A one-shot
kernelcad install --claude-desktopcommand that edits this config for you is on the next slice β until then the snippet above is the interim path.
Web app + dev workflow (clone the repo, npm install, npm run dev) for contributors who want to hack on the kernel or the visual debugger:
MIT β see LICENSE.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/kernelcad)<a href="https://allmcps.com/mcp/kernelcad"><img src="https://allmcps.com/api/badge/kernelcad?style=directory" alt="Kernelcad on AllMCPs" /></a>