# Connect Pi

## Quick start

Use ezremote's native Pi extension. From a checkout of this repository:

```sh
npm run build:backend
pi -e ./dist/pi-extension.mjs
```

In Pi run `/ezremote setup https://tunnel.masti.lol`. It requests temporary access, polls and stores the activated token privately. Native Pi remote MCP OAuth support was not established from the referenced README; the extension is the supported repository path. Set `device` on remote read, write, edit and bash calls.

## Starter prompt

> Set up ezremote for this agent using https://tunnel.masti.lol/skill.md. Run the setup steps you can perform yourself. Ask me to sign in when needed and give me the connection approval link. Wait for my computer to be online before working on it.

Continue with [local approval](approve-on-your-computer.md). For connection errors, follow [troubleshooting](troubleshooting.md).

## Verified source

[Official Pi documentation](https://github.com/badlogic/pi-mono/tree/main/packages/coding-agent), checked 2026-11-01. Documentation support is distinct from a live acceptance test. No real client account or computer was exercised for this guide.
