x402 Notary MCP

v0.1.12
io.github.forgemeshlabs/x402-notary-mcp Checked 1 day ago Published 1 month ago

Cryptographic receipts for AI outputs on Base or Solana via x402.

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

notarize_inference

Get a cryptographic receipt for one AI inference. Returns a signed Ed25519 attestation, sha256 content hash, and Merkle chain-anchor status for {prompt, response, model_id}. The notary does NOT store your prompt or response — only the hash is retained. Costs $0.005 USDC via x402 (requires WALLET_PRIVATE_KEY for a Base wallet).

ParameterTypeDescription
model_id *stringModel identifier, e.g. 'openai/gpt-5' or 'claude-fable-5'
prompt *stringThe exact prompt/input that was sent to the model
response *stringThe exact model output you want a receipt for
client_timestampstringOptional ISO-8601 time the inference ran. Included in the content hash if provided.

notarize_batch

Notarize up to 20 AI inferences in one call — one signed attestation per record. Ideal for audit trails and agent pipelines. Costs $0.005 USDC via x402 (requires WALLET_PRIVATE_KEY for a Base wallet).

ParameterTypeDescription
records *array1-20 records of {prompt, response, model_id, client_timestamp?}

verify_attestation

FREE — verify any attestation issued by the notary. Supply the attestation_id plus either the original content ({prompt, response, model_id}) or its content_hash. Returns the Ed25519 signature check, hash comparison, and a Merkle inclusion proof once the batch is sealed. No wallet needed.

ParameterTypeDescription
attestation_id *stringAttestation id (att_…) from a receipt
client_timestampstringOptional ISO-8601 time the inference ran. Included in the content hash if provided.
content_hashstringAlternative to supplying full content: the sha256 content hash to compare directly
model_idstringModel identifier, e.g. 'openai/gpt-5' or 'claude-fable-5'
promptstringThe exact prompt/input that was sent to the model
responsestringThe exact model output you want a receipt for

get_receipt

FREE — fetch the public receipt for an attestation: content hash, model, timestamps, Ed25519 signature, and Merkle anchor proof. Raw prompt/response are never stored, so receipts contain proof material only. No wallet needed.

ParameterTypeDescription
attestation_id *stringAttestation id (att_…)

notary_stats

FREE — live aggregate stats: total notarizations, 24h volume, top models by attestation count, sealed/anchored Merkle batches. No wallet needed.

notary_pubkey

FREE — the notary's Ed25519 public key (base64, raw 32 bytes) for fully offline signature verification. No wallet needed.