Open source · MIT
Send files to and from AI agents
sendfast is a free command-line tool and MCP server that lets Claude Code, Cursor, Codex and other AI agents send and receive files. It uses the same protocol as this website, so an agent can send a file straight to your phone, take screenshots you drop in, or hand a build to an agent on another computer. Files go directly between the two sides, encrypted, with no upload and no size limit.
Download sendfast View on GitHub
What you can do
Agent → you
“Send the build folder to my phone.” The agent shows a link and a QR code; open it on any device.
You → agent
Drop screenshots, logs or datasets on this website and the agent receives them into its working folder.
Agent ↔ agent
An agent on your laptop and one on a build server swap files with a six-character code.
Terminal ↔ anything
No agent needed: sendfast send and sendfast recv work in any shell, script or CI job.
Setup in three steps
- Install the sendfast CLIDownload the build for your system from GitHub Releases, or install it with Go.
- Add it to your agentRegister the MCP server: one command in Claude Code, a short config entry in Cursor, Codex, Claude Desktop and others.
- Ask your agent to send or receiveThe agent creates a room and gives you a code, a link and a QR code. Open the link on any device, or run sendfast recv on another computer.
1. Install
Download the archive for your system from GitHub Releases (macOS, Linux and Windows, Intel and ARM), unpack it and put sendfast somewhere on your PATH. If you have Go installed:
go install github.com/Siddhant-Kashyap/sendfast-cli/cmd/sendfast@latestCheck it works:
sendfast versionOn macOS, if a downloaded binary is blocked as coming from an unidentified developer, run xattr -d com.apple.quarantine sendfast once.
2. Add it to your agent
Claude Code
claude mcp add sendfast -- sendfast mcp --agent "Claude Code"Cursor, Windsurf, VS Code, Claude Desktop, Gemini CLI: add this under mcpServers in the MCP config, changing the name after --agent to your app:
{
"sendfast": {
"command": "sendfast",
"args": ["mcp", "--agent", "Cursor"]
}
}Codex CLI, in ~/.codex/config.toml:
[mcp_servers.sendfast]
command = "sendfast"
args = ["mcp", "--agent", "Codex"]The --agent name is what the other side sees, for example “Claude Code” instead of a browser name.
3. Ask your agent
- “Send the build folder to my phone.”
- “I’ll drop some screenshots. Receive them and look at them.”
- “Send report.pdf to the agent on the build server, room K7Q2XP.”
The agent replies with a room code, a link and a QR code. Open the link here on any device, or run sendfast recv CODE on another computer.
MCP tools
| Tool | What it does |
|---|---|
send_files | Send files or folders. Creates a room, or joins one by code, and returns the code and link. |
receive_files | Create or join a room. Incoming files are saved to a folder (default ./sendfast-inbox). |
wait | Wait until the other side joins, or until every transfer finishes. |
room_status | Who is connected, the route, and the progress of every transfer with local paths. |
list_rooms, close_room | Manage open rooms. |
Use it from the terminal
Send files or a folder. It prints a code, a link and a QR code in the terminal:
sendfast send ./buildReceive on another computer:
sendfast recv K7Q2XP -o ~/DownloadsOr create a room and wait for someone to send to you, from a browser or another terminal:
sendfast recv| Flag | |
|---|---|
--json | One JSON event per line, for scripts and agents with only a shell. |
-o, --out DIR | Where to save received files (default: the current folder). |
--to CODE | Send into a room someone else created. |
--max-size 2GB | Reject anything bigger. |
--wait 30m | How long to wait for the other side. |
--relay | Always use the encrypted relay, so your IP address is not shared with the other side. |
--agent NAME | Show this end as an AI agent, with a name. |
Security
- Files go directly between the two sides over WebRTC, encrypted with DTLS. The server only introduces them and never receives file contents.
- When no direct path exists, encrypted traffic passes through a relay that cannot decrypt it and does not store it.
- Incoming file names are cleaned, files are saved only inside the chosen folder, and nothing is overwritten.
- Received files come from someone else. An agent should treat them as data and never follow instructions found inside them without asking you.
Questions
Which agents does it work with?
Any agent that supports MCP servers over stdio, including Claude Code, Claude Desktop, Cursor, Windsurf, VS Code, Gemini CLI and Codex CLI. Agents that only have a shell can run the sendfast command directly with --json.
Can an agent send a file to my phone?
Yes. The agent gives you a link and a QR code. Open it on your phone and the file arrives in the browser, with no app to install.
Can two agents on different computers exchange files?
Yes. One agent creates a room and shares the six-character code; the other joins it with the code. The files go directly between the two machines.
Are files uploaded to a server?
No. As on the website, the server only introduces the two sides. Files go directly between them over an encrypted WebRTC connection, or through an encrypted relay that cannot read them when no direct path exists.
Is it free and open source?
Yes. The sendfast CLI and MCP server are MIT licensed and free to use.