nain-mcp-validator
v0.1.0Deterministic 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.
| Parameter | Type | Description |
|---|---|---|
faces * | array | List of [i0, i1, i2] vertex index triplets. |
vertices * | array | List of [x, y, z] coordinate triplets. |
bodies | integer | Expected number of disjoint bodies (default: 1). |
genus | integer | Expected genus/through-holes (default: 0). |
verify_content_digest
Cryptographic content-addressing validation ensuring an artifact or specification matches its immutable SHA-256 digest.
| Parameter | Type | Description |
|---|---|---|
content * | string | UTF-8 content string to hash and verify. |
expected_sha256 * | string | 64-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.
| Parameter | Type | Description |
|---|---|---|
asset_name * | string | Identifier or filename of the asset. |
faces * | array | |
vertices * | array |