Permet aux agents IA d'envoyer et de recevoir des fichiers, du texte et des médias de manière sécurisée entre un terminal et des appareils appairés via un chiffrement de bout en bout.
Aussi connu sous paironce/cli, cli
- Étoiles
- 0
- Outils
- —
- Téléchargements, 30 jours
- —
- Dernière version
- 0.11.4
- Dernier commit
- 7 nov. 2026
- Licence
- Apache-2.0
Qu'est-ce que PairOnce MCP ?
PairOnce est un serveur MCP. Permet aux agents IA d'envoyer et de recevoir des fichiers, du texte et des médias de manière sécurisée entre un terminal et des appareils appairés via un chiffrement de bout en bout.
Résumé généré à partir du README du projet
À propos du MCP server PairOnce
PairOnce offre un moyen sécurisé pour les agents IA d'échanger des fichiers, du texte et des médias avec vos appareils personnels. En lançant le serveur via la commande npx paironce mcp, un agent peut interagir avec n'importe quel appareil disposant d'un navigateur web, comme un iPhone, un appareil Android ou un ordinateur de bureau. Cette configuration ne nécessite aucun compte et utilise le chiffrement de bout en bout pour protéger vos données. La connexion est établie via un code d'appairage à six chiffres que vous approuvez sur votre appareil mobile ou de bureau.
Les développeurs peuvent utiliser ce serveur pour combler le fossé entre un environnement terminal et le monde physique. L'agent peut envoyer des logs de build sur votre téléphone ou demander des éléments spécifiques, comme une photo d'une étiquette matérielle ou le scan d'un document. Il inclut des outils spécialisés pour l'assistance visuelle, permettant à l'agent de demander des images de la caméra ou de l'écran pour vous guider lors de tâches manuelles. Le serveur maintient une connexion pendant 30 minutes après le dernier appel d'outil afin de garantir des flux de travail fluides sans réapprobation manuelle constante.
Ce que vous pouvez faire avec
- 1Transférer des données de terminal vers un mobileVous pouvez ordonner à un agent IA d'envoyer un log de build ou un fichier spécifique directement sur votre smartphone.
- 2Capturer des informations du monde physiqueUn agent peut vous demander de prendre une photo d'un objet spécifique pour l'aider à accomplir une tâche.
- 3Recevoir des documents scannés dans un espace de travailVous pouvez demander à un agent d'attendre que vous téléchargiez des scans ou des photos depuis votre téléphone vers un dossier local.
- 4Guidage visuel étape par étapeL'agent peut demander des images fixes périodiques de votre caméra ou de votre écran pour vous assister dans des procédures complexes.
Extrait du README du projet. Chaque cas d'utilisation est vérifié par rapport à une citation du document.
Comment installer PairOnce MCP
Formats vérifiés le 10 nov. 2026Installer PairOnce MCP dans Claude Code
$ claude mcp add cli -- npx -y paironceInstaller PairOnce MCP dans Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"cli": {
"command": "npx",
"args": [
"-y",
"paironce"
]
}
}
}Installer PairOnce MCP dans VS Code
.vscode/mcp.json
{
"servers": {
"cli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"paironce"
]
}
}
}Installer PairOnce MCP dans Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"cli": {
"command": "npx",
"args": [
"-y",
"paironce"
]
}
}
}Installer PairOnce MCP dans Codex
~/.codex/config.toml
[mcp_servers.cli] command = "npx" args = ["-y", "paironce"]
Installer PairOnce MCP dans Gemini CLI
~/.gemini/settings.json
{
"mcpServers": {
"cli": {
"command": "npx",
"args": [
"-y",
"paironce"
]
}
}
}Configuration
PAIRONCE_NAME
| Nom | Description | Type |
|---|---|---|
| PAIRONCE_NAME | — |
Vérifications automatisées
Exécuté le 14 nov. 2026Rapport complet →A passé nos vérifications automatisées. Il ne s'agit pas d'un audit de sécurité : lisez le code et donnez au serveur l'accès le plus restreint dont il a besoin. Fonctionnement des vérifications
- Dépôt source lié et accessiblepaironce/cli is public and reachablegithub.com/paironce/cli ↗Réussi
- Le paquet cite ce dépôt comme sourcepaironce names paironce/cli as sourcenpmjs.com/package/paironce ↗Réussi
- Provenance du build (attestation Sigstore)Sigstore attestation for paironcenpmjs.com/package/paironce/v/0.11.4#provenance ↗Réussi
- Licence open source (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗Réussi
- Commit ou version publiée au cours de l'année écouléeLast commit or release 2026-11-07github.com/paironce/cli ↗Réussi
- OpenSSF ScorecardNon vérifié
- Nom du package non proche d'un package populaireNo popular package one edit away from paironceRéussi
- Aucun avis critique dans le paquet ni ses dépendances21 resolved dependencies checked; no critical advisoryosv.dev ↗Réussi
- Aucune instruction cachée destinée au modèle0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersRéussi
- Les outils destructifs sont étiquetésNon vérifié
- L'endpoint distant répond au handshake MCPNon vérifié
README
Voir sur GitHubpaironce
Send files and text from a terminal to your own phone or computer with PairOnce. Pair once with
a six-digit code; 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 phone
The 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 |
|---|---|
paironce pair |
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. |
paironce pair 123456 |
Joins with the code the other device shows, for a person at this terminal. |
paironce send <file>... |
Sends files to the paired device. With several paired devices, add --to "<name>". The other device accepts each file before it arrives. |
paironce text "<message>" |
Sends a message or a link. |
paironce receive |
Receives files into the current folder (--to <folder>). Asks before each file; --yes accepts every file during this run. Large files are written straight to disk, so they can be as large as the sender may send, and one cut off continues when it is sent again. |
paironce devices |
Lists paired devices. |
paironce forget <name> |
Forgets a paired device. |
paironce mcp |
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.
Use it from an AI agent (MCP)
paironce mcp gives an agent ten tools:
| Tool | What it does |
|---|---|
pair_device |
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. |
send_file, send_text |
Sends to a paired device; you accept every file there. |
receive_files |
Waits while you send files from your device (a photo of a whiteboard, a scan, a document) and saves them into ./inbox. |
request_photo, request_scan, request_file |
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 ./inbox. |
watch_frames, watch_stop |
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. |
list_devices |
Lists the paired devices. |
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 mcp
Other 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.
Questions sur PairOnce MCP
Comment ajouter PairOnce MCP à Claude Code ?
Exécutez claude mcp add cli -- npx -y paironce dans votre terminal. Ajoutez --scope user pour le rendre disponible dans tous les projets.
Comment ajouter PairOnce MCP à Cursor ?
Ouvrez ~/.cursor/mcp.json et ajoutez le serveur sous mcpServers, avec la configuration Cursor indiquée dans la section d'installation ci-dessus.
Comment appairer mon appareil avec un agent IA ?
L'agent fournit un code à six chiffres que vous saisissez sur paironce.com depuis votre appareil, puis vous approuvez le code de sécurité affiché sur les deux écrans.
Mes données sont-elles privées pendant le transfert ?
Oui, tous les fichiers et messages sont chiffrés de bout en bout, et la clé privée ne quitte jamais votre ordinateur.
L'agent doit-il rester connecté en permanence ?
Le MCP server reste connecté pendant 30 minutes après son dernier appel d'outil pour permettre des tâches ultérieures sans avoir à réappairer l'appareil.