mobile-mcp-ai 2.3.4__py3-none-any.whl → 2.5.8__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/core/basic_tools_lite.py +2302 -153
- mobile_mcp/core/device_manager.py +2 -2
- mobile_mcp/core/ios_client_wda.py +18 -0
- mobile_mcp/core/mobile_client.py +9 -9
- mobile_mcp/core/template_matcher.py +429 -0
- mobile_mcp/core/templates/close_buttons/auto_x_0112_151217.png +0 -0
- mobile_mcp/core/templates/close_buttons/auto_x_0112_152037.png +0 -0
- mobile_mcp/core/templates/close_buttons/auto_x_0112_152840.png +0 -0
- mobile_mcp/core/templates/close_buttons/auto_x_0112_153256.png +0 -0
- mobile_mcp/core/templates/close_buttons/auto_x_0112_154847.png +0 -0
- mobile_mcp/core/templates/close_buttons/gray_x_stock_ad.png +0 -0
- mobile_mcp/core/utils/smart_wait.py +3 -3
- mobile_mcp/mcp_tools/mcp_server.py +548 -60
- {mobile_mcp_ai-2.3.4.dist-info → mobile_mcp_ai-2.5.8.dist-info}/METADATA +16 -2
- mobile_mcp_ai-2.5.8.dist-info/RECORD +32 -0
- mobile_mcp_ai-2.3.4.dist-info/RECORD +0 -25
- {mobile_mcp_ai-2.3.4.dist-info → mobile_mcp_ai-2.5.8.dist-info}/WHEEL +0 -0
- {mobile_mcp_ai-2.3.4.dist-info → mobile_mcp_ai-2.5.8.dist-info}/entry_points.txt +0 -0
- {mobile_mcp_ai-2.3.4.dist-info → mobile_mcp_ai-2.5.8.dist-info}/licenses/LICENSE +0 -0
- {mobile_mcp_ai-2.3.4.dist-info → mobile_mcp_ai-2.5.8.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.
|
|
3
|
+
Version: 2.5.8
|
|
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
|
|
@@ -41,7 +41,8 @@ Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
|
|
|
41
41
|
Requires-Dist: twine>=4.0.0; extra == "dev"
|
|
42
42
|
Requires-Dist: build>=0.10.0; extra == "dev"
|
|
43
43
|
Provides-Extra: ios
|
|
44
|
-
Requires-Dist:
|
|
44
|
+
Requires-Dist: tidevice>=0.11.0; extra == "ios"
|
|
45
|
+
Requires-Dist: facebook-wda>=1.4.0; extra == "ios"
|
|
45
46
|
Provides-Extra: h5
|
|
46
47
|
Requires-Dist: Appium-Python-Client>=3.0.0; extra == "h5"
|
|
47
48
|
Requires-Dist: selenium>=4.0.0; extra == "h5"
|
|
@@ -407,10 +408,18 @@ tidevice list
|
|
|
407
408
|
|:---:|------|------|
|
|
408
409
|
| 📋 | `mobile_list_elements` | 列出页面元素 |
|
|
409
410
|
| 📸 | `mobile_take_screenshot` | 截图 |
|
|
411
|
+
| 📸 | `mobile_screenshot_with_som` | Set-of-Mark 截图(智能标注) |
|
|
412
|
+
| 📸 | `mobile_screenshot_with_grid` | 带网格坐标的截图 |
|
|
410
413
|
| 📐 | `mobile_get_screen_size` | 屏幕尺寸 |
|
|
411
414
|
| 👆 | `mobile_click_by_text` | 文本点击 |
|
|
412
415
|
| 👆 | `mobile_click_by_id` | ID 点击 |
|
|
413
416
|
| 👆 | `mobile_click_at_coords` | 坐标点击 |
|
|
417
|
+
| 👆 | `mobile_click_by_percent` | 百分比点击 |
|
|
418
|
+
| 👆 | `mobile_click_by_som` | SoM 编号点击 |
|
|
419
|
+
| 👆 | `mobile_long_press_by_id` | ID 长按 |
|
|
420
|
+
| 👆 | `mobile_long_press_by_text` | 文本长按 |
|
|
421
|
+
| 👆 | `mobile_long_press_by_percent` | 百分比长按 |
|
|
422
|
+
| 👆 | `mobile_long_press_at_coords` | 坐标长按 |
|
|
414
423
|
| ⌨️ | `mobile_input_text_by_id` | ID 输入 |
|
|
415
424
|
| ⌨️ | `mobile_input_at_coords` | 坐标输入 |
|
|
416
425
|
| 👆 | `mobile_swipe` | 滑动 |
|
|
@@ -421,6 +430,11 @@ tidevice list
|
|
|
421
430
|
| 📦 | `mobile_list_apps` | 列出应用 |
|
|
422
431
|
| 📱 | `mobile_list_devices` | 列出设备 |
|
|
423
432
|
| 🔌 | `mobile_check_connection` | 检查连接 |
|
|
433
|
+
| 🔍 | `mobile_find_close_button` | 查找关闭按钮 |
|
|
434
|
+
| 🚫 | `mobile_close_popup` | 关闭弹窗 |
|
|
435
|
+
| 🚫 | `mobile_close_ad` | 智能关闭广告弹窗 |
|
|
436
|
+
| 🎯 | `mobile_template_close` | 模板匹配关闭弹窗 |
|
|
437
|
+
| ➕ | `mobile_template_add` | 添加 X 号模板 |
|
|
424
438
|
| ✅ | `mobile_assert_text` | 断言文本 |
|
|
425
439
|
| 📜 | `mobile_get_operation_history` | 操作历史 |
|
|
426
440
|
| 🗑️ | `mobile_clear_operation_history` | 清空历史 |
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
mobile_mcp/__init__.py,sha256=sQJZTL_sxQFzmcS7jOtS2AHCfUySz40vhX96N6u1qy4,816
|
|
2
|
+
mobile_mcp/config.py,sha256=yaFLAV4bc2wX0GQPtZDo7OYF9E88tXV-av41fQsJwK4,4480
|
|
3
|
+
mobile_mcp/core/__init__.py,sha256=ndMy-cLAIsQDG5op7gM_AIplycqZSZPWEkec1pEhvEY,170
|
|
4
|
+
mobile_mcp/core/basic_tools_lite.py,sha256=hmsNjoNH-EsSU7GAclSsYiYKgds0RlmdrVlGmun3gPw,153561
|
|
5
|
+
mobile_mcp/core/device_manager.py,sha256=xG5DoeNFs45pl-FTEhEWblqVwxtFK-FmVEGlNL6EqRI,8798
|
|
6
|
+
mobile_mcp/core/dynamic_config.py,sha256=Ja1n1pfb0HspGByqk2_A472mYVniKmGtNEWyjUjmgK8,9811
|
|
7
|
+
mobile_mcp/core/ios_client_wda.py,sha256=Nq9WxevhTWpVpolM-Ymp-b0nUQV3tXLFszmJHbDC4wA,18770
|
|
8
|
+
mobile_mcp/core/ios_device_manager_wda.py,sha256=A44glqI-24un7qST-E3w6BQD8mV92YVUbxy4rLlTScY,11264
|
|
9
|
+
mobile_mcp/core/mobile_client.py,sha256=ELl2ypgJunsKVkWwhkXN8zco4mj3OnGGqtSEofpSmWc,62714
|
|
10
|
+
mobile_mcp/core/template_matcher.py,sha256=tv8RU6zdeDobqphaP4Y8sicb1esg3gcQlZae1tNyitM,14559
|
|
11
|
+
mobile_mcp/core/templates/close_buttons/auto_x_0112_151217.png,sha256=s7tBVaYLBApNSEXjwi5kX8GXwUqgbNyNVEhXYjN9nd4,27373
|
|
12
|
+
mobile_mcp/core/templates/close_buttons/auto_x_0112_152037.png,sha256=s7tBVaYLBApNSEXjwi5kX8GXwUqgbNyNVEhXYjN9nd4,27373
|
|
13
|
+
mobile_mcp/core/templates/close_buttons/auto_x_0112_152840.png,sha256=s7tBVaYLBApNSEXjwi5kX8GXwUqgbNyNVEhXYjN9nd4,27373
|
|
14
|
+
mobile_mcp/core/templates/close_buttons/auto_x_0112_153256.png,sha256=s7tBVaYLBApNSEXjwi5kX8GXwUqgbNyNVEhXYjN9nd4,27373
|
|
15
|
+
mobile_mcp/core/templates/close_buttons/auto_x_0112_154847.png,sha256=apPPFft1LLP_4KppbRGd2zOl3nfSGYFqzYeyzncaduk,27679
|
|
16
|
+
mobile_mcp/core/templates/close_buttons/gray_x_stock_ad.png,sha256=5D3pOa74Zj21v7I-zpYo2Pe4ZC8PB-N3_yo_LFNnlLw,4504
|
|
17
|
+
mobile_mcp/core/utils/__init__.py,sha256=RhMMsPszmEn8Q8GoNufypVSHJxyM9lio9U6jjpnuoPI,378
|
|
18
|
+
mobile_mcp/core/utils/logger.py,sha256=XXQAHUwT1jc70pq_tYFmL6f_nKrFlYm3hcgl-5RYRg0,3402
|
|
19
|
+
mobile_mcp/core/utils/operation_history_manager.py,sha256=gi8S8HJAMqvkUrY7_-kVbko3Xt7c4GAUziEujRd-N-Y,4792
|
|
20
|
+
mobile_mcp/core/utils/smart_wait.py,sha256=N5wKTUYrNWPruBILqrAjpvtso8Z3GRWCfMIR_aZxPLg,8649
|
|
21
|
+
mobile_mcp/mcp_tools/__init__.py,sha256=xkro8Rwqv_55YlVyhh-3DgRFSsLE3h1r31VIb3bpM6E,143
|
|
22
|
+
mobile_mcp/mcp_tools/mcp_server.py,sha256=fr42BjulYQCBreWoLx5lkWEZjT60Df6RCo_kyXMOHfI,49868
|
|
23
|
+
mobile_mcp/utils/__init__.py,sha256=8EH0i7UGtx1y_j_GEgdN-cZdWn2sRtZSEOLlNF9HRnY,158
|
|
24
|
+
mobile_mcp/utils/logger.py,sha256=Sqq2Nr0Y4p03erqcrbYKVPCGiFaNGHMcE_JwCkeOfU4,3626
|
|
25
|
+
mobile_mcp/utils/xml_formatter.py,sha256=uwTRb3vLbqhT8O-udzWT7s7LsV-DyDUz2DkofD3hXOE,4556
|
|
26
|
+
mobile_mcp/utils/xml_parser.py,sha256=QhL8CWbdmNDzmBLjtx6mEnjHgMFZzJeHpCL15qfXSpI,3926
|
|
27
|
+
mobile_mcp_ai-2.5.8.dist-info/licenses/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
|
|
28
|
+
mobile_mcp_ai-2.5.8.dist-info/METADATA,sha256=vwWnw9dqb_pqiZz635gcRRW4TvyI_WKavutrapxCBHQ,10495
|
|
29
|
+
mobile_mcp_ai-2.5.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
30
|
+
mobile_mcp_ai-2.5.8.dist-info/entry_points.txt,sha256=KB_FglozgPHBprSM1vFbIzGyheFuHFmGanscRdMJ_8A,68
|
|
31
|
+
mobile_mcp_ai-2.5.8.dist-info/top_level.txt,sha256=lLm6YpbTv855Lbh8BIA0rPxhybIrvYUzMEk9OErHT94,11
|
|
32
|
+
mobile_mcp_ai-2.5.8.dist-info/RECORD,,
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
mobile_mcp/__init__.py,sha256=sQJZTL_sxQFzmcS7jOtS2AHCfUySz40vhX96N6u1qy4,816
|
|
2
|
-
mobile_mcp/config.py,sha256=yaFLAV4bc2wX0GQPtZDo7OYF9E88tXV-av41fQsJwK4,4480
|
|
3
|
-
mobile_mcp/core/__init__.py,sha256=ndMy-cLAIsQDG5op7gM_AIplycqZSZPWEkec1pEhvEY,170
|
|
4
|
-
mobile_mcp/core/basic_tools_lite.py,sha256=uq2af3L2ru5ZcO_zKuG2yy3iXKvThkd0HWh-qEsnkkI,50496
|
|
5
|
-
mobile_mcp/core/device_manager.py,sha256=PX3-B5bJFnKNt6C8fT7FSY8JwD-ngZ3toF88bcOV9qA,8766
|
|
6
|
-
mobile_mcp/core/dynamic_config.py,sha256=Ja1n1pfb0HspGByqk2_A472mYVniKmGtNEWyjUjmgK8,9811
|
|
7
|
-
mobile_mcp/core/ios_client_wda.py,sha256=St6nOeXW0wiolLm6iQ2Etuwr1cvzwnlnYwGUxA3-JD4,18752
|
|
8
|
-
mobile_mcp/core/ios_device_manager_wda.py,sha256=A44glqI-24un7qST-E3w6BQD8mV92YVUbxy4rLlTScY,11264
|
|
9
|
-
mobile_mcp/core/mobile_client.py,sha256=bno3HvU-QSAC3G4TnoFngTxqXeu-ZP5rGlEWdWh8jOo,62570
|
|
10
|
-
mobile_mcp/core/utils/__init__.py,sha256=RhMMsPszmEn8Q8GoNufypVSHJxyM9lio9U6jjpnuoPI,378
|
|
11
|
-
mobile_mcp/core/utils/logger.py,sha256=XXQAHUwT1jc70pq_tYFmL6f_nKrFlYm3hcgl-5RYRg0,3402
|
|
12
|
-
mobile_mcp/core/utils/operation_history_manager.py,sha256=gi8S8HJAMqvkUrY7_-kVbko3Xt7c4GAUziEujRd-N-Y,4792
|
|
13
|
-
mobile_mcp/core/utils/smart_wait.py,sha256=PvKXImfN9Irru3bQJUjf4FLGn8LjY2VLzUNEl-i7xLE,8601
|
|
14
|
-
mobile_mcp/mcp_tools/__init__.py,sha256=xkro8Rwqv_55YlVyhh-3DgRFSsLE3h1r31VIb3bpM6E,143
|
|
15
|
-
mobile_mcp/mcp_tools/mcp_server.py,sha256=Gh5LF1PbgVjw6-DmrPdk17MAsd7q2H6kWgOQ7RPQNew,25338
|
|
16
|
-
mobile_mcp/utils/__init__.py,sha256=8EH0i7UGtx1y_j_GEgdN-cZdWn2sRtZSEOLlNF9HRnY,158
|
|
17
|
-
mobile_mcp/utils/logger.py,sha256=Sqq2Nr0Y4p03erqcrbYKVPCGiFaNGHMcE_JwCkeOfU4,3626
|
|
18
|
-
mobile_mcp/utils/xml_formatter.py,sha256=uwTRb3vLbqhT8O-udzWT7s7LsV-DyDUz2DkofD3hXOE,4556
|
|
19
|
-
mobile_mcp/utils/xml_parser.py,sha256=QhL8CWbdmNDzmBLjtx6mEnjHgMFZzJeHpCL15qfXSpI,3926
|
|
20
|
-
mobile_mcp_ai-2.3.4.dist-info/licenses/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
|
|
21
|
-
mobile_mcp_ai-2.3.4.dist-info/METADATA,sha256=O5_qo6AvaIWGQzWYDtYF-_OVeImU_FkJDMzXSihxupY,9705
|
|
22
|
-
mobile_mcp_ai-2.3.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
23
|
-
mobile_mcp_ai-2.3.4.dist-info/entry_points.txt,sha256=KB_FglozgPHBprSM1vFbIzGyheFuHFmGanscRdMJ_8A,68
|
|
24
|
-
mobile_mcp_ai-2.3.4.dist-info/top_level.txt,sha256=lLm6YpbTv855Lbh8BIA0rPxhybIrvYUzMEk9OErHT94,11
|
|
25
|
-
mobile_mcp_ai-2.3.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|