loom
Allows validation, rendering, and exporting of OpenSCAD models.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@loomrender a preview of my design.scad"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
loom
An MCP server that lets an agent (e.g. Claude Code) validate, render, and export OpenSCAD models it's editing directly as files, so it can visually verify what it built.
Reading, writing, and listing .scad files is left to the agent's normal file tools (Read,
Write, Edit, Glob) — this server only wraps the parts Claude Code can't do on its own: invoking
the openscad binary and handling its image/binary output.
Requirements
Node.js 18+
openscadon your PATH (or setOPENSCAD_BINto its full path)
Related MCP server: OpenSCAD MCP Server
Install
npm installRun standalone
npm startRegister with Claude Code
claude mcp add loom -- node /absolute/path/to/loom/src/index.jsTools
openscad-version— confirm the OpenSCAD CLI is available.validate-model— compile a.scadfile without producing a visual export, to catch syntax/geometry errors. Fast sanity check before rendering.render-preview— render a.scadfile to PNG and return it inline for visual inspection. Supports image size, camera, projection, color scheme, render mode (full vs. throwntogether), and view overlays (axes/edges/etc). Defaults to saving next to the source file.export-model— export a.scadfile to STL/OFF/3MF/AMF/DXF/SVG/CSG/POV. Defaults to saving next to the source file.
All three model tools take a path to the .scad file (any location — no fixed workspace
directory) and an optional output path to override where the rendered/exported file is saved.
Environment variables
OPENSCAD_BIN— path to the openscad executable (default:openscad).
This server cannot be deployed
Maintenance
Related MCP Connectors
- OwlCADOAuthcom.owlcad
Parametric 3D CAD for AI agents: build print-ready parts, check them, export STL, 3MF or STEP.
Agent-first CAD: editable .kcad.ts source, deterministic review, OpenCASCADE kernel.
Cloud Blender for AI agents: scenes, assets, renders, MP4, STL, GLB — over hosted remote MCP.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to render 3D models by providing tools to execute OpenSCAD code and generate single or multi-perspective views. It returns high-quality PNG renderings directly to LLM applications for visual feedback and 3D model visualization.MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to create and manipulate 3D CAD models using OpenSCAD.411 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to create and manipulate 3D models using OpenSCAD through MCP tools for code-based modeling, preview, and export.1MIT
- AlicenseNot gradedqualityCmaintenanceExposes OpenSCAD CLI as MCP tools for validating, rendering, and exporting parametric 3D models. Enables LLM clients to interactively create and manipulate OpenSCAD designs.4MIT