In 15 minutes: your agent encrypts a file on your machine, you open it in the browser as its owner, and you verify the signed receipt of what the agent did.
@cloakapps/cloak-encrypt-mcp
npm package is in the final stage of publishing. Until it is on the public registry,
step 2 requires access from Cloak — ask us for preview access.
For a fully self-serve start today, use the
KMS developer quickstart.
This quickstart uses software keys — the sandbox path. Files are encrypted on your machine; no HSM, no agent credential needed. The higher-assurance paths are linked at the end.
Sign up at the Cloak Files web app (free tier). Why the web app and not the terminal: signup provisions your cloak certificate — the identity your agent will encrypt files to. The MCP server deliberately never provisions identity; humans do.
Add the Cloak Files MCP server to your agent host config and restart the host:
{
"mcpServers": {
"cloakFiles": {
"command": "npx",
"args": ["-y", "@cloakapps/cloak-encrypt-mcp"]
}
}
}
Then cache your session in a terminal (prompts for your password without echoing it):
npx -y @cloakapps/cloak-encrypt-mcp login --user you@example.com
encrypt_file, decrypt_file,
cloak_file, uncloak_file.
login is always safe — it refreshes both your session and your cached certificate on every run.
Save something as sample-contract.txt, then paste into your agent:
Protect sample-contract.txt with Cloak for you@example.com
sample-contract.txt.clk
appears next to the source file, and the tool response includes a signed receipt (JWS).
Copy the receipt — you verify it in step 5.
.clk is shareable.
Switch to the web app, open the
.clk file, and see the decrypted content. This is the governed half of the
workflow: the same file, human access, no agent, no terminal. Recipients you addressed in step 3
can do the same from their own accounts; people without an account get an invite.
Paste the receipt from step 3 into the verify page. It proves the operation, actor, file reference, and timestamp were recorded and signed by the Cloak platform key — verifiable by anyone, offline, without calling Cloak.
Honest scope: in software-key mode the client asserts the operation and Cloak signs that assertion — the receipt proves the record, not the encryption itself. HSM-backed modes add server-witnessed key operations linked into the receipt.
ckag_ credential instead of a login session. Issued from a human account in the KMS console.One progression from sandbox to production to customer-controlled keys.
See plans →