Openscad Wasm
БесплатноНе проверенAn MCP server that enables validating, exporting, previewing, and analyzing OpenSCAD models via a WASM-based OpenSCAD runtime, with secure file management and D
Описание
An MCP server that enables validating, exporting, previewing, and analyzing OpenSCAD models via a WASM-based OpenSCAD runtime, with secure file management and Docker Compose deployment.
README
An OpenSCAD Model Context Protocol (MCP) server that runs OpenSCAD in Node.js/TypeScript using WebAssembly (openscad-wasm). No native OpenSCAD installation on the host is required.
Quick Start
1. Run with Docker Compose
By default, the server runs in Docker with restricted privileges:
docker compose up --build
The MCP server listens on http://127.0.0.1:3333/mcp.
2. Configure MCP Client
Add the server to your MCP client configuration (e.g., claude_desktop_config.json):
Using HTTP Transport (default):
{
"mcpServers": {
"openscad-wasm": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/client-cli", "http://127.0.0.1:3333/mcp"]
}
}
}
Available Tools
OpenSCAD Tools
openscad_validate: Validates SCAD code and returns syntax/logical diagnostics.openscad_export_model: Exports model tostl,3mf,off,csg,dxf, orsvg.openscad_render_preview: Generates a server-side WebP render or an interactive 3D preview link.openscad_create_preview_link: Generates a URL to open a browser-based interactive 3D viewer.openscad_analyze_model: Computes the model's bounding box and triangle count.
Workspace Tools
workspace_list_files: Lists files in the container workspace.workspace_read_file: Reads a file from the workspace.workspace_write_file: Writes a file to the workspace.workspace_delete_file: Deletes a file from the workspace.
Artifacts
Renders and model exports are saved under ./workspace/artifacts on the host. The MCP tool responses return metadata: path, filename, format, mimeType, sizeBytes, and sha256.
Configuration
Customize runtime limits (memory, timeouts, directories) by copying .env.example to .env and editing the environment variables.
Known Limitations
- Performance: Complex models can be slow or memory-intensive inside WebAssembly.
- Visuals: WebP previews do not preserve OpenSCAD colors, GUI helpers, or 2D camera perspectives.
- Assets & Libraries: Fonts and external libraries are not bundled; you must upload necessary files to the workspace first.
- Format Support: Build-specific limits may affect exports (e.g.,
3mfis currently unsupported).
License
MIT License. See LICENSE for details. Dependencies (openscad-wasm, sharp) carry their own respective licenses.
Установка Openscad Wasm
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/suapapa/openscad-wasm-mcpFAQ
Openscad Wasm MCP бесплатный?
Да, Openscad Wasm MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Openscad Wasm?
Нет, Openscad Wasm работает без API-ключей и переменных окружения.
Openscad Wasm — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Openscad Wasm в Claude Desktop, Claude Code или Cursor?
Открой Openscad Wasm на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Openscad Wasm with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
