Skip to content

crypto

Identity primitives: UUIDs, hashes, secure random bytes. Pure compute — auto-registered by the installer.

Usage

bash
native-mcp crypto

No flags.

Tools

uuid

FieldTypeRequiredDescription
versionenum(v4, v7)noDefault v4. v7 is timestamp-ordered (RFC 9562).

hash

FieldTypeRequiredDescription
algorithmenum(md5, sha1, sha256, sha512)yes
inputstringyesUTF-8 string.

Returns the digest as lowercase hex.

random_bytes

FieldTypeRequiredDescription
lengthintegeryesNumber of bytes (1..1024).

Returns the bytes as lowercase hex, sourced from crypto/rand.

Register in Claude Code

bash
claude mcp add native-crypto native-mcp crypto

Released under the MIT License.