OpenSCAD Design MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENSCAD_PATH | No | Path to the openscad.exe executable. | Tự động dò tìm |
| OPENSCAD_MCP_WORKSPACE | No | Directory for storing projects, exports, previews and reports. | ./workspace |
| OPENSCAD_MCP_LOCK_TIMEOUT | No | Timeout waiting for workspace synchronization lock (seconds). | 10.0 |
| OPENSCAD_MCP_EXPORT_TIMEOUT | No | Maximum timeout when exporting STL/3MF files (seconds). | 180.0 |
| OPENSCAD_MCP_MAX_CODE_BYTES | No | Maximum length of SCAD source code (2 MB). | 2097152 |
| OPENSCAD_MCP_INSPECT_TIMEOUT | No | Maximum timeout for mesh geometry analysis (seconds). | 60.0 |
| OPENSCAD_MCP_PREVIEW_TIMEOUT | No | Maximum timeout for each render task (seconds). | 60.0 |
| OPENSCAD_MCP_VALIDATE_TIMEOUT | No | Maximum timeout for validating SCAD code (seconds). | 30.0 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_system_statusA | Detect OpenSCAD, probe real PNG rendering, and report dependency versions and limits. |
| create_projectA | Create and validate version 1; invalid geometry remains saved and editable. |
| list_projectsA | List projects with UTC timestamps and latest status. |
| get_projectA | Read metadata, current code, exports, and the latest finalization report. |
| read_modelB | Read the checksum-verified current SCAD snapshot. |
| update_modelA | Atomically update code if expected_version matches, invalidating previous results. |
| validate_scadA | Compile to a temporary STL and inspect for empty geometry, recording diagnostics. |
| render_previewC | Render a verified PNG for a named view or a numeric 6/7-value custom camera. |
| render_preview_setB | Render six default views, or 1–12 requested named views, in parallel preserving order. |
| export_modelB | Export STL, 3MF, OFF, AMF, DXF or SVG with fixed CLI arguments. |
| inspect_meshB | Inspect a current verified STL/3MF export or create a temporary STL automatically. |
| compare_dimensionsB | Compare X/Y/Z in project units; null skips an axis, tolerances use the larger bound. |
| check_printabilityA | Check mesh and build extents; wall thickness, supports and clearance stay unknown. |
| finalize_modelB | Validate, render, export and inspect one revision; finalize only if all gates pass. |
| list_versionsB | List immutable versions, UTC timestamps, summaries and SHA-256 checksums. |
| restore_versionB | Restore a historical snapshot as a new version, retaining the complete history. |
| delete_projectA | Move a project to trash only when the confirmation ID matches exactly. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tomyrese/openscad-design-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server