Skip to content
MCP server

yafl.dev

Encrypted file transfer for AI agents, moving files between machines over MCP

Runs locally

yafl.dev is an open-source MCP server for files and documents. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
API, CLI, Linux
Runs
Locally
What it can do
Can delete data (1 tool)
Version
0.1.10

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add mcp --env YAFL_API_KEY='<YAFL_API_KEY>' -- npx -y @yafldev/mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@yafldev/mcp"
      ],
      "env": {
        "YAFL_API_KEY": "<YAFL_API_KEY>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@yafldev/mcp"
      ],
      "env": {
        "YAFL_API_KEY": "<YAFL_API_KEY>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@yafldev/mcp"
      ],
      "env": {
        "YAFL_API_KEY": "<YAFL_API_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@yafldev/mcp"
      ],
      "env": {
        "YAFL_API_KEY": "<YAFL_API_KEY>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add mcp --env YAFL_API_KEY='<YAFL_API_KEY>' -- npx -y @yafldev/mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.mcp]
command = "npx"
args = ["-y", "@yafldev/mcp"]
env = { YAFL_API_KEY = "<YAFL_API_KEY>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@yafldev/mcp"
      ],
      "env": {
        "YAFL_API_KEY": "<YAFL_API_KEY>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@yafldev/mcp"
          ],
          "env": {
            "YAFL_API_KEY": "<YAFL_API_KEY>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e YAFL_API_KEY='<YAFL_API_KEY>' mcp npx -- -y @yafldev/mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@yafldev/mcp"
          ],
          "env": {
            "YAFL_API_KEY": "<YAFL_API_KEY>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@yafldev/mcp"
          ],
          "env": {
            "YAFL_API_KEY": "<YAFL_API_KEY>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@yafldev/mcp"
          ],
          "env": {
            "YAFL_API_KEY": "<YAFL_API_KEY>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@yafldev/mcp"
          ],
          "env": {
            "YAFL_API_KEY": "<YAFL_API_KEY>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@yafldev/mcp"
          ],
          "env": {
            "YAFL_API_KEY": "<YAFL_API_KEY>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@yafldev/mcp"
          ],
          "env": {
            "YAFL_API_KEY": "<YAFL_API_KEY>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@yafldev/mcp"
          ],
          "env": {
            "YAFL_API_KEY": "<YAFL_API_KEY>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • YAFL_API_KEYAPI key for authenticated transfers. Optional — omit and run `yafl login` (device flow) instead.

About yafl.dev

Sending a file from one machine to another usually means a person uploading it to a file-sharing site and pasting the link somewhere else. This server lets an AI agent do that handoff itself with a single tool call. The file is encrypted on the sending machine before it leaves, and the share link expires after 24 hours.

The decryption key lives only in the URL fragment, which browsers never send to a server, so the storage side only ever holds ciphertext. Links can optionally be protected with a password or set to burn on first download. The client is MIT-licensed and runs through npx, so its behaviour can be inspected before use.

It suits developers running agents on laptops, remote VPS boxes, or in Claude Desktop, Claude Code and Cursor who need files to move between environments or from an agent to a person. Authentication can use an API key or a device-code login from a headless machine.

Tools this server provides (9)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 9 tools deletes data and 1 changes data; 2 names don't say.

From the server's own tool labels and tool names; not verified by us.

upload_fileName suggests: changes
Encrypts a file or directory client-side, uploads it and returns a share link.
download_fileName suggests: reads
Fetches, decrypts and writes a shared file to local disk.
get_statusName suggests: reads
Checks whether a transfer is live and its remaining TTL.
list_filesName suggests: reads
Lists the caller's own transfers with metadata only.
delete_fileName suggests: deletes
Revokes one of the caller's transfers before it expires.
email_link
Emails a share link to a recipient.
login
Authorizes the agent via device flow and issues a revocable key.
list_skillsName suggests: reads
Lists bundled agent skill instructions.
get_skillName suggests: reads
Returns the full text of one bundled skill.

What it does

Client-side encryption
Files are encrypted with AES-256-GCM on the local machine before upload, and the key stays in the share link fragment.
One-call file sharing
The upload_file tool encrypts, uploads and returns a share link in a single agent action, zipping directories first.
Expiring and one-time links
Transfers stop being accessible after 24 hours, and links can be set to burn when the first download begins.
Optional password layer
A link can carry a password that is derived into a second encryption layer the server never sees.
Device-flow login
Headless agents can authorize with a short code approved in a browser and receive their own revocable key.
Revocable per-agent keys
Each machine or agent can hold a named key that can be revoked without affecting others.

Good for

  • Moving build artifacts or datasets from a laptop to a remote VPS running an agent
  • Passing files between two AI agents on different machines
  • Having an agent send a finished file to a person by email
  • Sharing a one-time encrypted download with a colleague

Pricing

Open source

Open-source MCP server and CLI under MIT; free tier with 100 MB per file limit on the hosted service.

yafl.dev FAQ

How long do transfers stay available?

Access stops 24 hours after upload.

Can the service read my files?

Files are encrypted on your machine before upload, and storage only receives ciphertext. The decryption key is carried in the link fragment and is not sent to the server.

What is the free tier limit?

The free tier allows 100 MB per file.

Do I need an API key to start?

No. On the first tool call the server points to yafl login, which uses a device flow to issue a key.

How do I add yafl.dev to Claude Code?

Run this command in your terminal: claude mcp add mcp --env YAFL_API_KEY='<YAFL_API_KEY>' -- npx -y @yafldev/mcp

What are the best alternatives to yafl.dev?

The closest alternatives to yafl.dev are Scholar Sidekick, Stashpad, loremfile, Excel-AI-ze and SSRS2.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers