Openscad Render Loop
БесплатноНе проверенOpenSCAD wrapped as an MCP server. Render .scad source with parameter overrides, run parametric sweeps, validate syntax, extract module signatures, and compute
Описание
OpenSCAD wrapped as an MCP server. Render .scad source with parameter overrides, run parametric sweeps, validate syntax, extract module signatures, and compute STL metrics (bounding box, volume, surface area). Designed so an agent can iterate on para
README
Archimedes Trust Report — VERIFIED 92/100
Verified asset on Archimedes Market. View the full 4-dimension Trust Report (security · quality · license · complexity) and the curated catalog on the asset page.
MCP OpenSCAD Render Loop
OpenSCAD wrapped as an MCP server so an agent can iterate on parametric CAD designs without bouncing in and out of the GUI. Render .scad source with parameter overrides, run parameter sweeps, validate syntax, extract module signatures, and compute STL geometry metrics.
Tools
render_stl— render a.scadfile or inline source to STL with-Dparameter overridesrender_png— preview render to PNG with camera + image-size controlparametric_sweep— Cartesian sweep over one or more parameter ranges, returns a manifest of outputsvalidate_scad— syntax check viaopenscad --check(no render)list_modules— extract top-levelmodule foo(...)andfunction bar(...)signatures with defaultscompute_metrics— bounding box, volume, surface area, triangle count from an STL
Why this server exists
OpenSCAD's CLI is well-designed but verbose. Most agent CAD workflows do the same loop: edit parameters → render → measure → adjust. This server collapses that to one tool call per iteration and returns geometry metrics directly so the agent doesn't have to parse STL bytes itself.
Quick start
# 1. Install OpenSCAD (must be on PATH)
brew install openscad # macOS
apt-get install openscad # Debian/Ubuntu
# 2. Install the MCP server
pip install mcp-openscad-render-loop
# 3. Set output directory and run
export MCP_OPENSCAD_OUTPUT_DIR="/tmp/scad-renders"
mcp-openscad-render-loop serve
Claude Desktop config:
{
"mcpServers": {
"openscad": {
"command": "mcp-openscad-render-loop",
"args": ["serve"],
"env": {
"MCP_OPENSCAD_OUTPUT_DIR": "/tmp/scad-renders",
"MCP_OPENSCAD_BINARY": "/usr/local/bin/openscad"
}
}
}
}
Typical agent workflow
Agent: "Design an enclosure for a 60x40x15mm PCB with 2mm walls and M3 mounting posts."
↓
1. list_modules on enclosure.scad → finds module enclosure(pcb_l, pcb_w, pcb_h, wall, post_dia)
2. render_stl with pcb_l=60, pcb_w=40, pcb_h=15, wall=2, post_dia=3 → enclosure_v1.stl
3. compute_metrics on enclosure_v1.stl → bbox 66x46x21, volume 18.4cm³, 1,240 triangles
4. parametric_sweep on wall ∈ [1.5, 2.0, 2.5] → 3 STLs + metrics → wall=2 is the strength/weight knee
5. render_png at iso camera → preview image attached to agent's reply
Safety
MCP_OPENSCAD_OUTPUT_DIRis the only writable path. Any output path outside this dir is rejected.- Each render is hard-capped at 60 seconds (configurable). Long sweeps run renders sequentially, not in parallel — keeps memory bounded.
- Inline
.scadsource is written to a temp file inside the output dir; nothing executes outsideopenscad. - No
import("/some/path.dxf")traversal — relative paths in.scadare resolved against the output dir or the source file's dir, never against/.
License
MIT.
Установка Openscad Render Loop
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/archimedes-market/mcp-openscad-render-loopFAQ
Openscad Render Loop MCP бесплатный?
Да, Openscad Render Loop MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Openscad Render Loop?
Нет, Openscad Render Loop работает без API-ключей и переменных окружения.
Openscad Render Loop — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Openscad Render Loop в Claude Desktop, Claude Code или Cursor?
Открой Openscad Render Loop на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
Roblox Studio
Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce
автор: paralovOpencode Omniroute Plugin
OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc
автор: GitHub ActionsAWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
автор: lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
MCPHub
Website to list high quality MCP servers and reviews by real users. Also provide online chatbot for popular LLM models with MCP server support.
Compare Openscad Render Loop with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
