Skip to main content
Glama

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

https://ncrypted.ai/s/{id}#{key}
                                    └─ decryption key, never sent to the server

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

/plugin marketplace add Seidl-Family/ncrypted
/plugin install ncrypted@ncrypted

Any MCP client (Claude Desktop, Cursor, Codex, …)

{ "mcpServers": { "ncrypted": { "command": "npx", "args": ["-y", "@seidl-family/ncrypted-mcp"], "env": { "NCRYPTED_WALLET_PRIVATE_KEY": "0x..." } } } }

Agent Skill: npx skills add Seidl-Family/ncrypted

CLI / SDK

echo "hunter2" | npx ncrypted create --ttl 1h [--email ops@example.com] [--passphrase X]
npx ncrypted read "https://ncrypted.ai/s/abc#key"
import { Ncrypted } from "ncrypted";
const nc = new Ncrypted(); // reads NCRYPTED_WALLET_PRIVATE_KEY
const { link, receiptToken, id } = await nc.create("hunter2", { ttl: 3600 });
const value = await nc.read(link); // free, destroys it

Related MCP server: volta-mcp-server

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:

Service

What is sent

When

ncrypted API (https://ncrypted.ai, Vercel + Upstash Redis)

Ciphertext, IV, salt, passphrase flag and TTL. Never the key, passphrase or plaintext.

Creating, reading, checking status of or burning a secret

Coinbase x402 facilitator / Base network

A signed USDC payment authorization (payer address, amount, payee)

Creating a secret (0.005 USDC)

Base public RPC (mainnet.base.org)

The payer wallet address

ncrypted_wallet / ncrypted wallet balance checks

Resend, via the ncrypted API

Recipient email address, the share link (which includes the key) and an optional note. Relayed once and not stored by ncrypted.

Only when the user asks to email a link

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

Path

What

apps/web

Next.js app on Vercel: API, viewer page, llms.txt, openapi.json

packages/sdk

ncrypted on npm: crypto, client, CLI

packages/mcp

@seidl-family/ncrypted-mcp on npm: stdio MCP server

skills/ncrypted

Agent Skill (SKILL.md)

plugins/ncrypted

Claude Code plugin; .claude-plugin/marketplace.json lists it

server.json

MCP Registry manifest (published by .github/workflows/mcp-registry.yml)

Development

npm install
npm test                       # crypto unit tests
cp apps/web/.env.example apps/web/.env.local   # set NCRYPTED_PAY_TO
npm run dev                    # in-memory store when Redis isn't configured
npm run build && npm run e2e   # needs .env.e2e with a funded Base Sepolia wallet

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.

Available Tools

10 tools
ncrypted_burnBurn one-time secretA
Destructive
Inspect

Permanently destroy an unread secret you created, so its link stops working (e.g. it was sent to the wrong place or is no longer needed). Irreversible. Returns { burned: true } if it was destroyed, or { burned: false, status } if there was nothing left to destroy because it was already read, burned or expired; if it was already read, the recipient has the value, so rotate the credential. Only works for secrets you created (needs their receiptToken). Free.

Inputs: id (required), receiptToken (required).

ncrypted_createCreate one-time secretAInspect

Encrypt a password, API key, or sensitive note locally and store it as a one-time secret. Returns a link that works exactly once, then self-destructs. The first 3 per day are free (TTL up to 24h, no email); after that each costs 0.005 USDC, paid automatically from the configured Base wallet via x402. Share the returned link with a human, email it (emailTo), or hand it to another agent, which reads it with ncrypted_read. Treat the link like the secret itself; never echo the secret value in chat. Returns { link, id, receiptToken, expiresAt }; keep id and receiptToken to check delivery (ncrypted_status) or revoke the link (ncrypted_burn). Use ncrypted_request instead when you need a secret FROM the user, and ncrypted_to_vercel_env / ncrypted_to_dotenv when a value from a link must be installed somewhere.

Inputs: secret (required), emailTo, emailNote, passphrase, +1 more.

ncrypted_readRead one-time secretA
Destructive
Inspect

Open an ncrypted link (https://.../s/{id}#{key}), decrypt it locally and return the secret. This destroys the secret: it can never be read again. Free. Use the value only for the task at hand and do not repeat it in chat. If the value just needs to end up in a Vercel env var or .env file, use ncrypted_to_vercel_env or ncrypted_to_dotenv instead so you never see it. To check whether someone opened a link you created, use ncrypted_status (it doesn't consume anything).

Inputs: link (required), passphrase.

ncrypted_requestAsk the user for a secretAInspect

When you need a password, API key or token from the user, call this instead of asking them to paste it into chat. Returns a link for the user; they paste the value on that page, where it's encrypted in their browser to a key that only exists on this machine. Give the user the link and END YOUR TURN so they can open it; once they say they've submitted it, call ncrypted_request_fulfill to deliver it (e.g. to a Vercel env var) without ever seeing it. Free.

Inputs: label (required), ttl_minutes.

ncrypted_request_fulfillReceive a requested secretAInspect

After the user says they've submitted an ncrypted_request, collect and deliver the value. destination 'vercel_env' or 'dotenv' writes it without showing it to you (preferred). 'return' gives you the value; use it only when you must use it directly, and never repeat it. Returns status 'pending' if the user hasn't answered within wait_seconds; call again later.

Inputs: id (required), destination (required), cwd, key, +5 more.

ncrypted_statusCheck one-time secret statusA
Read-only
Inspect

Check whether a secret you created has been opened yet, without consuming it. Returns { status, expiresAt, readAt? } where status is pending (not opened), read, burned or expired. Use it to confirm delivery, or before deciding to ncrypted_burn a link. Only works for secrets you created (needs their receiptToken); to open a link, use ncrypted_read. Free.

Inputs: id (required), receiptToken (required).

ncrypted_to_dotenvSave one-time secret to a .env fileB
Destructive
Inspect

Open an ncrypted link and write its value into a local .env file (KEY=value, file mode 600) without showing it to you. Warns if the file isn't git-ignored.

Inputs: key (required), link (required), path, passphrase.

ncrypted_to_vercel_envSave one-time secret to a Vercel env varA
Destructive
Inspect

Open an ncrypted link and write its value straight into a Vercel project environment variable (type sensitive), so the value never appears in this conversation. Uses the user's vercel login session or VERCEL_TOKEN. Checks Vercel access before consuming the link. Prefer this over reading a secret and running vercel env add.

Inputs: key (required), link (required), cwd, team, +3 more.

ncrypted_walletShow payer walletA
Read-only
Inspect

Show today's remaining free secrets, plus the address and USDC balance (Base) of the wallet that pays for more. Free.

Inputs: no named parameters.

ncrypted_wallet_setupSet up a payer walletAInspect

Create the local wallet that pays for secrets beyond the free tier (0.005 USDC each on Base), if none exists, and get a funding link for its owner. Funding needs only the address; send the user fundUrl and ask them to send a little USDC on Base (1 USDC = 200 secrets). The private key stays in a local file and is never shown to you. Set backup_to_owner only if the user wants a copy of the key: it's placed in a one-time link for them.

Inputs: amount_usdc, backup_to_owner.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 10 tools

    Disambiguation5/5

    Each tool has a very clear and distinct purpose, even when functions overlap (e.g., reading a secret vs. storing it in an environment variable). The descriptions clearly delineate the use case for every function.

    Naming Consistency5/5

    The naming convention is extremely consistent, following a clear snake_case pattern preceded by the 'ncrypted_' namespace. This predictability allows for immediate identification of tool function.

    Tool Count5/5

    With 10 tools, the set is perfectly scoped for its complex purpose of managing encrypted secrets. It avoids both bloat and critical functional gaps.

    Completeness5/5

    The tool surface provides comprehensive coverage of the secret lifecycle, including creation, reading, consumption (local/remote storage), status tracking, and billing setup. There are no obvious functional dead ends.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Self-hosted, zero-knowledge encrypted, self-destructing secrets for secure agent-to-agent coordination
      3
      AGPL 3.0
    • A
      license
      A
      quality
      D
      maintenance
      Create and read burn-after-read encrypted notes. AES-256-GCM E2E encryption with self-destructing URLs for secure credential handoff between users and AI agents.
      2
      82 npm
      1
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to create end-to-end encrypted, self-destructing notes that can be securely shared via a one-click link, ensuring secrets are never stored in plain text in chat history.
      1
      -