MCP server that validates 3D mesh manipulations with deterministic geometric checks and multi-view visual renders
Strong domain-specific tool set with comprehensive schemas and detailed descriptions. All 22 tools have explicit input schemas with typed parameters and descriptions. Tool names follow verb_noun pattern (inspect_*, validate_*, compare_*, measure_*, analyze_*, detect_*, check_*, find_*). Descriptions are domain-appropriate (100-400 chars), explaining WHAT the tool does and WHEN to use it. However, output schemas are not formally documented in the visible code, responses are described narratively rather than as structured JSON schemas. Error handling is present but generic (ErrorCode/MeshToolError) without recovery guidance. No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite all tools being read-only operations.
Analyze draft angles for a pull direction: undercut area, minimum draft angle, and faces that violate the draft threshold. Returns a heatmap render showing undercuts.
Assert named invariants on a mesh: conserves_volume, preserves_watertight, preserves_genus, no_new_defects, centroid_fixed, monotonic_offset, bounded_hausdorff. Each property carries a confidence tier and error bound.
Check clearance/interference between two solids: detects collisions and measures the closest surface-to-surface approach. Returns interfering flag, max penetration depth, min clearance, and optional requirement check.
Compare two meshes (before/after) to detect the transformation applied: translation, rotation, rigid motion, similarity, affine, mirroring, or deformation. Returns classification, transform matrix, distance metrics (Chamfer, Hausdorff), and metric deltas. Optionally validates localized changes (emboss/pocket/fillet) within a region.
Compare the silhouettes (outlines) of two meshes from multiple viewpoints: checks that the outline is preserved after an operation. Returns pass/fail with per-view silhouette overlap metrics.
Output schemas not formally documented. Tool descriptions explain results narratively (e.g., 'Returns a pass/fail report with per-check details') but do not provide structured JSON Schema definitions. LLMs cannot reliably extract fields from unstructured descriptions.
No tool annotations despite all 22 tools being read-only operations. Missing readOnlyHint annotations prevent clients from optimizing caching and retry logic.
Error handling is generic (ErrorCode enum + message). No recovery guidance. When a mesh file is invalid or a validation fails, errors do not suggest next steps (e.g., 'Call inspect_mesh first to diagnose the issue').
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 64 | 2026-07-28+ | v2 |
Compare a mesh to a reference (golden) mesh: exact per-vertex match (same topology) or bounded surface distance (different topology). Returns pass/fail, distance metrics, and a render highlighting the deviation.
Detect symmetry planes in a mesh: mirror, rotational, or translational. Returns the symmetry type, axis/plane, and a confidence score based on how many vertices align with the symmetry.
Locate a colour on a mesh and return its bounding box and a Region object (face_ids and box) for further geometric analysis. Colour can be specified as a name ('red'), hex string ('#ff0000'), or RGB triple.
Fit a geometric primitive (circle, line, plane, sphere, cylinder, cone) to a region of a mesh. Returns the fitted parameters, residual, and a render highlighting the fitted region.
Analyse the colour and material appearance of a mesh: per-face colours, per-vertex colours, uniform materials, or base-colour textures. Returns a report of every colour authored on the mesh with its share of the surface, patch count, and spatial location. Renders the part in its true colours.
Load a 3D mesh file and return a full geometric report: vertex/face/edge/body counts, watertightness, winding consistency, euler number, volume (with a volume_reliable flag), surface area, bounds, extents, centroid, center of mass, a per-body breakdown, and an `integrity` block (boundary/non-manifold edges, degenerate/sliver/duplicate/flipped faces, self-intersections, min triangle quality). Use it to ground truth a mesh BEFORE writing validate_mesh expectations, or to diagnose a failed validation. Values are in the file's native units; `caveats` lists anything that makes a metric unreliable.
Inspect a cross-section of a mesh: area, perimeter, loop count, and the faces that intersect the cutting plane. Optionally fit a primitive (circle/line) to the section boundary.
Measure the deformation field between two meshes: signed displacement along the before-surface normal at each vertex. Returns peak (95th percentile), mean, max outward/inward, and a signed heatmap render (red = material added, blue = removed).
Measure minimum wall thickness of a mesh: the smallest distance between opposite surfaces. Returns p5 (5th percentile, robust to edge artefacts), mean, and min thickness, with a heatmap render.
Sanity check on mesh units: estimates the likely unit system (mm, cm, m, in, etc.) based on mesh size and common CAD conventions. Returns the estimated unit and confidence.
Validate a linear or polar array: checks that every instance is congruent to the base (same volume and principal inertia moments) and positioned at the expected grid/fan. Returns pass/fail report with congruence and position checks.
Validate a boolean (CSG) operation: union/difference/intersection. Checks result integrity (watertight, non-self-intersecting), volume bounds from set algebra, and containment via signed distance. Returns pass/fail report with per-check details.
Design-for-manufacturing validation: composite check of minimum wall thickness, draft angles, undercut area, and trapped voids. Returns pass/fail report with per-criterion details.
Validate an extrude operation: checks that the result is a valid extrusion of the base profile by volume signature matching. Returns pass/fail with volume bounds and profile congruence.
Validate a mesh against a set of expectations: watertightness, volume bounds, surface area bounds, integrity checks (self-intersections, non-manifold edges, degenerate faces), topology (genus, boundary loops), and optional per-body checks. Returns a pass/fail report with per-check details and a rendered view highlighting any defects.
Validate a remesh operation: checks that the remeshed result preserves the original surface within a tolerance. Returns pass/fail with surface distance metrics.
Validate a revolve operation: checks that the result is a valid revolution of the base profile by volume signature matching. Returns pass/fail with volume bounds and profile congruence.
Complex nested parameter objects (Expectations, BooleanExpectations, ArrayPattern, Region, PropertySpec) lack inline schema documentation. LLMs must infer structure from type names alone.
Tool names 'units_sanity' and 'validate_dfm' are domain-specific jargon. 'units_sanity' is unclear (does it validate, estimate, or check?); 'dfm' (design-for-manufacturing) requires domain knowledge. Consider 'estimate_units' and 'validate_manufacturability'.