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
Privacy-First — No Cloud
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

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, rename, copy, and delete files
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. Your code never leaves your machine.

MobileCLI is a Rust binary that runs on your machine. It connects directly to your phone over your local network or Tailscale. No cloud relay, no account, no data leaves your devices.

  • Rust daemon runs locally — no cloud 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 is fully self-hosted. The daemon runs on your machine and connects directly to your phone over your local network or Tailscale. No cloud relay, no third-party servers, no account required.

How does MobileCLI connect to my phone?

MobileCLI connects via WebSocket over your local network. For remote access outside your home, use Tailscale — a free mesh VPN that creates a secure connection between your devices.

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, and MobileCLI will connect seamlessly over a secure WireGuard mesh — no port forwarding or cloud relay needed.

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 (e.g., a tool call in Claude Code), MobileCLI sends an Apple Push Notification to your phone. You can then open the app and approve or reject directly. Notifications use APNs and require no third-party service.

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?

Yes. MobileCLI is fully self-hosted — no data leaves your devices. The daemon runs locally and connects to your phone over your local network or Tailscale (WireGuard encrypted). There is no cloud relay, no account, and the source code is open for audit.

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.