LLMs Can't Read Binary .glb Meshes — Giving Kiro 3D CAD Sight with a Custom Power, MCP & TypeScript Engine

This post was written as part of the Kiroween 2026 hackathon.
Coding agents can read thousands of lines of TypeScript in seconds—but hand an LLM a binary .glb 3D CAD assembly and it is completely blind. Ask whether a retaining ring can slide off without pulling the central shaft, or click "Explode" in a standard 3D viewer, and parts ghost straight through solid metal.
For the Kiroween 2026 hackathon (Skeleton Crew category), I built UnboltKit inside Kiro IDE to solve both sides of that problem:
- Give Kiro direct geometric sight over binary
.glbfiles via a custom CAD Assembly Auditor Power + local MCP server. - Power two completely separate browser apps and a headless CI gate from one pure, zero-DOM TypeScript 3D disassembly core (
@unboltkit/core):- Guide Forge (Repair Manual Studio): Upload a
.glb, review a proposed teardown order, verify individual straight moves on demand, add tool/torque notes, and export a single-file offline HTML repair manual. - Unbolt Blitz (Clockwork 3D Puzzle Game): Runs the exact same Web Worker engine to power timed mechanical teardowns and impossible interlock traps.
- Guide Forge (Repair Manual Studio): Upload a
1. Giving Kiro Geometric Sight over Binary .glb Files (MCP + Kiro Power + Crew CI)
Because binary glTF buffers aren't human-readable text, standard chat prompts have to guess how parts fit together. We wrapped UnboltKit's pure CPU planner into a local stdio MCP server (tools/cad-auditor-mcp) and packaged it with a triage skill as the CAD Assembly Auditor Kiro Power (powers/cad-assembly-auditor).
Once registered in .kiro/settings/mcp.json, Kiro calls three domain tools directly inside chat:
-
list_sample_kits— enumerates bundled solvable kits and intentional deadlock cages. -
inspect_assembly_dbg— segments rigid mesh islands, builds a BVH-accelerated directional blocking graph, and returns either a proposed step sequence or a Tarjan strongly-connected deadlock witness naming the exact parts trapping one another (such as{dumbbell, captive_ring}). -
diff_repairability— compares baseline vs. candidate.glbrevisions to flag newly trapped parts or step-depth regressions.
We then wired the same auditor into UnboltKit Assembly CI—a standalone Kiro Crew app with a custom assembly-auditor agent whose SessionStart git hook detects modified .glb files, writes disassembly-manifest.json, and fails CI on new deadlocks.
2. Where Vibe-Coding Broke: Catching a 0-Hit Ray Blind Spot with Kiro Specs & Steering
Early on, Kiro vibe sessions made it fast to prototype Three.js camera framing and tactile UI interactions. Then a minimal three-bar test exposed a subtle bug in our legacy ray checker: one thin bar slid edge-to-edge straight through another bar, while sampled vertex rays missed the contact and reported 0 hits.
Three Kiro workflow primitives stopped us from cutting corners:
- Anti-Spec-Gaming Steering (
.kiro/steering/): Four steering files combinedinclusion: always(geometry-invariants.mdandno-spec-gaming.mdbanning hardcoded part names or fixture exceptions) with path-scopedinclusion: fileMatch(ui-separation.mdonapps/**/*keeping both apps visually independent and 100% playable on mute). - Bugfix Spec Workflow (
.kiro/specs/crossed-bars-false-verified/bugfix.md): Writing the exact failure geometry and verdict truth table (Clear,Blocked,Unverified) before touching code led us to separate heuristic multi-step planning from an independent finite straight-move verifier (moveVerifier.ts) that pairs bounded surface rays with feature-edge sweeps against opposing faces—and strip every unverified badge from full plans in the UI. - 17
fast-checkProperty Suites & Workspace Hooks (.kiro/hooks/): RandomSE(3)rigid-transform and watertight 2-to-8 part assembly arbitraries proved that oriented-bounding-box pruning produces the exact same edges and triangle lists as an unpruned search (Property 18), while Kiro file-save hooks reran quick geometry checks on every solver edit and kept motion primitives synced across workspaces.
Try It in Your Browser (Zero Sign-In)
- Guide Forge (Studio): https://unboltkit-guide-forge.vercel.app/
- Unbolt Blitz (3D Game): https://unboltkit-blitz.vercel.app/
- Main Repository (MIT, includes 10-line Node starter): https://github.com/Sarvesh5273/Kiroween-2026
- Assembly CI Kiro Crew App: https://github.com/Sarvesh5273/unboltkit-assembly-ci
