3d-cad
6 3D/CAD MCP tools: STL repair, OBJ/GLB/SVG conversion, slicing, G-code M600, SVG optimize.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (1)
- LOWin stl_slice_to_gcode
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"3d-cad": {
"url": "https://api.quickcoderhub.com/mcp/3d-cad"
}
}
}Remote-Endpunkte
https://api.quickcoderhub.com/mcp/3d-cadstreamable-httpWas es kann
Tool-Inventar
Tools (6)
⚪stl_heal(inputPath, outputPath, base64Data)
Repair non-manifold open holes, degenerate facets, and inverted surface normals in an STL mesh.
Eingabe-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.
Eingabe-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.
Eingabe-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.
Eingabe-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.
Eingabe-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.
Eingabe-Schema
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"text": {
"type": "string",
"description": "Raw SVG markup or single path d string."
}
}
}Community
Nachweis