Getting started
This page takes you from nothing to your local app open on your phone, with your coding agent able to see it. It assumes you have a web app that runs on your computer (a dev server such as Vite or Next.js) and not much terminal experience. If you already know your way around a terminal, the short version is: run npx tondavo in your project folder, scan the QR code, then run claude mcp add tondavo -- npx tondavo mcp.
What you need
- A computer with Node.js 22 or later. Tondavo is tested on macOS. Windows and Linux are untested.
- A phone. Tested on iPhone with Safari. Android Chrome is untested on a real device.
- Your app running on your computer, for example after
npm run dev. Tondavo shows the phone whatever runs atlocalhoston your computer. - An internet connection on both. The phone and the computer don't need to be on the same Wi-Fi.
You don't need an account. There is no app on the phone, no cable, and no Mac needed for the phone.
Check your Node.js version
Open a terminal and run:
node -v
It prints a version such as:
v22.11.0
The first number must be 22 or higher. If it is lower, or the terminal says command not found, install the current LTS version from nodejs.org, then open a new terminal window and check again. Installing Node.js also installs npx, which runs Tondavo without a separate install step.
Where to type the commands
A terminal is the window where you type commands. On a Mac it is the Terminal app (in Applications, then Utilities). Editors such as VS Code and Cursor have one built in: open it from the View menu, then Terminal.
Your dev server is probably already running in a terminal tab, printing something like Local: http://localhost:5173/. Leave it running. Tondavo needs a tab of its own next to it:
- In the Mac Terminal app, press Cmd+T for a new tab.
- In VS Code or Cursor, click + in the terminal panel.
The new tab must be in your project folder, the one that holds your package.json. Run pwd to see which folder you are in, and cd to move:
pwd
cd ~/projects/my-app
If you use Claude Code, don't run Tondavo from inside Claude Code's prompt. Tondavo keeps running until you stop it, and you need to see its QR code. Give it its own tab.
Run Tondavo
In the new tab, in your project folder, run:
npx tondavo
The first time, npx may ask Ok to proceed? (y). Press y and Enter.
Tondavo looks for your dev server on common ports (5173, 3000, 5174, 4321, 8080, 8000, 8888 and 4000, in that order) and uses the first one that answers. If it finds more than one, it names the others. If your app uses a different port, give it explicitly, for example npx tondavo 4200.
The output looks like this. A large QR code prints in the blank line after Agent probe:
tondavo → proxying localhost:5173 (online)
Phone URL: https://dev.tondavo.com (private to your paired phone)
Agent log: .tondavo/live.jsonl
Agent probe: npx tondavo eval "document.title" | npx tondavo dom "button"
Point your phone's camera at the QR code.
Pairing is open for 10 min (free: one phone per session; --new for another). Keys: [c] reopen pairing · [r] reload phone · [q] quit
✓ HTTPS edge live: https://dev.tondavo.com (only your paired phone can open it)
What to check:
localhost:5173 (online)is your app's port. If it says(waiting for server…), your dev server isn't running on that port. See Troubleshooting.✓ HTTPS edge livemeans Tondavo is connected to the edge (Tondavo's server at dev.tondavo.com), and the phone can now reach your app.
If the QR code is cut off, make the terminal window taller or zoom out (Cmd+minus on a Mac).
Tondavo creates a .tondavo folder in your project for its logs, screenshots and session. It holds the secret for your pairing link, so add .tondavo/ to your .gitignore.
Open it on your phone
- Open the phone's Camera app and point it at the QR code in the terminal.
- Tap the
dev.tondavo.comlink that appears. - Safari opens, shows "Opening…" for a moment, then shows your app.
The address bar shows dev.tondavo.com, not localhost. The page is your app, served from your computer over HTTPS, so the camera, microphone and other features that need a secure page work. Pages travel through dev.tondavo.com on their way to the phone; the privacy page says what is kept.
In the Tondavo tab on your computer, a line like this appears:
14:02:31 ● Phone connected (390×844, secure=true, standalone=false)
From now on, that tab also lists what happens on the phone: errors, taps, page changes. When you save a file in your project, the phone reloads.
Pairing is open for 10 minutes. Press c to open it again, then scan the QR code again. To pair a different phone, stop Tondavo and start it with npx tondavo --new. The free tier's limits are on Pricing.
Keep the page open and the phone unlocked while your agent works. iOS freezes background tabs and a locked phone drops the connection. The page reconnects by itself when you come back to it.
Connect your agent
Your coding agent reaches the phone through MCP (the way Claude Code and other agents get new tools). In Claude Code, run this once in your project folder, in a terminal tab (not inside Claude Code's prompt):
claude mcp add tondavo -- npx tondavo mcp
Then restart Claude Code. Connect your agent explains this step by step, has a prompt you can paste into Claude Code to have it do the setup, and covers Cursor and agents without MCP.
The first thing to ask your agent
Check that the agent can see the phone:
Is my phone connected through tondavo? Look at its screen and tell me what you see.
The agent should name your phone and describe the page. Then give it a real task, described the way you see it:
The signup form is broken on my phone. Check the phone's logs and screen, find the cause, fix it, and confirm on the phone that it works.
Some things on iOS need your finger: opening the keyboard, answering camera, microphone and location prompts, and starting sound. The agent can tap everything else. Its tools tell it about these limits, so it can ask you to tap.
Stop Tondavo
Press q or Ctrl+C in the Tondavo tab. The phone can no longer reach your app, and your app keeps running on your computer.
If you start npx tondavo again in the same folder while the session lasts (see Pricing), the phone reconnects on its own. You don't need to scan again.
Next steps
- Troubleshooting: what each message on the phone or from the agent means.
- CLI reference: every command, flag and key.
- MCP tools: what the agent can do on the phone.
- Connect your agent: Cursor, agents without MCP, and a setup prompt.