arshield-mcp
v0.1.4ArShield MCP server — post-quantum file encryption for AI agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
arshield_encrypt_file
Encrypt bytes under hybrid ML-KEM-768 + X25519 and sign the envelope with ML-DSA-65 (ArShield .arshield container). Returns base64url of the container. Sign with a keyfile, a wallet signature, or a fresh ephemeral identity.
| Parameter | Type | Description |
|---|---|---|
data_base64 * | string | File bytes encoded base64 (standard) or base64url |
filename * | string | Original filename, stored encrypted inside the payload |
address | optional | |
keyfile_json | optional | |
passphrase | optional | |
signature_hex | optional | |
signature_hex_repeat | optional |
arshield_decrypt_file
Decrypt an ArShield .arshield container (base64url). Verifies the ML-DSA-65 signature and returns the original file bytes and filename.
| Parameter | Type | Description |
|---|---|---|
container_b64url * | string | The .arshield container encoded base64url |
address | optional | |
keyfile_json | optional | |
passphrase | optional | |
signature_hex | optional | |
signature_hex_repeat | optional |
arshield_send_message
Wrap a short plaintext (max 64KB) into a shareable encrypted ArShield message URL. The ciphertext lives in the URL #fragment. With an ephemeral sender the secret key is embedded so the recipient can decrypt without setup.
| Parameter | Type | Description |
|---|---|---|
text * | string | Plaintext message (max 64KB) |
address | optional | |
keyfile_json | optional | |
passphrase | optional | |
signature_hex | optional | |
signature_hex_repeat | optional |
arshield_decrypt_message
Read an ArShield encrypted message URL (like the /m page does). Returns the plaintext and the signer key that sealed it.
| Parameter | Type | Description |
|---|---|---|
url * | string | The arshield message URL |
address | optional | |
keyfile_json | optional | |
passphrase | optional | |
signature_hex | optional | |
signature_hex_repeat | optional |
arshield_verify_seal
Parse the metadata fields an ArShield Quantum Seal PNG carries (unsigned) and, given an envelope, compare its sha256 against file_hash. Seal fields: file_hash, anchor_tx, anchor_chain, anchor_registry, anchor_time, anchor_account.
| Parameter | Type | Description |
|---|---|---|
seal_metadata_json * | string | The seal metadata parsed from the PNG text chunk |
envelope_sha256 | string | sha256 hex of the envelope to compare against file_hash |
arshield_sign_x402
Sign an x402 payment payload with ML-DSA-65 under context arshield-v1-x402. Returns the signature (base64url) the server can verify with the provided public key.
| Parameter | Type | Description |
|---|---|---|
payload_base64 * | string | The x402 request bytes to sign (base64) |
address | optional | |
keyfile_json | optional | |
passphrase | optional | |
signature_hex | optional | |
signature_hex_repeat | optional |