loom

loom

Enables agents to validate, render preview (PNG), and export OpenSCAD models to various formats using the openscad CLI.

Category
Visit Server

README

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+
  • openscad on your PATH (or set OPENSCAD_BIN to its full path)

Install

npm install

Run standalone

npm start

Register with Claude Code

claude mcp add loom -- node /absolute/path/to/loom/src/index.js

Tools

  • openscad-version — confirm the OpenSCAD CLI is available.
  • validate-model — compile a .scad file without producing a visual export, to catch syntax/geometry errors. Fast sanity check before rendering.
  • render-preview — render a .scad file 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 .scad file 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).

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured