Overview

Control your PATAPIM desktop from any phone, tablet, or browser via a built-in Express + WebSocket server on port 31415.

Authentication

MethodExpiryUse Case
Token1 yearPersistent device access
PIN5 minutesQuick temporary access
PassKey/WebAuthnPermanentBiometric auth

Connection Modes

  • LAN (Free): Access on your local network at http://<ip>:31415
  • Cloudflare Tunnel (Pro): Public URL via Cloudflare — no port forwarding needed

Virtual Terminal

Uses ANSI snapshot serialization instead of raw PTY output for clean mobile rendering. Snapshots at ~80ms intervals, only sending changed terminals.

Terminal State

Remote clients receive terminal state indicators: isProcessing, isPlanMode, needsAttention.

Configuration

Override the port with PATAPIM_PORT environment variable. Token stored at ~/.patapim/mcp-token.