Nukez

Docs · MCP

MCP server

15 tools

Tools

MCP tool reference

MCP tool groups

The hosted MCP server exposes payment setup, file operations, verification and freshness checks, and receipt-attached memory. Tools that touch protected locker state require client-signed envelopes.

Raw schema/v1/tools.json

Machine-readable tool names and argument schemas.

Payment boundaryNo hosted custody

Payment signatures are recorded after local execution.

Protected accessSigned envelopes

Locker reads, writes, deletion, and provisioning bind to client proof.

Tool table

Hosted tool surface

GroupToolDescription
Payment and setupnukez_quoteQuote storage and return payment_options for units, provider, network, and payment asset selection.
nukez_payRecord an externally executed transaction signature. The hosted MCP server does not move funds.
nukez_provisionFirst confirms payment and returns the provision envelope spec; then activates the locker with a client-signed envelope.
nukez_setupRehydrate an existing receipt-backed locker. New storage setup uses quote, external transfer, pay, and provision.
Filesnukez_create_fileCreate a file entry and return upload_url, download_url, and confirm_url for direct signed-URL flows.
nukez_storeStore files through signed inline data_b64; large files use nukez_create_file with a direct PUT instead.
nukez_confirmConfirm bytes after a direct signed-URL upload so size and content_hash enter the manifest.
nukez_upload_chunkAdvanced fallback for constrained runtimes where a direct PUT to the upload_url is impossible.
nukez_retrieveList visible files with a locker:list envelope, or retrieve file content with a locker:read envelope.
nukez_deleteDelete files from a locker. Deletion invalidates prior attestations until the file set is re-attested.
Proof and verificationnukez_statusPre-setup status, or returning-session bootstrap with a signed locker:list envelope.
nukez_verifyVerify with push=false, anchor on-chain with push=true (two-phase: sign the returned locker:attest envelope spec), or return a per-file Merkle inclusion proof.
nukez_recompute_verifyByte-level audit: re-downloads every file, recomputes hashes, rebuilds the Merkle tree, and compares against the persisted attestation.
Memorynukez_rememberWrite structured memory records through the two-phase plan/execute flow: the plan returns record and index files to store with signed envelopes.
nukez_recallRead memory records by key, namespace, tags, query, prefix, or include_archived.

Resources

MCP resources and prompt

URI / promptPurpose
nukez://instructionsFull operational instructions
nukez://configServer configuration summary
nukez://walletWallet and lifecycle state summary
nukez://sandbox-upload-playbookUpload guidance for constrained sandboxes
nukez://locker/{receipt_id}/manifestManifest with visible files
nukez://locker/{receipt_id}/file/{filename}File content resource

Canonical flow

Notebook-backed sequence

StepMethod / toolPurpose
0initialize, tools/listHandshake and tool discovery
1nukez_statusPre-setup status
2nukez_quoteQuote storage and payment options
3solana_transfer / send_spl, nukez_payExecute external payment and record it (pass pay_asset for SPL)
4nukez_provisionConfirm payment, sign provision envelope, activate locker
5nukez_storeStore small inline data_b64 files with envelope
6nukez_create_file, PUT, nukez_confirmCanonical large-file direct upload
7-8nukez_retrieveList files, download, and byte-match verify
9gateway receipt proxyPublic receipt file URL
10nukez_statusReturning-session bootstrap with locker:list envelope
11-13nukez_verifyStructural check, two-phase on-chain attest, and Merkle inclusion proof
14nukez_recompute_verifyByte-level audit against the persisted attestation
15-16gateway verificationReceipt hash check and verification bundle
17nukez_deleteDelete file and invalidate prior attestation
18nukez_remember, nukez_recallMemory write/read and session persistence via supersedes

Rules

Operational constraints

Rule
Save receipt_id permanently after payment confirmation.
Quotes expire in about 5 minutes — transfer and confirm promptly, or re-quote.
For SPL payments (BETA/USDC/USDT/WETH), always pass pay_asset to nukez_pay and nukez_provision, and send the transfer to the quote's token account directly — never derive an ATA from pay_to_address.
Production post-provisioning operations require signed envelopes.
Use locker:write for create/delete/write flows, locker:list for listings, locker:read for per-file reads, locker:provision for provisioning, and locker:attest (with the query field) for attestation.
Build envelope bodies with canonical JSON: compact separators and sorted keys.
Use nukez_create_file with a direct PUT for large files; reserve nukez_upload_chunk for runtimes where a direct PUT is impossible.
Re-run the two-phase attest after storing or deleting files.

§ next