PairOnce
OfficialLets an AI agent pair with an Android device through PairOnce to send files and text, receive files, request photos/scans/files, and watch camera or screen frames with user approval.
Allows a Linux computer with paironce.com open to act as a paired target device for exchanging files and text with the MCP server through PairOnce.
Allows a macOS computer with paironce.com open to act as a paired target device for exchanging files and text with the MCP server through PairOnce.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
paironce
Your AI agent can send files to your phone with PairOnce, and ask the phone for a photo, a scan or
a file. You approve every one there, and the phone marks the agent as Agent. The same package works from a terminal:
pair once with a six-digit code, and after that npx paironce send report.pdf puts the file on your phone. End-to-end
encrypted, direct between the devices whenever the network allows, and through an encrypted relay when it does not. No
account.
npx paironce pair # shows a code: type it at paironce.com on your phone
npx paironce send build.zip # sends to the paired device
npx paironce text "https://example.com/some/long/link"
npx paironce receive --to ./inbox # receives files sent from the phoneThe other device is any browser with https://paironce.com open: iPhone, Android, Windows, Mac or Linux. Nothing to install there.
Commands
Command | What it does |
| Shows a six-digit code. On the other device, open paironce.com, choose Enter a code and type it. Both screens show the same safety code; approve the device in the terminal. |
| Joins with the code the other device shows, for a person at this terminal. |
| Sends files to the paired device. With several paired devices, add |
| Sends a message or a link. |
| Receives files into the current folder ( |
| Lists paired devices. |
| Forgets a paired device. |
| Runs as an MCP server for AI agents. |
--name "<name>" (or the PAIRONCE_NAME variable) sets what the other device shows for this one, for example
--name "Build server". The key stays the same, so paired devices still know it. --agent marks this device as an AI
agent on the other device (the MCP server always does). The MCP server stays connected for 30 minutes after its last tool call, so the next task needs no tap on your device; you see it as connected and can end it there. The MCP tools save inside the folder the server runs in (inbox by default). --ephemeral uses a throwaway identity in a temporary folder,
which the other device forgets after a day without a connection: right for a sandbox that is thrown away.
When a paired device is not connected, the command asks it to connect: PairOnce on that device shows "Windows · Terminal wants to reconnect" with a Connect button.
Related MCP server: Covalent Bond
Use it from an AI agent (MCP)
paironce mcp gives an agent twelve tools:
Tool | What it does |
| Pairs one of your devices. The agent gives you a six-digit code; you open paironce.com on that device, choose Enter a code and type it. The agent then tells you a safety code, and goes on only after you say your device shows the same. Once per device. |
| Sends to a paired device; you accept every file there. |
| Waits while you send files from your device (a photo of a whiteboard, a scan, a document) and saves them into |
| Asks for something specific, with the reason. Your device shows the request; you take the photo, scan the pages or choose the file there, or decline. Saved into |
| Asks to see your camera or screen, with the reason. You share it on your device, or decline; the agent then gets a still picture each time it asks (at most two a second) and can guide you step by step. Your device shows the share and a stop button; it ends when either side stops it. |
| Lists the paired devices, each with its id; pass the id as |
| Answer at once, even while another call waits: what is waiting now (for example your answer to a photo request) and for how long, and stop it. A request on your device is withdrawn, and the next call can start. |
Every tool also returns its result as fields (structuredContent), such as status (declined, no_answer, arriving,
saved, delivered…), files, retry and next. When the agent's app cancels a call (for example when you press Esc),
the request on your device is withdrawn and the next call starts.
The agent reaches only devices you paired and approved, and nothing arrives anywhere unasked. Your device marks it Agent when it asks to be approved and in your saved devices. Design and plans: Agent as a Device.
send_file does not send hidden files and folders (such as .env or .ssh), Windows's AppData, a Mac's Library or this
device's own PairOnce files; you can still send those yourself with paironce send. A file that arrives after receive_files
or a request stopped waiting is saved in the folder it was accepted for, and the next receive_files reports it. Changes in
each version are in the releases.
Claude Code:
claude mcp add paironce -e PAIRONCE_NAME="Claude Code · Agent" -- npx -y paironce mcp
# in a throwaway sandbox: ... -- npx -y paironce mcp --ephemeral
# on Windows, through cmd: claude mcp add paironce -- cmd /c npx -y paironce mcpOther clients (Cursor, Claude Desktop and others), in their MCP configuration:
{ "mcpServers": { "paironce": { "command": "npx", "args": ["-y", "paironce", "mcp"], "env": { "PAIRONCE_NAME": "Cursor · Agent" } } } }Then ask: "pair with my phone", "send the build log to my phone", or let the agent ask you: "I need a photo of the label on the back of the router".
How it works
The CLI runs the same connection code as paironce.com: the PairOnce protocol and @paironce/core for pairing and encryption, with WebRTC from node-datachannel for direct connections and @roamhq/wrtc (libwebrtc) for the relay. Files and messages are encrypted on this computer and decrypted on the other device; the PairOnce service only introduces the two devices and, when needed, relays encrypted bytes it cannot read.
This computer's device key and the list of paired devices are kept in ~/.paironce (or $PAIRONCE_HOME), readable only
by you. The private key never leaves this computer.
It connects directly whenever the networks allow it, otherwise through the encrypted relay over UDP, TCP or TLS on port
443, and where even that is blocked, through the PairOnce tunnel: the same encrypted data over a secure WebSocket to
paironce.com. So it works on servers, in containers that block UDP, and behind a web proxy (HTTPS_PROXY is used
automatically). In a cloud sandbox with an allow-list, such as Claude Code on the web, add paironce.com to the allowed
domains. PAIRONCE_DEBUG=1 shows each step of connecting.
Requires Node.js 22 or later on Windows, macOS (x64 and arm64) or Linux (x64 and arm64).
License
Apache-2.0. PairOnce is a trademark of its owner; see https://paironce.com.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect AI assistants to explicitly paired computers, servers, and VMs for permitted remote actions.
- DNS-DATA RemoteDeprecatedcom.dns-data
Connect AI assistants to authorized Windows and macOS devices for files, commands, and management.
Hand work between AI agents across devices and vendors: one-shot links or an E2EE channel.
Reach your own computers from any AI app: files, commands, screen and mouse, approvals and alerts.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to send and receive files securely via JustDrop, with end-to-end encryption, QR codes, and no server-side storage.4113 npmMIT
- AlicenseAqualityDmaintenanceAllows two AI coding agents on different machines to securely pair and share files, context, and conventions through an end-to-end encrypted peer-to-peer channel with human-in-the-loop consent.949 npmMIT
- AlicenseAqualityBmaintenanceLets your AI agent talk directly to another person's agent on a different machine. One pairing code connects them through an end-to-end encrypted relay (hosted or self-hosted), with no public IP needed; it also sends files and invites saved contacts by name.146Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables an AI agent to build a local encrypted dating profile, issue signed matchmaking cards, exchange them peer-to-peer, and compare profiles locally to produce a five-tier compatibility report while keeping data on the user's device.Apache 2.0