Skip to content
Ferry launches on Product Hunt on 14 October. Get notified

For AI agents

An agent can use Ferry too

An agent on your machine can hand you a file on your phone, ask you for one, or pass files to another agent. The files still go straight from one device to the other.

What an agent can do

MCP server

Add this to the MCP settings of your agent. The root is the one folder the server may read from and write to.

{
  "mcpServers": {
    "ferry": {
      "command": "npx",
      "args": ["-y", "ferry-send", "mcp", "--root", "/path/to/a/folder"]
    }
  }
}

The server has six tools:

JSON command line

An agent with a terminal and no MCP can use the command line. With --json it prints one event on each line and never asks a question.

npx -y ferry-send send report.pdf --json --timeout 900
{"event":"ready","link":"https://ferry.sholajegede.com/room/…#k=…","code":"482107", …}
{"event":"connected","device":"iPhone (Safari)", …}
{"event":"file_sent","name":"report.pdf","size":48211}
{"event":"done","ok":true,"reason":"complete","sent":1, …}
npx -y ferry-send receive --json --out ./incoming --max-size 500MB
npx -y ferry-send receive "<link>" --json --out ./incoming
npx -y ferry-send send build.zip --to "<link>" --json

Exit codes: 0 finished, 1 a file was not transferred, 2 wrong usage, 3 the time limit passed, 4 the transfer could not be opened or was ended, 130 stopped.

Rules that protect you

What an agent cannot do

Files for agents to read