# Repository Briefing: Zfinix/another
> Source: https://repoforai.com/repo/Zfinix/another (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/Zfinix/another
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: A+ (91/100 · Maintenance 35/35 · Adoption 16/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v1.0.1 (2026-11-29) — https://github.com/Zfinix/another/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: MCP, CLI, Self-Hosted
- **Momentum**: 862 ★ total (+2 24h / +30 7d) · 80 forks
- **Topics**: `adb`, `ai-agents`, `android`, `android-mirroring`, `claude-code`, `developer-tools`, `gemini-cli-extension`, `kotlin`, `macos`, `mcp`, `mcp-server`, `rust`
- **When to Use**: Best for: Android development and QA teams on macOS that need to watch several test devices, repeat UI flows, and let trusted local agents inspect and operate those devices. Skip if: You only need manual mirroring, require production-grade Linux or Windows support, or must give remote agents access without granting broad device control.

## Overview
```text
### Architecture & Core Mechanics
Another separates the desktop UI, device integration, and automation interfaces. The Cargo workspace contains `src-tauri`, `crates/another-core`, `crates/another-mcp`, and `crates/another-cli`. The Tauri 2 desktop shell hosts a React 19 and TypeScript UI built with Vite and Base UI. The Rust stack uses Tokio and rodio, and the MCP server uses rmcp.

On Android, `app_process` launches the Kotlin capture server, with scrcpy-server 2.7 available as a fallback. The capture path drops stale frames and adjusts bitrate, size, and frame rate without reconnecting. Video travels through ADB or a direct socket, with Wi-Fi and Tailscale using the latter. On macOS, VideoToolbox decodes into a native layer behind the window; on other platforms, raw stream bytes reach the WebView over a local WebSocket.

For automation, the app exposes a loopback Streamable HTTP MCP endpoint, and clients that launch local processes can instead run `another-mcp` over stdio. The separate `another` CLI operates on the running desktop app.

### Key Capabilities & Differentiators
The app can mirror multiple phones in separate windows, with audio following the selected window on Android 11 and later. It supports USB, Wi-Fi, emulators, and Tailscale, with Wi-Fi pairing by QR code, six-digit code, or address. Alongside screenshots, recordings, and APK drag-and-drop installation, it can surface phone notifications as native macOS notifications and record, import, export, and replay macros.

The 24 MCP tools cover screenshots, accessibility-tree queries, element lookup, touch and text input, app launch, macros, and ADB shell. Element lookup accepts text, content descriptions, resource IDs, or class names; normalized coordinates let an agent act on a reported location rather than infer it from a screenshot. Not every UI exposes useful accessibility nodes, so screenshot-based inspection remains useful. For stream tuning, the CLI supports live settings changes, profile comparisons, and touch-to-screen measurement.

The 1.0 Pixel emulator tests report 55–60 fps in the scroll test and about 19 ms average capture-to-screen lag. The Pixel 4 XL Wi-Fi test reports 43–52 ms. These are results for distinct setups, not a latency budget to assume across devices or networks.

### Trade-offs & Limitations
For basic mirroring and manual control, standalone scrcpy avoids the additional desktop app and agent integration. Another is worth the extra layers when a team needs visual monitoring, repeatable workflows, and agents that inspect the Android UI before acting. The bundled fallback is scrcpy-server 2.7; the distinct head-to-head test against scrcpy 5.0.1 found a median advantage of 5.5–7.3 ms for Another on a Pixel 4 XL. That result establishes neither a general performance lead nor the speed of the fallback.

Dropping stale frames favors responsiveness over displaying every captured frame. The native macOS pipeline is the strongest deployment path; assess Linux and Windows separately rather than extrapolating from macOS measurements. For multiple devices, measure host decode load and end-to-end latency under the intended stream settings. No model VRAM is required by Another itself.

Loopback limits network exposure, not what an enabled client can do. An agent with device access can collect screenshots and UI data, send input, or invoke ADB shell. Use dedicated test devices, pair only authorized phones, and disable MCP when it is not needed. The project is MIT-licensed; redistribution still warrants a review of bundled third-party notices.

### Hardware & Deployment Guide
Start with a signed and notarized `.dmg` on Apple Silicon or Intel. Linux packages are available as AppImage, `.deb`, or `.rpm`, and Windows builds as `.msi` or `.exe`; both platforms remain experimental. Enable USB debugging or Wireless debugging on the Android device. The desktop app starts MCP at `http://localhost:7070/mcp` by default; configure its switch and port under AI and CLI. Use the stdio executable and scrcpy-server file for clients that cannot use HTTP. Loopback is a local integration path, not a remote MCP deployment over Tailscale.

Source builds require Rust, Node.js, and Bun. Run `bun install` and `bun tauri dev` for development, or `bun tauri build` for packaging. Ubuntu and Debian builds require `libwebkit2gtk-4.1-dev`, `pkg-config`, and `libasound2-dev`. The phone server is prebuilt under `src-tauri/resources/another-server`; rebuilding it via `server/build.sh` requires the Kotlin compiler and Android SDK.

Version 1.0 changed the default to a 1920 capture-size setting at the device’s full refresh rate. Version 1.0.1 fixed missed Wi-Fi notifications, removed the administrator-password requirement from CLI installation, and added Gemini CLI and Cline setup material.
```

## Key Capabilities
```text
- Capture: A Kotlin server launched through `app_process` drops stale frames and changes bitrate, size, and frame rate without reconnecting.
- Rendering: macOS decodes with VideoToolbox and presents on a native layer; Linux and Windows receive raw stream bytes over a local WebSocket.
- Networking: USB, Wi-Fi, Android Studio emulators, and Tailscale share a device list; Wi-Fi and Tailscale video bypass the ADB tunnel.
- MCP: 24 tools span screenshots, accessibility queries, input, macros, and ADB shell; clients can use loopback Streamable HTTP or local stdio.
- Diagnostics: `another stats --seconds 10` averages live stream metrics, `another measure` probes touch-to-screen latency, and `another bench a.json b.json` compares stream profiles.
- Benchmarks: The 1.0 measurements report about 19 ms average capture-to-screen lag on a Pixel emulator and 43–52 ms over Wi-Fi on a Pixel 4 XL.
```

## Quick Start / Clone
```bash
curl -fsSL https://raw.githubusercontent.com/Zfinix/another/main/install.sh | sh
```
