
Yafl
dev.yaflPublished by yafl.devv0.1.6Updated Oct 24, 2026
Agent-first E2EE file transfer over MCP: move files between machines in one tool call, gone in 24h.
Overview
YAFL is a local MCP server that lets an assistant upload, download, check, list, delete and email end-to-end encrypted file transfers that expire after 24 hours
- What you can do
- Upload files or directories, encrypted client-side, with optional password and one-time links, returning a share link and zipping directories first. Download and decrypt a transfer from a link to a local directory. Check a link's liveness and remaining time-to-live without downloading bytes. List your own transfers (metadata only) and revoke one before expiry. Email a share link to a recipient from within the session. Authorize the agent through a device-flow login that gives it its own revocable key.
- When to use it
- Useful when an assistant needs to hand files between machines or environments, such as laptop to VPS or agent to agent, without a person manually moving files or copying links. Also suited to headless boxes where a short-lived, encrypted share link is preferable to a permanent one.
- Requirements
- Runs locally via npx, requiring Node.js 18 or newer; no global install needed. An API key can be supplied through the YAFL_API_KEY environment variable, or omitted and replaced by a device-flow login approved in a browser. Network access to the YAFL service is required. Desktop MCP clients only.
Installation
In SourceWeft
- Open Yafl in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
YAFL — Yet Another File Layer (MCP server + CLI)
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.
Install
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.
Tools
Errors are stable and machine-readable — your agent gets expired or not_found, not a mystery 404.
How encryption works
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.
What happens if an agent's key leaks
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.
Links
- Website: https://yafl.dev
- MCP guide: https://yafl.dev/mcp
- Security / threat model: https://yafl.dev/security
- npm:
@yafldev/mcp·@yafldev/cli
License
MIT — see LICENSE.
Source: README.md at commit fdd803f
Tools
0Version history
1- v0.1.6LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts