Skip to main content
Glama
README.md
<img src="https://tondavo.com/apple-touch-icon.png" width="56" height="56" alt="Tondavo">

# Tondavo

Let your AI coding agent see and use your real phone.

Run one command next to your dev server. Your phone opens your localhost app over HTTPS from a QR code, with nothing to install on the phone. Your agent then reads the phone's errors, sees its screen, taps and types, and checks its own fix on the phone.

```bash
npx tondavo          # finds your dev server on the usual ports
npx tondavo 5173     # or name the port
```

Point your phone's camera at the QR code. Your app opens at `https://dev.tondavo.com`, a real secure context, so the camera, microphone and WebCrypto work. Only the phone you paired can open it. The phone can be on mobile data.

Needs Node.js 22 or later. Tested on macOS with iPhone Safari and Claude Code.

## Give your agent the phone

```bash
claude mcp add tondavo -- npx tondavo mcp
```

Start Claude Code in the folder where `tondavo` runs (or set `TONDAVO_DIR`). The agent gets these tools: `status`, `logs`, `screen`, `screenshot`, `eval`, `tap`, `type`, `swipe`, `reload`, `wait_for`.

Every tool is also a command, for any agent or for you:

```bash
npx tondavo logs            # errors, failed fetches, dead taps, layout overflow, console
npx tondavo screen          # what's on the phone's screen, as text
npx tondavo shot            # screenshot into .tondavo/shots/
npx tondavo tap "#submit"   # tap like a finger
npx tondavo eval "document.title"
npx tondavo --help          # everything else
```

## What it does to your app

On the way through your computer, Tondavo adds one script tag to HTML pages and drops their Content-Security-Policy header so the script can run. Your files don't change. Saving a file reloads the phone (`--no-watch` turns that off).

## Free

No account. One phone per session, paired within 10 minutes of starting (press `c` to reopen pairing, or `--new` for a fresh session), sessions up to 8 hours, and up to 20 new sessions per hour per network.

## Limits

- iOS opens the keyboard, answers permission prompts and starts sound only for a real finger.
- iOS freezes background tabs and locked phones; the agent is told why it gets no answer.
- Traffic passes through Tondavo's Cloudflare edge: encrypted in transit, not end to end, not stored.
- For websites and web apps, not native iOS or Android apps.

## Docs

[tondavo.com/docs](https://tondavo.com/docs/): getting started, connecting your agent, the CLI and MCP references, security and troubleshooting.

## Development

```bash
node test/bridge.test.js    # the local bridge (no browser needed)
node test/e2e.test.js       # end to end with headless Chrome (needs Google Chrome installed)
node lab/server.js 8123     # a test page for every capability; then tondavo 8123 and node lab/run.js
node demo/agent-run.js      # headless Claude Code fixes a phone-only bug on its own (needs the claude CLI)
```

The CLI talks to a hosted edge at dev.tondavo.com, which isn't in this repository. `--lan` works without it.

Made by [rozetyp](https://github.com/rozetyp). Bugs and questions: [issues](https://github.com/rozetyp/tondavo/issues) or hello@tondavo.com. Security reports: see [SECURITY.md](SECURITY.md).