Ask the agent
Describe a part in natural language. The agent writes OpenSCAD and calls the MCP tools.
openscad-wasm-mcp
An MCP server that runs OpenSCAD through WebAssembly in Node.js. Ask an agent for a model, get a preview link and printable STL.
From prompt to print
Connect the server to an MCP client, describe what you want, and walk the result from chat to slicer.
Describe a part in natural language. The agent writes OpenSCAD and calls the MCP tools.
Interactive STL viewer links let you rotate and zoom before you download.
Download the generated .scad and open it in desktop OpenSCAD.
Download the STL directly and load it in your slicer.
Built for agents that need real geometry tools, not screenshots of a CAD UI.
Runs openscad-wasm in Node.js. Docker Compose is enough to start.
Validate, export, preview, analyze, and manage workspace files. No shell, no raw CLI args.
Opaque tokens serve an interactive Three.js viewer from the same HTTP server.
Path safety, size limits, timeouts, concurrency caps, and a locked-down Compose setup.
Structured tools with Zod-validated inputs and artifact metadata in responses.
The service listens on http://127.0.0.1:3333/mcp. Point your MCP client at that URL.
docker compose up --build
Optional MCP_AUTH_TOKEN protects /mcp with a Bearer token. See the README for Hermes and other clients.
Clone the repo, start Compose, and connect an MCP client. MIT-licensed project source.
Open repository