Skip to content
Grok

OpenSCAD MCP V2 for Grok

io.github.johnnythetank/openscad-mcp-v2

Describe a part to your AI client, get checked parametric OpenSCAD code and a 3MF/STL to print.

client:Grok transport:stdio runtime:npm

Install OpenSCAD MCP V2 in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "openscad-mcp-v2": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "openscad-mcp-v2"
      ],
      "env": {
        "OPENSCAD_PATH": "<OPENSCAD_PATH>",
        "OPENSCAD_MCP_WORKSPACE": "<OPENSCAD_MCP_WORKSPACE>",
        "OPENSCAD_MCP_PRINTERS": "<OPENSCAD_MCP_PRINTERS>",
        "OPENSCAD_MCP_PREVIEW": "<OPENSCAD_MCP_PREVIEW>",
        "OPENSCAD_MCP_IMAGE_SIZE": "<OPENSCAD_MCP_IMAGE_SIZE>",
        "OPENSCAD_MCP_COLORSCHEME": "<OPENSCAD_MCP_COLORSCHEME>",
        "OPENSCAD_MCP_PREVIEW_TIMEOUT_MS": "<OPENSCAD_MCP_PREVIEW_TIMEOUT_MS>",
        "OPENSCAD_MCP_RENDER_TIMEOUT_MS": "<OPENSCAD_MCP_RENDER_TIMEOUT_MS>",
        "OPENSCAD_MCP_MANAGE_GUI_PREFS": "<OPENSCAD_MCP_MANAGE_GUI_PREFS>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

OpenSCAD MCP V2 in other clients