mobile-mcp-ai 2.6.8__py3-none-any.whl → 2.6.12__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mobile_mcp/config.py +32 -0
- mobile_mcp/core/basic_tools_lite.py +385 -739
- mobile_mcp/core/tool_selection_helper.py +168 -0
- mobile_mcp/mcp_tools/mcp_server.py +336 -391
- {mobile_mcp_ai-2.6.8.dist-info → mobile_mcp_ai-2.6.12.dist-info}/METADATA +19 -12
- {mobile_mcp_ai-2.6.8.dist-info → mobile_mcp_ai-2.6.12.dist-info}/RECORD +10 -9
- {mobile_mcp_ai-2.6.8.dist-info → mobile_mcp_ai-2.6.12.dist-info}/WHEEL +0 -0
- {mobile_mcp_ai-2.6.8.dist-info → mobile_mcp_ai-2.6.12.dist-info}/entry_points.txt +0 -0
- {mobile_mcp_ai-2.6.8.dist-info → mobile_mcp_ai-2.6.12.dist-info}/licenses/LICENSE +0 -0
- {mobile_mcp_ai-2.6.8.dist-info → mobile_mcp_ai-2.6.12.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mobile-mcp-ai
|
|
3
|
-
Version: 2.6.
|
|
3
|
+
Version: 2.6.12
|
|
4
4
|
Summary: 移动端自动化 MCP Server - 支持 Android/iOS,AI 功能可选(基础工具不需要 AI)
|
|
5
5
|
Home-page: https://github.com/test111ddff-hash/mobile-mcp-ai
|
|
6
6
|
Author: douzi
|
|
@@ -404,17 +404,24 @@ tidevice list
|
|
|
404
404
|
|
|
405
405
|
## 🛠️ 工具列表
|
|
406
406
|
|
|
407
|
-
| 类别 | 工具 | 说明 |
|
|
408
|
-
|
|
409
|
-
| 📋 | `mobile_list_elements` | 列出页面元素 |
|
|
410
|
-
|
|
|
411
|
-
|
|
|
412
|
-
| 📸 | `
|
|
413
|
-
|
|
|
414
|
-
|
|
|
415
|
-
| 👆 | `
|
|
416
|
-
| 👆 | `
|
|
417
|
-
| 👆 | `
|
|
407
|
+
| 类别 | 工具 | 说明 | 优先级 |
|
|
408
|
+
|:---:|------|------|:---:|
|
|
409
|
+
| 📋 | `mobile_list_elements` | 列出页面元素 | ⭐⭐⭐ 第一优先级 |
|
|
410
|
+
| 👆 | `mobile_click_by_text` | 文本点击 | ⭐⭐⭐ 第一优先级 |
|
|
411
|
+
| 👆 | `mobile_click_by_id` | ID 点击 | ⭐⭐⭐ 第一优先级 |
|
|
412
|
+
| 📸 | `mobile_screenshot_with_som` | Set-of-Mark 截图(智能标注) | ⚠️ 兜底方案 |
|
|
413
|
+
| 📸 | `mobile_take_screenshot` | 截图 | ⚠️ 兜底方案 |
|
|
414
|
+
| 📸 | `mobile_screenshot_with_grid` | 带网格坐标的截图 | ⚠️ 兜底方案 |
|
|
415
|
+
| 👆 | `mobile_click_by_som` | SoM 编号点击 | ⚠️ 兜底方案 |
|
|
416
|
+
| 👆 | `mobile_click_by_percent` | 百分比点击 | ⚠️ 最后兜底 |
|
|
417
|
+
| 👆 | `mobile_click_at_coords` | 坐标点击 | ⚠️ 最后兜底 |
|
|
418
|
+
| 📐 | `mobile_get_screen_size` | 屏幕尺寸 | 辅助工具 |
|
|
419
|
+
|
|
420
|
+
> 💡 **工具选择策略**:优先使用控件树定位(`list_elements` + `click_by_text/id`),截图仅作为兜底方案。
|
|
421
|
+
>
|
|
422
|
+
> 📖 详细指南:
|
|
423
|
+
> - [工具选择策略指南](docs/TOOL_SELECTION_STRATEGY.md) - 详细的工具选择策略和决策树
|
|
424
|
+
> - [用例执行最佳实践](docs/EXECUTION_BEST_PRACTICES.md) - 用例执行流程和优化建议
|
|
418
425
|
| 👆 | `mobile_click_by_som` | SoM 编号点击 |
|
|
419
426
|
| 👆 | `mobile_long_press_by_id` | ID 长按 |
|
|
420
427
|
| 👆 | `mobile_long_press_by_text` | 文本长按 |
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
mobile_mcp/__init__.py,sha256=sQJZTL_sxQFzmcS7jOtS2AHCfUySz40vhX96N6u1qy4,816
|
|
2
|
-
mobile_mcp/config.py,sha256
|
|
2
|
+
mobile_mcp/config.py,sha256=-xSl9vahp3EFAA97P1ahcnQC-HHAFvccGHpnFAXeKHU,5841
|
|
3
3
|
mobile_mcp/core/__init__.py,sha256=ndMy-cLAIsQDG5op7gM_AIplycqZSZPWEkec1pEhvEY,170
|
|
4
|
-
mobile_mcp/core/basic_tools_lite.py,sha256=
|
|
4
|
+
mobile_mcp/core/basic_tools_lite.py,sha256=WXOXY-yr97HRQ2TCWgKrTYGWV8ZvvrwpCuhxNiv_mbw,192203
|
|
5
5
|
mobile_mcp/core/device_manager.py,sha256=xG5DoeNFs45pl-FTEhEWblqVwxtFK-FmVEGlNL6EqRI,8798
|
|
6
6
|
mobile_mcp/core/dynamic_config.py,sha256=Ja1n1pfb0HspGByqk2_A472mYVniKmGtNEWyjUjmgK8,9811
|
|
7
7
|
mobile_mcp/core/ios_client_wda.py,sha256=Nq9WxevhTWpVpolM-Ymp-b0nUQV3tXLFszmJHbDC4wA,18770
|
|
8
8
|
mobile_mcp/core/ios_device_manager_wda.py,sha256=A44glqI-24un7qST-E3w6BQD8mV92YVUbxy4rLlTScY,11264
|
|
9
9
|
mobile_mcp/core/mobile_client.py,sha256=AaBntQSW2loAw7xL3j_IABNzrJO_Uukf9-F1z1xl6xE,63672
|
|
10
10
|
mobile_mcp/core/template_matcher.py,sha256=tv8RU6zdeDobqphaP4Y8sicb1esg3gcQlZae1tNyitM,14559
|
|
11
|
+
mobile_mcp/core/tool_selection_helper.py,sha256=k5_E4oK_fGg4n6qembvudt6Fw-QXq7_SLJDt4FO3cHc,5764
|
|
11
12
|
mobile_mcp/core/templates/close_buttons/auto_x_0112_151217.png,sha256=s7tBVaYLBApNSEXjwi5kX8GXwUqgbNyNVEhXYjN9nd4,27373
|
|
12
13
|
mobile_mcp/core/templates/close_buttons/auto_x_0112_152037.png,sha256=s7tBVaYLBApNSEXjwi5kX8GXwUqgbNyNVEhXYjN9nd4,27373
|
|
13
14
|
mobile_mcp/core/templates/close_buttons/auto_x_0112_152840.png,sha256=s7tBVaYLBApNSEXjwi5kX8GXwUqgbNyNVEhXYjN9nd4,27373
|
|
@@ -19,14 +20,14 @@ mobile_mcp/core/utils/logger.py,sha256=XXQAHUwT1jc70pq_tYFmL6f_nKrFlYm3hcgl-5RYR
|
|
|
19
20
|
mobile_mcp/core/utils/operation_history_manager.py,sha256=gi8S8HJAMqvkUrY7_-kVbko3Xt7c4GAUziEujRd-N-Y,4792
|
|
20
21
|
mobile_mcp/core/utils/smart_wait.py,sha256=N5wKTUYrNWPruBILqrAjpvtso8Z3GRWCfMIR_aZxPLg,8649
|
|
21
22
|
mobile_mcp/mcp_tools/__init__.py,sha256=xkro8Rwqv_55YlVyhh-3DgRFSsLE3h1r31VIb3bpM6E,143
|
|
22
|
-
mobile_mcp/mcp_tools/mcp_server.py,sha256=
|
|
23
|
+
mobile_mcp/mcp_tools/mcp_server.py,sha256=GAbNZfCkCCsVPZL4s8c0EyDyk7F3otmvos-ZQsdeVoY,51300
|
|
23
24
|
mobile_mcp/utils/__init__.py,sha256=8EH0i7UGtx1y_j_GEgdN-cZdWn2sRtZSEOLlNF9HRnY,158
|
|
24
25
|
mobile_mcp/utils/logger.py,sha256=Sqq2Nr0Y4p03erqcrbYKVPCGiFaNGHMcE_JwCkeOfU4,3626
|
|
25
26
|
mobile_mcp/utils/xml_formatter.py,sha256=uwTRb3vLbqhT8O-udzWT7s7LsV-DyDUz2DkofD3hXOE,4556
|
|
26
27
|
mobile_mcp/utils/xml_parser.py,sha256=QhL8CWbdmNDzmBLjtx6mEnjHgMFZzJeHpCL15qfXSpI,3926
|
|
27
|
-
mobile_mcp_ai-2.6.
|
|
28
|
-
mobile_mcp_ai-2.6.
|
|
29
|
-
mobile_mcp_ai-2.6.
|
|
30
|
-
mobile_mcp_ai-2.6.
|
|
31
|
-
mobile_mcp_ai-2.6.
|
|
32
|
-
mobile_mcp_ai-2.6.
|
|
28
|
+
mobile_mcp_ai-2.6.12.dist-info/licenses/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
|
|
29
|
+
mobile_mcp_ai-2.6.12.dist-info/METADATA,sha256=U5l7Vu6A-giC5RiEOq30bgjr3lpuZhge9UhiFFewLXw,11166
|
|
30
|
+
mobile_mcp_ai-2.6.12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
31
|
+
mobile_mcp_ai-2.6.12.dist-info/entry_points.txt,sha256=KB_FglozgPHBprSM1vFbIzGyheFuHFmGanscRdMJ_8A,68
|
|
32
|
+
mobile_mcp_ai-2.6.12.dist-info/top_level.txt,sha256=lLm6YpbTv855Lbh8BIA0rPxhybIrvYUzMEk9OErHT94,11
|
|
33
|
+
mobile_mcp_ai-2.6.12.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|