Control a real USB-connected iPhone from Linux (no Mac, no paid developer account) and expose it to AI agents as MCP tools
Rust ai-agentautomationclaudeclaude-codedockeriosiphonelinuxmcpmcp-servermodel-context-protocolrustwebdriveragent
release: 0.2.6 (#106)
Qinghe Li436353ad1f6c
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 6b8b74a..a0866f6 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -6,6 +6,8 @@ All notable changes to this project are documented here. The format is based on## [Unreleased]+## [0.2.6] - 2026-11-14+### Added- Low-bandwidth mode for the control page's picture: a switch in Settings, for use over the internet or a weak signal. The phone's own video (HEVC) is asked for with a 2 Mbit/s cap instead of 6, about half the traffic at the same frame rate (on an iPhone's home screen 214 KB/s instead of 459–483 while swiping); a still screen looks the same, moving content gets a little blocky. There is one such stream per phone, so while any page watching it has the mode on, all of them get it, and the stream starts again (the picture stops for about half a second) when the first such page comes and when the last one goes. The H.264 picture changes only for that page (qp 26: 689 KB/s instead of 1350).@@ -322,7 +324,8 @@ First public release.- Docker image (single binary plus Debian's usbmuxd, not privileged) with a generated third-party license list, published to `ghcr.io/derrors/iphone-control` for linux/amd64 and linux/arm64.- Running without Docker, from source or from the prebuilt Linux binaries (x86_64, aarch64): as a regular user with the system usbmuxd, XDG data and socket paths, the unsigned WebDriverAgent downloaded and checksum-verified before the first signing, `mcp-config` printing a direct command, and a systemd user service.-[Unreleased]: https://github.com/Derrors/iphone-control/compare/v0.2.5...HEAD+[Unreleased]: https://github.com/Derrors/iphone-control/compare/v0.2.6...HEAD+[0.2.6]: https://github.com/Derrors/iphone-control/compare/v0.2.5...v0.2.6[0.2.5]: https://github.com/Derrors/iphone-control/compare/v0.2.4...v0.2.5[0.2.4]: https://github.com/Derrors/iphone-control/compare/v0.2.3...v0.2.4[0.2.3]: https://github.com/Derrors/iphone-control/compare/v0.2.2...v0.2.3diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.mdindex 097bc95..42ca53b 100644--- a/CHANGELOG.zh-CN.md+++ b/CHANGELOG.zh-CN.md@@ -6,6 +6,8 @@## [Unreleased]+## [0.2.6] - 2026-11-14+### 新增- 控制台画面的弱网模式:「设置」里的开关,适合外网或信号差时用。手机自己的视频(HEVC)按 2 Mbit/s 的码率上限向手机要(原来 6),流量约减一半,帧率不变(iPhone 主屏幕上滑动时 214 KB/s,原来 459–483);画面静止时看不出区别,动起来时会有些糊块。每台手机只有一路这样的流,所以只要有一个在看它的页面开着,所有页面都一起降;第一个这样的页面来、最后一个走时流会重新开始(画面断开半秒左右)。H.264 只影响开它的页面(qp 26:689 KB/s,原来 1350)。@@ -320,7 +322,8 @@- `setup`、`doctor`、`status`、`mcp-config`、`wda-bridge`、`notify-test` 命令。- Docker 镜像(非 privileged,linux/amd64、linux/arm64);也可不用 Docker,从源码或预编译二进制以普通用户运行,附 systemd 用户服务。-[Unreleased]: https://github.com/Derrors/iphone-control/compare/v0.2.5...HEAD+[Unreleased]: https://github.com/Derrors/iphone-control/compare/v0.2.6...HEAD+[0.2.6]: https://github.com/Derrors/iphone-control/compare/v0.2.5...v0.2.6[0.2.5]: https://github.com/Derrors/iphone-control/compare/v0.2.4...v0.2.5[0.2.4]: https://github.com/Derrors/iphone-control/compare/v0.2.3...v0.2.4[0.2.3]: https://github.com/Derrors/iphone-control/compare/v0.2.2...v0.2.3diff --git a/Cargo.lock b/Cargo.lockindex fb8713d..ed75ff4 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -1956,7 +1956,7 @@ dependencies = [[[package]]name = "ictl-daemon"-version = "0.2.5"+version = "0.2.6"dependencies = ["anyhow","base64 0.23.1",@@ -1981,7 +1981,7 @@ dependencies = [[[package]]name = "ictl-device"-version = "0.2.5"+version = "0.2.6"dependencies = ["ictl-l10n","ictl-webinspector",@@ -1997,14 +1997,14 @@ dependencies = [[[package]]name = "ictl-l10n"-version = "0.2.5"+version = "0.2.6"dependencies = ["tokio",][[package]]name = "ictl-mcp"-version = "0.2.5"+version = "0.2.6"dependencies = ["anyhow","http",@@ -2017,7 +2017,7 @@ dependencies = [[[package]]name = "ictl-protocol"-version = "0.2.5"+version = "0.2.6"dependencies = ["ictl-l10n","libc",@@ -2028,7 +2028,7 @@ dependencies = [[[package]]name = "ictl-sign"-version = "0.2.5"+version = "0.2.6"dependencies = ["ictl-l10n","plist",@@ -2044,7 +2044,7 @@ dependencies = [[[package]]name = "ictl-unlock"-version = "0.2.5"+version = "0.2.6"dependencies = ["ictl-l10n","ictl-wda",@@ -2057,7 +2057,7 @@ dependencies = [[[package]]name = "ictl-wda"-version = "0.2.5"+version = "0.2.6"dependencies = ["base64 0.23.1","ictl-device",@@ -2073,7 +2073,7 @@ dependencies = [[[package]]name = "ictl-webinspector"-version = "0.2.5"+version = "0.2.6"dependencies = ["idevice","plist",@@ -2283,7 +2283,7 @@ dependencies = [[[package]]name = "iphone-control"-version = "0.2.5"+version = "0.2.6"dependencies = ["anyhow","bytes",diff --git a/Cargo.toml b/Cargo.tomlindex 5ecd42b..f6fb659 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -17,7 +17,7 @@ members = [exclude = ["vendor"][workspace.package]-version = "0.2.5"+version = "0.2.6"edition = "2024"# rmcp 3.8 要求 1.88;Impactor/idevice 用 edition 2024rust-version = "1.88"