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.10
Qinghe Lia876c12534c2
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 23b0611..970f7c5 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -6,6 +6,8 @@ What changed in each release, one line per change. Versions follow [Semantic Ver## [Unreleased]+## [0.2.10] - 2026-11-22+### Upgrade notes- MCP tools now refuse an argument they don't take, and do nothing, instead of ignoring it. A misspelt argument, or one from a newer version, used to run the call with the default and report success: `iphone_wait_for` with `state: "disappeared"` answered that the text had appeared (#158). The error names the arguments the tool takes. This includes `then` on tools that don't list it, and on the steps of `iphone_batch` (the batch's own `then` applies).@@ -13,8 +15,8 @@ What changed in each release, one line per change. Versions follow [Semantic Ver### New- `iphone_type_text` supports `replace: true` (empty text empties the field) and verifies the full field value before pressing Return. With native control, when it fails, the old text is left unselected; through WDA (iOS 26 and earlier, or `ICTL_IOS_BACKEND=wda`) the field is cleared first, so a failure there says the old text is gone (#162).-- `iphone_list_elements` reports the match count and whether `limit` truncated the list in its structured result.-- `iphone_wait_for` can wait for text to disappear without mistaking an incomplete screen read for success.+- `iphone_list_elements` reports the match count and whether `limit` truncated the list in its structured result (#159).+- `iphone_wait_for` can wait for text to disappear without mistaking an incomplete screen read for success (#159).## [0.2.9] - 2026-11-18@@ -342,7 +344,8 @@ First public release.- `setup`, `doctor`, `status` and `mcp-config`.- Docker image and prebuilt Linux binaries.-[Unreleased]: https://github.com/Derrors/iphone-control/compare/v0.2.9...HEAD+[Unreleased]: https://github.com/Derrors/iphone-control/compare/v0.2.10...HEAD+[0.2.10]: https://github.com/Derrors/iphone-control/compare/v0.2.9...v0.2.10[0.2.9]: https://github.com/Derrors/iphone-control/compare/v0.2.8...v0.2.9[0.2.8]: https://github.com/Derrors/iphone-control/compare/v0.2.7...v0.2.8[0.2.7]: https://github.com/Derrors/iphone-control/compare/v0.2.6...v0.2.7diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.mdindex 085ec01..e9bafe6 100644--- a/CHANGELOG.zh-CN.md+++ b/CHANGELOG.zh-CN.md@@ -6,6 +6,8 @@## [Unreleased]+## [0.2.10] - 2026-11-22+### 升级注意事项- MCP 工具收到不认识的参数时改为报错、什么都不做,不再忽略。以前参数名拼错、或者用了新版本才有的参数,调用会按默认行为执行并报成功:`iphone_wait_for` 带 `state: "disappeared"` 时直接回答文字已出现(#158)。报错里会列出这个工具接受的参数。没有声明 `then` 的工具传 `then`、`iphone_batch` 的单个步骤里传 `then` 也会报错(批量的 `then` 写在批量本身)。@@ -13,8 +15,8 @@### 新功能- `iphone_type_text` 支持 `replace: true`(文字为空时清空输入框),核对替换后的输入框全文后才按回车。原生控制下替换失败时会取消全选,原文保留;经 WDA(iOS 26 及以前,或 `ICTL_IOS_BACKEND=wda`)时先清空再输入,失败时会说明原文已删掉(#162)。-- `iphone_list_elements` 的结构化结果会说明匹配数量和是否被 `limit` 截断。-- `iphone_wait_for` 支持等待文字消失;读屏不完整时不会误报成功。+- `iphone_list_elements` 的结构化结果会说明匹配数量和是否被 `limit` 截断(#159)。+- `iphone_wait_for` 支持等待文字消失;读屏不完整时不会误报成功(#159)。## [0.2.9] - 2026-11-18@@ -342,7 +344,8 @@- `setup`、`doctor`、`status`、`mcp-config`。- Docker 镜像和预编译的 Linux 二进制。-[Unreleased]: https://github.com/Derrors/iphone-control/compare/v0.2.9...HEAD+[Unreleased]: https://github.com/Derrors/iphone-control/compare/v0.2.10...HEAD+[0.2.10]: https://github.com/Derrors/iphone-control/compare/v0.2.9...v0.2.10[0.2.9]: https://github.com/Derrors/iphone-control/compare/v0.2.8...v0.2.9[0.2.8]: https://github.com/Derrors/iphone-control/compare/v0.2.7...v0.2.8[0.2.7]: https://github.com/Derrors/iphone-control/compare/v0.2.6...v0.2.7diff --git a/Cargo.lock b/Cargo.lockindex 2ebd141..34b0775 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -1935,7 +1935,7 @@ dependencies = [[[package]]name = "ictl-ax"-version = "0.2.9"+version = "0.2.10"dependencies = ["idevice","plist",@@ -1946,7 +1946,7 @@ dependencies = [[[package]]name = "ictl-daemon"-version = "0.2.9"+version = "0.2.10"dependencies = ["anyhow","base64 0.23.1",@@ -1972,7 +1972,7 @@ dependencies = [[[package]]name = "ictl-device"-version = "0.2.9"+version = "0.2.10"dependencies = ["ictl-ax","ictl-l10n",@@ -1989,14 +1989,14 @@ dependencies = [[[package]]name = "ictl-l10n"-version = "0.2.9"+version = "0.2.10"dependencies = ["tokio",][[package]]name = "ictl-mcp"-version = "0.2.9"+version = "0.2.10"dependencies = ["anyhow","http",@@ -2009,7 +2009,7 @@ dependencies = [[[package]]name = "ictl-protocol"-version = "0.2.9"+version = "0.2.10"dependencies = ["ictl-l10n","libc",@@ -2020,7 +2020,7 @@ dependencies = [[[package]]name = "ictl-sign"-version = "0.2.9"+version = "0.2.10"dependencies = ["ictl-l10n","plist",@@ -2036,7 +2036,7 @@ dependencies = [[[package]]name = "ictl-unlock"-version = "0.2.9"+version = "0.2.10"dependencies = ["ictl-l10n","ictl-wda",@@ -2049,7 +2049,7 @@ dependencies = [[[package]]name = "ictl-wda"-version = "0.2.9"+version = "0.2.10"dependencies = ["base64 0.23.1","ictl-device",@@ -2065,7 +2065,7 @@ dependencies = [[[package]]name = "ictl-webinspector"-version = "0.2.9"+version = "0.2.10"dependencies = ["idevice","plist",@@ -2275,7 +2275,7 @@ dependencies = [[[package]]name = "iphone-control"-version = "0.2.9"+version = "0.2.10"dependencies = ["anyhow","bytes",diff --git a/Cargo.toml b/Cargo.tomlindex 87b2fcd..bad39d9 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -18,7 +18,7 @@ members = [exclude = ["vendor"][workspace.package]-version = "0.2.9"+version = "0.2.10"edition = "2024"# uuid 1.29 要求 1.89(rmcp 3.10、rcgen 0.14、sha2 0.11、zip 9.5 要求 1.88);Impactor/idevice 用 edition 2024rust-version = "1.89"