Skip to content
Claude Code

OpenSCAD MCP V2 for Claude Code

io.github.johnnythetank/openscad-mcp-v2

Describe a part to your AI client, get checked parametric OpenSCAD code and a 3MF/STL to print.

client:Claude Code transport:stdio runtime:npm

Install OpenSCAD MCP V2 in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add openscad-mcp-v2 -e OPENSCAD_PATH=<OPENSCAD_PATH> -e OPENSCAD_MCP_WORKSPACE=<OPENSCAD_MCP_WORKSPACE> -e OPENSCAD_MCP_PRINTERS=<OPENSCAD_MCP_PRINTERS> -e OPENSCAD_MCP_PREVIEW=<OPENSCAD_MCP_PREVIEW> -e OPENSCAD_MCP_IMAGE_SIZE=<OPENSCAD_MCP_IMAGE_SIZE> -e OPENSCAD_MCP_COLORSCHEME=<OPENSCAD_MCP_COLORSCHEME> -e OPENSCAD_MCP_PREVIEW_TIMEOUT_MS=<OPENSCAD_MCP_PREVIEW_TIMEOUT_MS> -e OPENSCAD_MCP_RENDER_TIMEOUT_MS=<OPENSCAD_MCP_RENDER_TIMEOUT_MS> -e OPENSCAD_MCP_MANAGE_GUI_PREFS=<OPENSCAD_MCP_MANAGE_GUI_PREFS> -- npx -y openscad-mcp-v2

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

OpenSCAD MCP V2 in other clients