Store a client-encrypted one-time secret
create_one_time_secretPass a secret to one reader, once: store an envelope you encrypted yourself with AES-256-GCM, for at most 24 hours, and get separate read and receipt tokens once. Never send the plaintext or the decryption key to MCP, chat or this API; MCP clients may log tool arguments and bearer tokens. The plaintext is at most 16384 bytes. Creation allows 100 per IP per UTC day; not idempotent. No API key, no account and no sign up.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"version": "<version>",
"algorithm": "<algorithm>",
"nonce": "<nonce>",
"ciphertext": "<ciphertext>"
},
"name": "create_one_time_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonce | Yes | Unpadded base64url of the fresh 12-byte nonce. | |
| version | Yes | The envelope version, always 1. | |
| algorithm | Yes | The cipher, always AES-256-GCM. | |
| ciphertext | Yes | Unpadded base64url ciphertext including the 16-byte authentication tag, no key. |