OpenSCAD MCP Server

Render STL and PNG from OpenSCAD code.

Local serverstdioPython

What is the OpenSCAD MCP Server?

Render STL and PNG from OpenSCAD code.

What it actually does

An MCP (Model Context Protocol) server that renders PNG previews and STL geometry from OpenSCAD (SCAD) source code. It is designed to support iterative, agent-driven CAD workflows, where models can be previewed visually and exported for downstream use (e.g. fabrication, simulation, or inspection).

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
render_scad_pngRenders a PNG preview image from SCAD source.
cameraPresetone of isometric, front, back, left, right, top, bottom
cameraPosition{ x, y, z }
export_scad_stlExports an STL generated from SCAD source.

How to install the OpenSCAD MCP Server

{
  "mcpServers": {
    "openscad": {
      "command": "npx",
      "args": ["-y", "openscad-mcp-server"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • “Use OpenSCAD to render scad png.”
  • “Use OpenSCAD to Input.”
  • “Use OpenSCAD to cameraPreset.”

Frequently asked questions

Render STL and PNG from OpenSCAD code. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.