cadloop OpenSCAD for VS Code
io.github.richardofortune/cadloop-openscad
Compile OpenSCAD, read computed values, preview and measure the mesh, without a GUI.
client:VS Code
transport:stdio
runtime:pypi
Install cadloop OpenSCAD in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "openscad-workspace",
"description": "OPENSCAD_WORKSPACE",
"password": true
},
{
"type": "promptString",
"id": "openscad-bin",
"description": "OPENSCAD_BIN",
"password": true
},
{
"type": "promptString",
"id": "openscad-timeout",
"description": "OPENSCAD_TIMEOUT",
"password": true
}
],
"servers": {
"cadloop-openscad": {
"type": "stdio",
"command": "uvx",
"args": [
"cadloop"
],
"env": {
"OPENSCAD_WORKSPACE": "${input:openscad-workspace}",
"OPENSCAD_BIN": "${input:openscad-bin}",
"OPENSCAD_TIMEOUT": "${input:openscad-timeout}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs