---
name: openscad-mcp
description: Code-driven 3D modeling and rendering MCP service for OpenSCAD. Supports AI-generated OpenSCAD code, rendering to PNG previews, and a generate-code -> visual-verify -> fix loop.
---

# OpenSCAD MCP - Code-Driven 3D Modeling Loop

- **Project homepage**: https://github.com/quellant/openscad-mcp

## Overview

`openscad-mcp` is one of the most LLM-friendly CAD MCP servers in the community. Because OpenSCAD is essentially a programming language for 3D modeling, language models are very good at writing it. This server closes the loop by giving the model "eyes" through rendered image previews so it can inspect and correct its own output.

### Supported Software

- OpenSCAD

### Core Capabilities

- **Parametric modeling execution**: convert natural language into OpenSCAD scripts
- **High-fidelity render feedback**: render previews automatically and return PNG images for inspection
- **Minimal setup**: the recommended `uv` flow gives a near-zero-install startup experience

## Requirements

- Any operating system
- OpenSCAD installed and available on the command line
- A Python environment

## Typical Workflow

1. The user describes a need, such as "write a parametric model for an M3 nut holder."
2. The AI writes OpenSCAD code.
3. The AI renders the code through this MCP service and receives a preview image.
4. If the image looks wrong, the AI edits the code and renders again until the STL output is ready for 3D printing.

## Details

For the exact `uv` install steps and `claude_desktop_config.json` examples, see the local repository's `README.md`.

