How can an AI agent control OpenSCAD?
An MCP-compatible AI agent can use DCC-MCP to inspect declarative CAD source and automate bounded validation, preview rendering, and mesh export. The agent selects the correct application instance or integration, discovers available tools, and reads their parameter definitions before acting and checking the result. These typed tools declare their inputs, outputs, and parameter types.
OpenSCAD MCP and OpenSCAD CLI
The OpenSCAD MCP endpoint and OpenSCAD CLI workflow share the same DCC-MCP adapter and tool catalog. Use dcc-mcp-cli with --dcc-type openscad to limit tool searches to OpenSCAD. Tools declare their inputs, outputs, and parameter types so arguments can be checked before a call.
dcc-mcp-cli search --query "inspect source dependencies and runtime capabilities" --dcc-type openscadWhat can an AI agent do in OpenSCAD?
- inspect source dependencies and runtime capabilities.
- validate one bounded parametric model without arbitrary code execution.
- render a preview and export a verified STL or mesh result.
Capabilities change with the adapter version and loaded Skills. Search and describe tools first instead of guessing current tool names from this page.
Safe operating flow
- Install and follow the public
dcc-mcpSkill. - Inspect the existing CLI, adapter, and live hosts; obtain consent before installing software or changing system state.
- Use
health,dcc-types, andlistto verify the Gateway and target instance. - Search and describe tools for the actual OpenSCAD task, then follow every returned
next_step. - Make one bounded change and verify it through host state, files, previews, logs, or rendered output.
dcc-mcp-cli health
dcc-mcp-cli dcc-types
dcc-mcp-cli listCopyable prompt
Use the dcc-mcp Skill to connect to my OpenSCAD session. Inspect the existing CLI, adapter, and live instance first; ask before installing software or changing system state. Search for and describe typed tools related to "validate one bounded parametric model without arbitrary code execution", then follow every returned next_step. Do not delete, overwrite, or publish existing work. Make the smallest verifiable change, then check the result against this requirement: "render a preview and export a verified STL or mesh result". Report the instance, tool, result, and evidence path.Current availability and official source
The current catalog lists openscad as the adapter identifier. Catalog definitions do not establish host acceptance; run dcc-mcp-cli dcc-types, then discover and describe the live instance's tools before operating.
- OpenSCAD adapter repository: source of truth for installation, compatibility, host-specific capabilities, and troubleshooting.
- All AI + DCC control guides: return to every public application and pipeline integration.
- Agent workflow: shared discovery, call, validation, and diagnostic steps.
This page describes the shared Agent workflow. Each integration's repository owns its installation, API, and compatibility details.

