3d-cad
6 3D/CAD MCP tools: STL repair, OBJ/GLB/SVG conversion, slicing, G-code M600, SVG optimize.
Should I use this
Quality & Safety
Findings (1)
- LOWin stl_slice_to_gcode
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"3d-cad": {
"url": "https://api.quickcoderhub.com/mcp/3d-cad"
}
}
}Remote endpoints
https://api.quickcoderhub.com/mcp/3d-cadstreamable-httpWhat it can do
Tool inventory
Tools (6)
⚪stl_heal(inputPath, outputPath, base64Data)
Repair non-manifold open holes, degenerate facets, and inverted surface normals in an STL mesh.
Input Schema
{
"type": "object",
"properties": {
"inputPath": {
"type": "string",
"description": "Local path to STL file (stdio MCP)."
},
"outputPath": {
"type": "string",
"description": "Optional local output path for healed Binary STL."
},
"base64Data": {
"type": "string",
"description": "Base64-encoded ASCII or Binary STL (remote MCP)."
}
}
}⚪cad_convert_to_stl(inputPath, outputPath, base64Data, text, format, ...)
Convert OBJ, GLB (glTF 2.0), or 2D SVG (polygon extrusion) into Binary STL with unit scaling and voxel mesh decimation.
Input Schema
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"text": {
"type": "string",
"description": "Raw OBJ or SVG text."
},
"format": {
"type": "string",
"enum": [
"obj",
"glb",
"svg",
"stl"
]
},
"scale": {
"type": "number",
"default": 1
},
"retentionPct": {
"type": "number",
"default": 100
},
"svgDepthMm": {
"type": "number",
"default": 5
}
}
}⚪stl_slice_to_gcode(inputPath, outputPath, base64Data, layerHeight, infillDensity, ...)
Slice a 3D STL mesh across Z-planes with outer wall contours and rectilinear/grid infill into Marlin/Klipper G-Code.
Input Schema
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"layerHeight": {
"type": "number",
"default": 0.2
},
"infillDensity": {
"type": "number",
"default": 0.2
},
"printSpeed": {
"type": "number",
"default": 60
},
"infillPattern": {
"type": "string",
"enum": [
"lines",
"grid"
],
"default": "lines"
}
}
}🟢gcode_estimate_and_inject(inputPath, outputPath, text, diameterMm, densityGcm3, ...)
Calculate exact filament length, mass (grams), spool cost, and print time from G-Code, and inject M600/Klipper PAUSE filament swaps at target Z heights.
Input Schema
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"text": {
"type": "string",
"description": "Raw G-Code content."
},
"diameterMm": {
"type": "number",
"default": 1.75
},
"densityGcm3": {
"type": "number",
"default": 1.24
},
"costPerKg": {
"type": "number",
"default": 22
},
"swapZHeights": {
"type": "array",
"items": {
"type": "number"
}
},
"pauseDialect": {
"type": "string",
"enum": [
"marlin",
"klipper",
"m0"
],
"default": "marlin"
}
}
}⚪svg_optimize(filePath, text, precision)
Minify and optimize SVG markup by stripping XML comments, metadata, editor namespaces, empty groups, and rounding float precision.
Input Schema
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"text": {
"type": "string",
"description": "Raw SVG markup."
},
"precision": {
"type": "integer",
"default": 2
}
}
}🟢svg_path_inspect(filePath, text)
Parse SVG <path d="..."> command streams into individual geometry segments (M/L/C/Q/A/Z) and compute viewBox and closure metrics.
Input Schema
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"text": {
"type": "string",
"description": "Raw SVG markup or single path d string."
}
}
}Community
Evidence