Skip to content
iOS App Available

Your AI agents.
Your phone.

Stream Claude Code, Gemini CLI, and Codex to your phone. Approve tool calls, monitor progress — from anywhere.

mobilecli
$ mobilecli
▶ Starting daemon on port 9847...
Local IP: 192.168.0.12
Scan to connect from mobile:
Or connect to: ws://192.168.0.12:9847
Phone paired successfully
📱 Connected! Session 'claude' is now visible on your phone
MobileCLI connected
> path/to/project +
api-server claude
~/api-server
frontend-app claude
~/frontend-app
docs-update gemini
~/docs-update
Open Source on GitHub
Built with Rust
Local Daemon — No Terminal Relay
Works with Claude Code Gemini CLI Codex OpenCode

Set up in 30 seconds

Install the daemon, pair your phone, start streaming.

Step 1

Install

curl -fsSL ... | bash

macOS/Linux; Windows uses Releases or Cargo

Step 2

Pair

mobilecli setup → scan QR

Step 3

Stream

mobilecli claude → phone

Auto-detected CLIs

Claude Code Codex Gemini CLI OpenCode
Terminal Streaming

Monitor AI coding sessions from your phone

The CLI daemon captures PTY output from your AI coding sessions and streams it to your phone in real time over WebSocket. Full ANSI color support with automatic reconnection.

  • Real-time PTY streaming via WebSocket
  • Auto-reconnect on flaky mobile connections
  • Works on local network or Tailscale
mobilecli
$ mobilecli
▶ Starting daemon on port 9847...
Local IP: 192.168.0.12
Scan to connect from mobile:
Or connect to: ws://192.168.0.12:9847
Phone paired successfully
📱 Connected! Session 'claude' is now visible on your phone
claude
$ claude
Tool approval required
1. Yes
2. Yes, always
3. No
1
2
3
Esc
You're in Control

Approve tool calls from anywhere

When your CLI needs approval, MobileCLI shows numbered options and an Esc key so your response matches the prompt exactly.

  • Numbered buttons mirror CLI approval prompts
  • Esc button to interrupt from your phone
  • Push notifications when approval is needed
File System Pro

Browse, edit, and search files from your phone

Full file system access with syntax highlighting, breadcrumb navigation, and instant search across your projects.

  • Browse projects, dotfiles, and configs
  • Edit code with syntax highlighting for 10+ languages
  • Create and copy files; rename/delete with explicit daemon opt-in
Learn More $20/year · 3-day free trial
~/my-project/src
components/
index.ts 2.4 KB
auth.ts 1.8 KB
config.json 892 B
Privacy-First

Self-hosted terminal streaming without a MobileCLI relay.

MobileCLI is a Rust binary that runs on your machine. It serves your terminal stream to your phone over your local network, Tailscale, or a protected endpoint you control. Push notifications currently use Expo and carry notification metadata only.

  • Rust daemon runs locally — no MobileCLI terminal relay
  • No account required — just install and pair
  • Open source for full transparency

How MobileCLI works

A lightweight Rust daemon on your machine, connected to your phone via WebSocket.

CLI Daemon

:9847

Rust binary on your machine

WebSocket

Mobile App

iOS / Android

Stream, approve, monitor

spawns

PTY → AI CLI Process
Push Notifications

Frequently asked questions

Everything you need to know about MobileCLI.

What is MobileCLI?

MobileCLI is a self-hosted Rust daemon that streams AI coding agent sessions (Claude Code, Gemini CLI, Codex, OpenCode) to your phone. It lets you monitor terminal output, approve tool calls, and browse files — all from your mobile device.

Is MobileCLI free?

Yes. The CLI daemon is open source and core features — terminal streaming, approvals, push notifications, and session management — are free forever. Pro adds file system access for $20/year or $30 lifetime.

Does MobileCLI work with Claude Code?

Yes. MobileCLI auto-detects Claude Code sessions and streams them to your phone. It also works with Gemini CLI, Codex, and OpenCode.

Is my code stored in the cloud?

No. MobileCLI does not store your terminal stream or code on MobileCLI servers. The daemon runs on your machine and the app connects over your configured network path. Push notifications currently use Expo and include notification metadata, not the full terminal stream.

How does MobileCLI connect to my phone?

MobileCLI connects via WebSocket over your local network or another protected network path. The mobile app pairs with an auth-v2 QR credential before sessions or terminal data are available. For remote access outside your home, use Tailscale so the daemon remains private to your Tailnet.

What platforms does MobileCLI support?

The CLI daemon runs on macOS (Apple Silicon and Intel), Linux, and Windows. The mobile app is available for iOS on the App Store, with Android coming soon.

Can I use MobileCLI with Tailscale?

Yes. Tailscale is the recommended way to access MobileCLI outside your local network. Install Tailscale on your server and phone, then pair using the Tailscale address so you do not expose the daemon publicly.

Does MobileCLI work on Android?

Not yet. MobileCLI is currently available on iOS on the App Store. Android support is on the roadmap and coming soon. The CLI daemon already runs on Linux, macOS, and Windows.

How do push notifications work in MobileCLI?

When your AI coding agent needs approval, the daemon sends a notification request through Expo’s push service for the current iOS app. The notification carries title/body metadata and a session id; the terminal stream remains on the WebSocket path.

Can I run multiple AI agents with MobileCLI?

Yes. MobileCLI supports multiple concurrent sessions. Each AI agent session (Claude Code, Gemini CLI, Codex, etc.) appears as a separate session in the app, and you can switch between them freely.

Is MobileCLI secure?

MobileCLI is designed for local control: the daemon is open source, terminal streaming does not use a MobileCLI relay, and no account is required. Mobile clients pair with auth-v2 credentials and must authenticate before sessions or terminal data are available. Keep the daemon on a trusted LAN, Tailnet, or protected endpoint.

How is MobileCLI different from SSH?

SSH gives you a raw terminal on your phone, which is hard to use on a small screen. MobileCLI is purpose-built for AI coding agents: it shows structured approval prompts, push notifications, file browsing, and a native mobile UI optimized for monitoring and approvals.

Does MobileCLI work with OpenCode?

Yes. MobileCLI auto-detects OpenCode sessions alongside Claude Code, Gemini CLI, and Codex. Any terminal-based AI coding agent that uses PTY is supported.

Can I approve Claude Code tool calls from my phone?

Yes — that is one of MobileCLI’s core features. When Claude Code requests tool approval, MobileCLI sends a push notification and shows numbered approval buttons that map directly to the CLI prompt options (Yes, Yes always, No, Esc).

Install in 30 seconds.
Start streaming.

One curl command. No account needed.

Terminal
$ curl -fsSL https://mobilecli.app/install.sh | bash

See how MobileCLI compares to SSH + tmux and other mobile clients.