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.1.5 (#38)
Qinghe Li5aa96e50dba9
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.ymlindex 69038b9..9a633a0 100644--- a/.github/ISSUE_TEMPLATE/bug_report.yml+++ b/.github/ISSUE_TEMPLATE/bug_report.yml@@ -39,7 +39,7 @@ body:id: versionattributes:label: Version or commit / 版本或提交- placeholder: v0.1.4, or the output of `git rev-parse --short HEAD`+ placeholder: v0.1.5, or the output of `git rev-parse --short HEAD`- type: textareaid: doctorattributes:diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 73a9b0a..b60545d 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.1.5] - 2026-11-10+### Added- English: `IPHONE_CONTROL_LANG=en` switches tool descriptions and results, CLI output and help, `status`/`doctor`, logs and notifications to English. The default stays Simplified Chinese, and older clients still get Chinese.@@ -117,7 +119,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.1.4...HEAD+[Unreleased]: https://github.com/Derrors/iphone-control/compare/v0.1.5...HEAD+[0.1.5]: https://github.com/Derrors/iphone-control/compare/v0.1.4...v0.1.5[0.1.4]: https://github.com/Derrors/iphone-control/compare/v0.1.3...v0.1.4[0.1.3]: https://github.com/Derrors/iphone-control/compare/v0.1.2...v0.1.3[0.1.2]: https://github.com/Derrors/iphone-control/compare/v0.1.1...v0.1.2diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.mdindex d1bc406..7b07ea9 100644--- a/CHANGELOG.zh-CN.md+++ b/CHANGELOG.zh-CN.md@@ -6,6 +6,8 @@## [Unreleased]+## [0.1.5] - 2026-11-10+### 新增- 英文界面:设 `IPHONE_CONTROL_LANG=en` 后,工具说明和结果、命令行输出和帮助、`status`/`doctor`、日志、通知都改成英文。默认仍是简体中文,旧版本客户端照旧得到中文。@@ -115,7 +117,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.1.4...HEAD+[Unreleased]: https://github.com/Derrors/iphone-control/compare/v0.1.5...HEAD+[0.1.5]: https://github.com/Derrors/iphone-control/compare/v0.1.4...v0.1.5[0.1.4]: https://github.com/Derrors/iphone-control/compare/v0.1.3...v0.1.4[0.1.3]: https://github.com/Derrors/iphone-control/compare/v0.1.2...v0.1.3[0.1.2]: https://github.com/Derrors/iphone-control/compare/v0.1.1...v0.1.2diff --git a/Cargo.lock b/Cargo.lockindex 001218a..f1f3959 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -1947,7 +1947,7 @@ dependencies = [[[package]]name = "ictl-daemon"-version = "0.1.4"+version = "0.1.5"dependencies = ["anyhow","base64 0.23.1",@@ -1969,7 +1969,7 @@ dependencies = [[[package]]name = "ictl-device"-version = "0.1.4"+version = "0.1.5"dependencies = ["ictl-l10n","ictl-webinspector",@@ -1985,14 +1985,14 @@ dependencies = [[[package]]name = "ictl-l10n"-version = "0.1.4"+version = "0.1.5"dependencies = ["tokio",][[package]]name = "ictl-mcp"-version = "0.1.4"+version = "0.1.5"dependencies = ["anyhow","ictl-l10n",@@ -2004,7 +2004,7 @@ dependencies = [[[package]]name = "ictl-protocol"-version = "0.1.4"+version = "0.1.5"dependencies = ["ictl-l10n","libc",@@ -2015,7 +2015,7 @@ dependencies = [[[package]]name = "ictl-sign"-version = "0.1.4"+version = "0.1.5"dependencies = ["ictl-l10n","plist",@@ -2029,7 +2029,7 @@ dependencies = [[[package]]name = "ictl-unlock"-version = "0.1.4"+version = "0.1.5"dependencies = ["ictl-l10n","ictl-wda",@@ -2042,7 +2042,7 @@ dependencies = [[[package]]name = "ictl-wda"-version = "0.1.4"+version = "0.1.5"dependencies = ["base64 0.23.1","ictl-device",@@ -2058,7 +2058,7 @@ dependencies = [[[package]]name = "ictl-webinspector"-version = "0.1.4"+version = "0.1.5"dependencies = ["idevice","plist",@@ -2268,7 +2268,7 @@ dependencies = [[[package]]name = "iphone-control"-version = "0.1.4"+version = "0.1.5"dependencies = ["anyhow","clap",diff --git a/Cargo.toml b/Cargo.tomlindex d22f083..ae09835 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -17,7 +17,7 @@ members = [exclude = ["vendor"][workspace.package]-version = "0.1.4"+version = "0.1.5"edition = "2024"# rmcp 3.8 要求 1.88;Impactor/idevice 用 edition 2024rust-version = "1.88"diff --git a/README.md b/README.mdindex 3fcb6bc..031b351 100644--- a/README.md+++ b/README.md@@ -79,7 +79,7 @@ claude mcp add iphone -s user -- docker exec -i iphone-control iphone-control mc**macOS** (Docker can't pass USB through on a Mac, so run the binary directly)```bash-V=v0.1.4 # latest release+V=v0.1.5 # latest releasecurl -fsSL https://github.com/Derrors/iphone-control/releases/download/$V/iphone-control-$V-macos-arm64.tar.gz | tar xzmkdir -p ~/.local/bin && install -m 755 iphone-control-$V-macos-arm64/iphone-control ~/.local/bin/echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zprofile && source ~/.zprofilediff --git a/README.zh-CN.md b/README.zh-CN.mdindex 92ed03a..403d097 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -79,7 +79,7 @@ claude mcp add iphone -s user -- docker exec -i iphone-control iphone-control mc**macOS**(Mac 上的 Docker 不能直通 USB,直接运行二进制)```bash-V=v0.1.4 # 最新版本号+V=v0.1.5 # 最新版本号curl -fsSL https://github.com/Derrors/iphone-control/releases/download/$V/iphone-control-$V-macos-arm64.tar.gz | tar xzmkdir -p ~/.local/bin && install -m 755 iphone-control-$V-macos-arm64/iphone-control ~/.local/bin/echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zprofile && source ~/.zprofilediff --git a/website/deploy/docker.md b/website/deploy/docker.mdindex 95ad2c1..32f1a00 100644--- a/website/deploy/docker.md+++ b/website/deploy/docker.md@@ -13,7 +13,7 @@```yamlservices:iphone:- image: ghcr.io/derrors/iphone-control:latest # 或固定版本,例如 :0.1.4+ image: ghcr.io/derrors/iphone-control:latest # 或固定版本,例如 :0.1.5container_name: iphone-control# 只开放 USB 字符设备,不需要 privilegeddevice_cgroup_rules:@@ -57,7 +57,7 @@ docker compose up -d --build镜像在 `ghcr.io/derrors/iphone-control`(amd64、arm64)。在 `.env` 里设:```ini-IMAGE=ghcr.io/derrors/iphone-control:latest # 或固定版本,例如 :0.1.4+IMAGE=ghcr.io/derrors/iphone-control:latest # 或固定版本,例如 :0.1.5```然后:diff --git a/website/deploy/macos.md b/website/deploy/macos.mdindex 1e02005..03d0d9c 100644--- a/website/deploy/macos.md+++ b/website/deploy/macos.md@@ -24,7 +24,7 @@ Docker Desktop 在 Mac 上把容器跑在 Linux 虚拟机里,不支持 USB 直从 0.1.2 起,[Releases](https://github.com/Derrors/iphone-control/releases) 里有 macOS(Apple Silicon,macOS 11 以上)的压缩包 `iphone-control-<版本>-macos-arm64.tar.gz`。在终端里下载安装(把 `V` 换成最新版本号):```bash-V=v0.1.4+V=v0.1.5curl -fsSLO https://github.com/Derrors/iphone-control/releases/download/$V/iphone-control-$V-macos-arm64.tar.gzcurl -fsSLO https://github.com/Derrors/iphone-control/releases/download/$V/iphone-control-$V-macos-arm64.tar.gz.sha256shasum -a 256 -c iphone-control-$V-macos-arm64.tar.gz.sha256 # 应显示 OKdiff --git a/website/en/deploy/docker.md b/website/en/deploy/docker.mdindex 3b13306..087cf74 100644--- a/website/en/deploy/docker.md+++ b/website/en/deploy/docker.md@@ -13,7 +13,7 @@ No need to clone the repository — the least effort. Create a directory (e.g. ````yamlservices:iphone:- image: ghcr.io/derrors/iphone-control:latest # or pin a version, e.g. :0.1.4+ image: ghcr.io/derrors/iphone-control:latest # or pin a version, e.g. :0.1.5container_name: iphone-control# USB character devices only; no privileged neededdevice_cgroup_rules:@@ -57,7 +57,7 @@ docker compose up -d --buildImages are published at `ghcr.io/derrors/iphone-control` (amd64, arm64). In `.env`:```ini-IMAGE=ghcr.io/derrors/iphone-control:latest # or pin a version, e.g. :0.1.4+IMAGE=ghcr.io/derrors/iphone-control:latest # or pin a version, e.g. :0.1.5```Then:diff --git a/website/en/deploy/macos.md b/website/en/deploy/macos.mdindex 6eb7494..df85790 100644--- a/website/en/deploy/macos.md+++ b/website/en/deploy/macos.md@@ -24,7 +24,7 @@ Docker Desktop on a Mac runs containers in a Linux VM without USB passthrough, sSince 0.1.2, [Releases](https://github.com/Derrors/iphone-control/releases) has a macOS archive (Apple Silicon, macOS 11+): `iphone-control-<version>-macos-arm64.tar.gz`. Download and install it from a terminal (set `V` to the latest version):```bash-V=v0.1.4+V=v0.1.5curl -fsSLO https://github.com/Derrors/iphone-control/releases/download/$V/iphone-control-$V-macos-arm64.tar.gzcurl -fsSLO https://github.com/Derrors/iphone-control/releases/download/$V/iphone-control-$V-macos-arm64.tar.gz.sha256shasum -a 256 -c iphone-control-$V-macos-arm64.tar.gz.sha256 # should print OK