OpenSCAD
MCP server that renders OpenSCAD code to PNG previews and STL files for AI agents
- Pricing
- Open source
- Platforms
- CLI, API, self-hosted
- Runs
- Locally
- Version
- 1.0.6
- Listing updated
- today
Similar MCP servers
About OpenSCAD
OpenSCAD is an open-source MCP server for design and media. It runs locally on your machine and is started by your AI client.
The README says this server lets AI agents work on OpenSCAD source in a loop: write or edit SCAD code, look at a rendered PNG, and adjust the model before exporting it. Rendering runs through OpenSCAD compiled to WebAssembly, so it does not depend on a locally installed OpenSCAD binary.
The server exposes two MCP tools. One renders a PNG preview from SCAD source with selectable camera presets or a custom camera position. The other exports an STL file from SCAD source as an embedded resource that other tools can store or pass along.
It suits people building agent-driven CAD workflows, and developers who want an AI client to produce printable or simulation-ready geometry. The project is marked beta, and the README notes that complex models can render slowly and that text rendering is not yet supported.
Install
Run in a terminal
claude mcp add openscad-mcp-server -- npx -y openscad-mcp-serverAdd to claude_desktop_config.json
{
"mcpServers": {
"openscad-mcp-server": {
"command": "npx",
"args": [
"-y",
"openscad-mcp-server"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"openscad-mcp-server": {
"command": "npx",
"args": [
"-y",
"openscad-mcp-server"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"openscad-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"openscad-mcp-server"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"openscad-mcp-server": {
"command": "npx",
"args": [
"-y",
"openscad-mcp-server"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"openscad-mcp-server": {
"command": "npx",
"args": [
"-y",
"openscad-mcp-server"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Tools this server provides (2)
Taken from the project documentation; the running server may differ.
- render_scad_png
- Renders a PNG preview image from SCAD source.
- export_scad_stl
- Exports an STL generated from SCAD source.
What it does
- PNG preview rendering
- Renders SCAD source to a PNG image with optional width, height and camera settings.
- STL export
- Exports geometry generated from SCAD source as an STL file.
- Camera presets
- Offers isometric, front, back, left, right, top and bottom views, plus a custom camera position.
- Stdio and HTTP transports
- Runs over stdio for desktop MCP clients or over streamable HTTP for containers.
- Agent skill included
- Ships an optional skill that guides an SCAD, render, critique and refine loop.
Good for
- Let an AI agent iterate on a parametric OpenSCAD model by checking renders between edits
- Export STL files from agent-generated SCAD code for 3D printing or downstream tools
- Compare several parameter variants visually before choosing which geometry to keep
- Give an assistant visual feedback on proportions when writing SCAD code
Pricing
Open source
Free and MIT-licensed; self-hosted via npm or Docker.
OpenSCAD FAQ
How is the server started?
The README gives an npx configuration for MCP clients that runs the package over stdio, and an --http flag for HTTP mode, such as in Docker.
Does it need OpenSCAD installed locally?
The README says rendering uses OpenSCAD WASM, and it does not describe a local OpenSCAD binary requirement.
What are the known limitations?
The README lists slow rendering for complex models, incomplete feature support in the WASM build, and no text rendering yet.
What license is it under?
The README states the project is released under the MIT license.
Is OpenSCAD free?
Yes. OpenSCAD is open source, so you can use and self-host it for free.
How do I add OpenSCAD to Claude Code?
Run this command in your terminal: claude mcp add openscad-mcp-server -- npx -y openscad-mcp-server
What are the best alternatives to OpenSCAD?
The closest alternatives to OpenSCAD are design-os-3d-blender, OwlCAD, Network Sketcher (Local MCP), ParCAD and Drawing MCP Server.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.