OpenSCAD MCP server
io.github.fboldo/openscad-mcp-server·v1.0.6·6 starsRender STL and PNG from OpenSCAD code.
6 stars67 downloads/wk
Reviews
Write oneNobody has reviewed OpenSCAD yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
OpenSCAD tools (2)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
export_scad_stlExport OpenSCAD (SCAD) source code into an STL and return it as an embedded resource blob.
render_scad_pngRender OpenSCAD (SCAD) source code into a PNG preview image. Provide the SCAD text in `scadCode` and optionally set `width`/`height` (pixels). Optional camera control is available via `cameraPreset` (named preset) or `cameraPosition` ({x,y,z}).
Public scan report
scanner v0.1.9 · 2026-09-25 · same rubric, same numbers if you re-run it
- Code scan3 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 1 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How OpenSCAD compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 95% of 48,255 servers
- Tools
- 2
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 6
- more than 85% of 28,688 servers
- Downloads a week
- 67
- more than 52% of 12,191 servers with a package
What its tools let an agent do: 2 read
Release history: 2 versions in the registry since 2026-02-13, latest 2026-09-24, typically one every 224 days.
Install OpenSCAD in Claude Code, Cursor or VS Code
Runs npx -y openscad-mcp-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add openscad-mcp-server -- npx -y openscad-mcp-server
What the publisher says
From the OpenSCAD repository's README, as published. We do not edit it. Read it on GitHub
OpenSCAD MCP Server
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).
⚠️ Beta This MCP server is currently in beta. Performance, APIs, and capabilities may change. Issues and contributions are welcome.
Use cases
Agents generate or modify OpenSCAD source, render PNG previews to evaluate shape and proportions, and refine the model across multiple turns.
- Iterative agent-driven modeling
Agents export STL files as concrete geometry artifacts that can be passed to downstream tools, stored, inspected, or handed off to other MCP-enabled systems.
- Geometry artifact generation within MCP contexts
PNG previews provide visual grounding for parametric or programmatic SCAD code, reducing hallucination and enabling agents to reason about spatial changes.
- Visual grounding for parametric design
Agents can render multiple variants of a model (e.g. parameter sweeps) and visually compare results before deciding which geometry to persist or export.
- Design validation and comparison
Available Tools
- renderscadpng: Renders a PNG preview image from SCAD source.
- Input: scadCode (string), optional width/height (numbers), optional cameraPreset and optional cameraPosition
- cameraPreset: one of isometric, front, back, left, right, top, bottom
- cameraPosition: { x, y, z }
- Output: MCP ImageContent
- exportscadstl: Exports an STL generated from SCAD source.
- Input: scadCode (string), optional filename (string)
- Output: MCP embedded resource (STL)
Skill
This repository also includes an OpenSCAD iterative modeling skill that demonstrates how to use this MCP server to support an iterative SCAD → PNG → critique → refine loop.
Limitations
- Performance: Rendering complex SCAD models can be slow, especially in a WASM environment.
- Feature support: Not all OpenSCAD features may be fully supported or may have limitations in the WASM version.
- Fonts: Text rendering is not currently supported. Support is planned for a future release.
Installation
The published package is intended to run over stdio. Configure it in your MCP client using npx:
{
"mcpServers": {
"openscad": {
"command": "npx",
"args": ["-y", "openscad-mcp-server"]
}
}
}To run it over HTTP instead (e.g. in Docker), pass --http:
MCP_PORT=3000 npx -y openscad-mcp-server --httpThe server exposes GET /health and a stateless streamable HTTP MCP endpoint at POST /mcp.
Using the Skill
Agents skills are a simple, open format for giving agents new capabilities and expertise.
The most straightforward to use the OpenSCAD iterative modeling skill is to install it using the skills CLI:
npx skills add fboldo/openscad-mcp-server --skill openscad-iterative-modelingLocal development
- Install deps: bun install
- Stdio (matches how clients run it): bun index.ts --stdio
- HTTP (useful for manual testing): bun index.ts (or --http)
- Port: MCP_PORT (default 3000)
- Endpoints: GET /health, MCP at POST /mcp
- MCP Inspector: bun run dev
Similar Projects
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
OpenSCAD: common questions
- Is OpenSCAD MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the OpenSCAD safety report
- How do I install OpenSCAD?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does OpenSCAD need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is OpenSCAD maintained?
- The last commit was 41 days ago (2026-09-24). The latest release is v1.0.6.
- How does OpenSCAD compare with other MCP servers?
- safety score 92/100 (higher than 95% of 48,255 servers); tools 2 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.