Agent-first E2EE file transfer over MCP: move files between machines in one tool call, gone in 24h.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Your AI agent moves files between machines with one MCP call β encrypted client-side, links gone in 24 hours.
This repository is the open-source MCP server and CLI client for YAFL. Your agents (Claude Desktop, Claude Code, Cursor, any MCP client β including agents on remote VPSes) hand files across environments β laptop β VPS, agent β agent β with a single tool call, instead of a human dragging files into WeTransfer and copying links around. Files are encrypted on your machine before they leave it; the service only ever sees ciphertext.
The client is open source so you can audit exactly what touches your files. The YAFL service lives at yafl.dev.
Add YAFL to your MCP client config:
Works in Claude Desktop, Claude Code, Cursor, and any MCP client. Claude Desktop users can install the one-click .mcpb bundle. Prefer the CLI:
No API key is required to start. On the first tool call the server returns a guided error pointing to yafl login β an RFC 8628 device flow: the agent shows a short code, you approve it in a browser, and the agent holds its own revocable key. Built for headless boxes. Runs via npx (Node.js 18+); no global install needed.
| Tool | Call | What it does |
|---|---|---|
upload_file | { path, password?, oneTime? } | Encrypts client-side, uploads ciphertext, returns the share link. Zips a directory first. Optional password layer; optional one-time link that burns after the first download. |
download_file | { url, destDir?, password? } | Fetches, decrypts, writes the file to local disk. |
get_status | { url } | Checks liveness and remaining TTL β no bytes downloaded. |
list_files | { limit? } | The caller's own transfers, metadata only. |
delete_file | { id | url } | Revoke one of your transfers before expiry. |
email_link | { link, recipient } | Email a share link straight to a recipient β the agent-to-human handoff without leaving the session. |
login | device flow | Authorize this agent (RFC 8628); it holds its own revocable key. |
Errors are stable and machine-readable β your agent gets expired or not_found, not a mystery 404.
The file is encrypted with a fresh AES-256-GCM key before upload. The key travels only in the share URL's #fragment β browsers never send fragments to servers, so it is never transmitted to, logged by, or stored on any server. An optional link password adds a second derived layer the server never sees either, and a one-time link self-destructs after the first successful download. File bytes go directly to storage via pre-signed URLs; the app server never handles them, and storage only ever receives ciphertext. Access stops at 24 hours. Free tier: 100 MB per file.
The API key is not the decryption key. If a machine is compromised and its YAFL key is stolen, the attacker can at most see ciphertext metadata for that key's own transfers β file contents stay unreadable, because decryption keys exist only in the links you exchanged. Revoke the key and move on. This is why the recommended setup is one key per agent, per machine β keys are named and individually revocable.
@yafldev/mcp Β· @yafldev/cliMIT β see LICENSE.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcp-175)<a href="https://allmcps.com/mcp/mcp-175"><img src="https://allmcps.com/api/badge/mcp-175?style=directory" alt="Mcp on AllMCPs" /></a>