nain-mcp-validator

v0.1.0
io.github.Nain9Dev/nain-mcp-validator Checked 1 day ago Published 11 days ago

Deterministic 3D mesh validation (C1-C10) and SHA-256 checks for AI agents.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

validate_mesh_invariants

Deterministic validation of 3D triangular mesh invariants (checks C1-C10) including watertightness, 2-manifoldness, quantum sliver threshold, and normal winding.

ParameterTypeDescription
faces *arrayList of [i0, i1, i2] vertex index triplets.
vertices *arrayList of [x, y, z] coordinate triplets.
bodiesintegerExpected number of disjoint bodies (default: 1).
genusintegerExpected genus/through-holes (default: 0).

verify_content_digest

Cryptographic content-addressing validation ensuring an artifact or specification matches its immutable SHA-256 digest.

ParameterTypeDescription
content *stringUTF-8 content string to hash and verify.
expected_sha256 *string64-character hexadecimal SHA-256 digest to compare against.

generate_conformance_report

Generates a standardized Markdown dual-contract conformance report from mesh validation results with fail-closed summary.

ParameterTypeDescription
asset_name *stringIdentifier or filename of the asset.
faces *array
vertices *array