3d-cad
6 3D/CAD MCP tools: STL repair, OBJ/GLB/SVG conversion, slicing, G-code M600, SVG optimize.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (1)
- LOWen stl_slice_to_gcode
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"3d-cad": {
"url": "https://api.quickcoderhub.com/mcp/3d-cad"
}
}
}Puntos de conexión remotos
https://api.quickcoderhub.com/mcp/3d-cadstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (6)
⚪stl_heal(inputPath, outputPath, base64Data)
Repair non-manifold open holes, degenerate facets, and inverted surface normals in an STL mesh.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"text": {
"type": "string",
"description": "Raw SVG markup or single path d string."
}
}
}Comunidad
Evidencia