← Back to Leaderboard
Mphone-harness

phone-harness/mcp

A Python MCP bridge for agents to inspect and drive cloud iPhones and Android emulators.

Engineering Health (Methodology)
A · 81/100
Maintenance Activity
● Updated 3d ago
Latest Release
Rolling commits (main)
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption15/25
Release Cadence11/20
License Clarity20/20
DockerMCPAPI
Total Stars
★ 857
24h Growth
+2
7d Growth
+18
Forks
76

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

phone-harness/mcp Star History (2026-11-01 - 2026-12-03) DAILY STAR HISTORY (32-DAY D1 TELEMETRY) +856 in 32d · avg +27/day 905 453 0 2026-11-01: ★ 12026-11-03: ★ 5632026-11-05: ★ 7062026-11-07: ★ 7452026-11-09: ★ 7742026-11-11: ★ 7862026-11-13: ★ 7932026-11-15: ★ 8052026-11-17: ★ 8112026-11-19: ★ 8232026-11-21: ★ 8282026-11-23: ★ 8332026-11-25: ★ 8382026-11-27: ★ 8432026-11-29: ★ 8482026-12-01: ★ 8542026-12-03: ★ 857 ★ 857 11-01 11-17 12-03

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Phone Harness MCP is a Python bridge between an agent's MCP client and Phone Harness cloud devices. The hosted /mcp endpoint uses Streamable HTTP. Clients can sign in with OAuth for the phone:drive scope or send an API key as a bearer token. The agent lists or starts a device, then passes its device ID to tools that read or interact with the screen. Device execution happens in the cloud, not in the connector process.

The package requires Python 3.10 or newer and declares mcp>=2.3,<3, Click>=8.1, Pillow>=10, and Starlette>=0.40. The integration surface is the set of MCP tools: clients can compose screen reads and device actions without a client-specific device SDK. The hosted-mode container uses a bearer supplied with each request rather than embedding a credential in the image.

Key Capabilities & Differentiators

The same tool surface targets dedicated cloud iPhones and cloud Android emulators. With no device specified, a start call launches a temporary Android emulator; a device ID can select an iPhone or a saved Android phone that retains apps and logins. A session runs for 30 minutes by default. That duration is a session setting, not a billing unit.

Screen inspection combines JPEG screenshots with visible text and tap-ready centers. Screenshots default to a maximum long edge of 1,024 pixels and include a conversion from image positions to screen coordinates. Element listing uses Android's accessibility tree or iPhone text recognition, so the two platforms do not expose equivalent UI semantics. The agent can tap, long-press, swipe, type, and open apps. Separate iPhone reservation tools provide a quote and a Stripe Checkout link; a person must complete payment.

Trade-offs & Limitations

Compared with an Appium suite or native UI tests, this connector trades control over devices and runners for a short path from an MCP client to a cloud session. It fits exploratory, visual workflows better than regression suites that rely on stable locators and repeatable assertions. Android accessibility data and iPhone text recognition produce different kinds of observations, and screen coordinates can change with orientation. After a transition, an agent should re-read the screen rather than reuse old coordinates.

The MIT license covers the connector code, not the cloud devices. Android is metered by phone-minute, so stopping an idle session matters; iPhones are subscription-based, so stopping a session is not the same as canceling the subscription. Self-hosting changes where the connector runs but leaves the cloud dependency in place. No local model or CUDA stack is listed; size a relay for request concurrency and image handling, and keep test accounts and data separate from personal ones.

Hardware & Deployment Guide

The lowest-setup path is to add https://mcp.phone-harness.com/mcp to a compatible client and authenticate. Write-tool support still depends on the client and workspace: ChatGPT web lists Business, Enterprise, and Edu for custom plugins that can drive a phone, while Pro access is limited to read and fetch tools. Local stdio, Docker, and Vercel are options for running the connector, not the device fleet.

The Dockerfile uses python:3.12-slim, installs the package, switches to non-root UID 10001, and starts phone-harness-mcp with --port 8000 --host 0.0.0.0. The example for a named public host also supplies --allowed-hosts mcp.example.com. For a source checkout, uv sync and uv run pytest cover dependency setup and test execution. The manifest marks version 0.1.0 as alpha; the ChatGPT walkthrough is a connector review recording, not a server package release.

Transport: Streamable HTTP at /mcp, with OAuth phone:drive access or API-key bearer authentication.
Device lifecycle: List running and startable devices, start a temporary Android emulator or select a provisioned device, and end sessions explicitly.
Screen geometry: JPEGs default to a 1,024-pixel maximum long edge, with a mapping from image points to tap coordinates.
UI inspection: Android uses accessibility data; iPhone uses text recognition. Visible labels and tap centers are available as text or JSON.
Reservation approvals: iPhone deposits require human completion of Stripe Checkout; cancellation requires confirm=true.
Container: The Python 3.12-slim image runs the phone-harness-mcp entrypoint as UID 10001 and exposes port 8000.
Best For

Mobile developers and QA teams using MCP agents to explore app flows, capture screenshots, or check UI behavior on cloud iPhones and Android emulators.

Skip If

You need offline execution, control of a local device fleet, deterministic regression tests, or a setup that does not rely on Phone Harness cloud devices.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerMCPAPI
uv sync
uv run pytest
uv run phone-harness-mcp --help

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
mcp ★857+18PythonMITA Python MCP bridge for agents to inspect and drive cloud iPhones and Android em
mcp-for-blender37.1k+1.1kPythonGPL-3.0A local MCP bridge for inspecting and editing live Blender scenes with AI
rea488.8k+7.6kTypeScriptMITA local CLI and MCP server for evidence-backed app and binary analysis
chrome-devtools-mcp60.4k+760TypeScriptApache-2.0Chrome DevTools via MCP and CLI for live browser debugging and performance analy

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/phone-harness/mcp.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

phone-harness/mcp Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about mcp

How does an MCP client connect and target a phone?

Add https://mcp.phone-harness.com/mcp as a Streamable HTTP server and sign in with OAuth for the phone:drive scope. If the client supports bearer headers, it can use a Phone Harness API key instead. List devices to find an ID, start or select a session, and pass the ID to device-scoped tools.

Does the connector need a GPU, significant VRAM, or a local device?

The connector's Python stack has no listed local model or CUDA dependency. The hosted path requires neither a local iPhone nor Android tooling. If you self-host the relay, size it for concurrent requests and screenshot processing and transfer; the repository provides no measured CPU, RAM, or throughput requirements.

Can we use or self-host the connector commercially?

MIT permits commercial use and redistribution of the connector code, subject to retaining the required copyright and license notices. Hosting the connector yourself does not include cloud device access, remove device charges, or change MCP client workspace permissions.

When should we choose this over Appium or native test tooling?

Use Phone Harness when the goal is to let an MCP agent inspect and operate a cloud iPhone or Android emulator without managing the device fleet. Prefer Appium or native tooling when you already own the test infrastructure and need stable locators, repeatable assertions, or control over devices and runners.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining phone-harness/mcp? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature phone-harness/mcp on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare