PluginBench
MCP Server
Active
MIT

cadloop OpenSCAD MCP Server

io.github.richardofortune/cadloop-openscad

What is the cadloop OpenSCAD MCP server?

Compile OpenSCAD, read computed values, preview and measure the mesh, without a GUI.

How to install cadloop OpenSCAD

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • OPENSCAD_WORKSPACE

    The only directory this server reads and writes. Defaults to ~/cad.

  • OPENSCAD_BIN

    Path to the openscad binary. Auto-detected from PATH and the usual install locations if unset.

  • OPENSCAD_TIMEOUT

    Seconds before a run is killed. Defaults to 300.

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "cadloop-openscad": {
      "command": "uvx",
      "args": [
        "cadloop",
        "--from",
        "cadloop",
        "cadloop-openscad"
      ],
      "env": {
        "OPENSCAD_WORKSPACE": "<YOUR_OPENSCAD_WORKSPACE>",
        "OPENSCAD_BIN": "<YOUR_OPENSCAD_BIN>",
        "OPENSCAD_TIMEOUT": "<YOUR_OPENSCAD_TIMEOUT>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "cadloop-openscad": {
      "command": "uvx",
      "args": [
        "cadloop",
        "--from",
        "cadloop",
        "cadloop-openscad"
      ],
      "env": {
        "OPENSCAD_WORKSPACE": "<YOUR_OPENSCAD_WORKSPACE>",
        "OPENSCAD_BIN": "<YOUR_OPENSCAD_BIN>",
        "OPENSCAD_TIMEOUT": "<YOUR_OPENSCAD_TIMEOUT>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "cadloop-openscad": {
      "command": "uvx",
      "args": [
        "cadloop",
        "--from",
        "cadloop",
        "cadloop-openscad"
      ],
      "env": {
        "OPENSCAD_WORKSPACE": "<YOUR_OPENSCAD_WORKSPACE>",
        "OPENSCAD_BIN": "<YOUR_OPENSCAD_BIN>",
        "OPENSCAD_TIMEOUT": "<YOUR_OPENSCAD_TIMEOUT>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "cadloop-openscad": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "cadloop",
        "--from",
        "cadloop",
        "cadloop-openscad"
      ],
      "env": {
        "OPENSCAD_WORKSPACE": "<YOUR_OPENSCAD_WORKSPACE>",
        "OPENSCAD_BIN": "<YOUR_OPENSCAD_BIN>",
        "OPENSCAD_TIMEOUT": "<YOUR_OPENSCAD_TIMEOUT>"
      }
    }
  }
}
Claude Code
claude mcp add cadloop-openscad --env OPENSCAD_WORKSPACE=<YOUR_OPENSCAD_WORKSPACE> --env OPENSCAD_BIN=<YOUR_OPENSCAD_BIN> --env OPENSCAD_TIMEOUT=<YOUR_OPENSCAD_TIMEOUT> -- uvx cadloop --from cadloop cadloop-openscad

Related MCP servers

Read and resolve human feedback pinned on your live prototype, straight from your coding agent.

2
TypeScript
MIT
View repository →

Find printer profiles, check bed fit, slice to .gcode.3mf and extract the G-code.

1
Python
MIT
View repository →