# PairOnce MCP server

> Enables AI agents to securely send and receive files, text, and media between a terminal and paired devices via end-to-end encryption.

- Repository: https://github.com/paironce/cli
- Page: https://hostedmcp.org/servers/paironce/cli
- Transport: stdio
- Stars: 0
- License: Apache-2.0
- Latest version: 0.11.4

## Install

### Claude Code

```sh
claude mcp add cli -- npx -y paironce
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "cli": {
      "command": "npx",
      "args": [
        "-y",
        "paironce"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "cli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "paironce"
      ]
    }
  }
}
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "cli": {
      "command": "npx",
      "args": [
        "-y",
        "paironce"
      ]
    }
  }
}
```

### Codex (`~/.codex/config.toml`)

```toml
[mcp_servers.cli]
command = "npx"
args = ["-y", "paironce"]
```

### Gemini CLI (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "cli": {
      "command": "npx",
      "args": [
        "-y",
        "paironce"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `PAIRONCE_NAME` | no | no |  |

## FAQ

### How do I pair my device with an AI agent?

The agent provides a six-digit code which you enter at paironce.com on your device, then you approve the safety code shown on both screens.

### Is my data private during transfer?

Yes, all files and messages are end-to-end encrypted, and the private key never leaves your computer.

### Does the agent need to stay connected constantly?

The MCP server remains connected for 30 minutes after its last tool call to allow for subsequent tasks without re-pairing.
