openscad-mcp
by petrijr
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENSCAD_MCP_LOG_LEVEL | No | Log level (default INFO) | INFO |
| OPENSCAD_MCP_TIMEOUT_S | No | OpenSCAD subprocess timeout in seconds (default 30) | 30 |
| OPENSCAD_MCP_CACHE_ROOT | No | Root directory for artifact cache (enables use_cache=true) | |
| OPENSCAD_MCP_MODULE_ROOT | No | Module registry root containing index.json + *.scad files | |
| OPENSCAD_MCP_ARTIFACT_ROOT | No | Optional root directory for per-request build dirs | |
| OPENSCAD_MCP_INCLUDE_ROOTS | No | Comma-separated allowlist for use/include (best-effort enforcement) | |
| OPENSCAD_MCP_OPENSCAD_PATH | No | Optional path to openscad (overrides PATH discovery) | |
| OPENSCAD_MCP_KEEP_ARTIFACTS | No | If true, keep per-request build dirs | |
| OPENSCAD_MCP_QT_QPA_PLATFORM | No | Qt platform plugin for headless fallback (default minimal) | minimal |
| OPENSCAD_MCP_MAX_INLINE_BYTES | No | Max bytes to inline when inline_artifact_bytes=true (default 5 MB) | 5242880 |
| OPENSCAD_MCP_MAX_OUTPUT_BYTES | No | Fail if the generated artifact exceeds this size | |
| OPENSCAD_MCP_MAX_INTROSPECT_BYTES | No | Max bytes to read for introspection (default 2 MB) | 2097152 |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
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
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/petrijr/openscad-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server