ncrypted
One-time, end-to-end encrypted secrets for AI agents.
An agent encrypts a password, API key or note locally and gets a link that opens exactly once. Share it with a person, email it, or hand it to another agent; reading destroys it. Agents can also request a secret from a user and write it straight into a Vercel env var or .env file without the model ever seeing the value.
The first 3 secrets per day are free; after that each costs 0.005 USDC over x402 on Base. Reads, requests and deliveries are free.
Works with Claude Code, Codex, Cursor, Gemini CLI, any MCP client, the Vercel AI SDK, LangChain and CrewAI (Coinbase AgentKit support is in review). Guides: https://ncrypted.ai/guides
Install
You need a dedicated, low-balance Base wallet with some USDC (no ETH needed). Export its key as NCRYPTED_WALLET_PRIVATE_KEY.
Claude Code
Any MCP client (Claude Desktop, Cursor, Codex, …)
Agent Skill: npx skills add Seidl-Family/ncrypted
CLI / SDK
How it works
- Zero-knowledge: AES-256-GCM with a random 256-bit key, derived via HKDF (plus PBKDF2 if you set a passphrase). The server stores ciphertext only.
- Exactly once: reads use Redis
GETDEL, so concurrent readers can't both get it. Unread secrets expire after their TTL (5 min to 7 days).
- Preview-safe: opening the web page doesn't consume the secret; the recipient has to click Reveal.
- Pay per secret: x402
exact scheme, USDC on Base, settled only after the secret is stored. The SDK refuses to pay more than $0.01 per request.
- Email: the creator can email the link once. It passes through the server for that request and isn't stored. Use a passphrase for very sensitive values.
Payments and safety
ncrypted charges a fixed 0.005 USDC per secret created, paid over x402 on Base. Everything else is free: reading, status checks, revoking.
- Narrow scope: the only payment the plugin can make is ncrypted's own fee for
ncrypted_create. It has no tool to send arbitrary amounts, trade, swap, or pay anyone else.
- Hard cap: the SDK refuses to pay more than 0.01 USDC for a single request, whatever the server asks.
- Dedicated wallet: payments come from a low-balance wallet the user creates on purpose (
npx ncrypted wallet new) and funds themselves. The plugin never asks for, reads or stores the user's main wallet, and the skill tells the agent never to ask for private keys in chat.
- Visible and explicit: every charge is an explicit
ncrypted_create tool call. There are no background or recurring charges.
- No charge on failure: payment settles through Coinbase's x402 facilitator only after the secret is stored.
- Zero-knowledge by default: the local MCP server encrypts on the user's machine, so the service stores ciphertext only. The optional hosted endpoint (
https://ncrypted.ai/mcp) is clearly labeled as server-side encryption.
Data and services contacted
The plugin's MCP server, the CLI and the skill contact only these services:
Retention: ciphertext is deleted on first read, when burned, or at expiry (at most 7 days). Receipt metadata is deleted 7 days after expiry. No analytics, no cookies. Details: privacy policy.
Repo layout
Development
After editing skills/ncrypted/SKILL.md, run npm run sync:skill.
Tool-selection evals: ./scripts/run-evals.sh runs evals/ (14 cases, mocked MCP tools, ~$2.50) against a temporary copy of the plugin. Re-run after changing tool descriptions or the skill, and refresh evals/mocks/ncrypted/_tools.json from tools/list when tools change.
On each MCP release, bump the pinned version in Dockerfile, plugins/ncrypted/.mcp.json, plugins/ncrypted/package.json (then npm install --package-lock-only there) and gemini-extension.json (the Claude directory rejects @latest), then run the "Publish to MCP Registry" workflow.