minitap-mcp 0.5.1__py3-none-any.whl → 0.5.3__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.
@@ -45,10 +45,6 @@ async def execute_mobile_command(
45
45
  "For example: 'A JSON array with sender and subject for each email' "
46
46
  "or 'The battery percentage as a number'.",
47
47
  ),
48
- profile: str = Field(
49
- default="default",
50
- description="Name of the profile to use for this task. Defaults to 'default'.",
51
- ),
52
48
  locked_app_package: str | None = Field(
53
49
  default=None,
54
50
  description="Optional package name of the app to lock the device to. "
@@ -62,11 +58,13 @@ async def execute_mobile_command(
62
58
  task=ManualTaskConfig(
63
59
  goal=goal,
64
60
  output_description=output_description,
65
- locked_app_package=locked_app_package,
66
61
  ),
67
62
  )
68
63
  agent = get_mobile_use_agent()
69
- result = await agent.run_task(request=request)
64
+ result = await agent.run_task(
65
+ request=request,
66
+ locked_app_package=locked_app_package,
67
+ )
70
68
  return _serialize_result(result)
71
69
  except Exception as e:
72
70
  raise ToolError(str(e))
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: minitap-mcp
3
- Version: 0.5.1
3
+ Version: 0.5.3
4
4
  Summary: Model Context Protocol server for controlling Android & iOS devices with natural language
5
5
  Author: Pierre-Louis Favreau, Jean-Pierre Lo, Clément Guiguet
6
6
  Requires-Dist: fastmcp>=2.12.4
7
7
  Requires-Dist: python-dotenv>=1.1.1
8
8
  Requires-Dist: pydantic>=2.12.0
9
9
  Requires-Dist: pydantic-settings>=2.10.1
10
- Requires-Dist: minitap-mobile-use>=2.9.1
10
+ Requires-Dist: minitap-mobile-use>=2.9.3
11
11
  Requires-Dist: jinja2>=3.1.6
12
12
  Requires-Dist: langchain-core>=0.3.75
13
13
  Requires-Dist: pillow>=11.1.0
@@ -38,6 +38,7 @@ pip install minitap-mcp
38
38
  Before running the MCP server, ensure you have the required mobile automation tools installed:
39
39
 
40
40
  - **For Android devices:**
41
+
41
42
  - [ADB (Android Debug Bridge)](https://developer.android.com/tools/adb) - For device communication
42
43
  - [Maestro](https://maestro.mobile.dev/) - For mobile automation
43
44
 
@@ -126,7 +127,6 @@ export MCP_SERVER_HOST="0.0.0.0"
126
127
  }
127
128
  ```
128
129
 
129
-
130
130
  ## Available Resources & Tools
131
131
 
132
132
  Once connected, your AI assistant can use these resources and tools:
@@ -175,6 +175,7 @@ Execute natural language commands on your mobile device using the mobile-use SDK
175
175
  - `goal` (required): Natural language command to execute on the device
176
176
  - `output_description` (optional): Description of the expected output format (e.g., "A JSON list of objects with sender and subject keys")
177
177
  - `profile` (optional): Name of the profile to use for this task. Defaults to 'default'
178
+ - `locked_app_package` (optional): Package name of the app to lock the device to. Will launch the app if not already running, and keep it in foreground until the task is completed.
178
179
 
179
180
  **Returns:** Execution result with status, output, and any extracted data.
180
181
 
@@ -264,11 +265,13 @@ export VISION_MODEL="qwen/qwen-2.5-vl-7b-instruct"
264
265
  ## Device Setup
265
266
 
266
267
  ### Android
268
+
267
269
  1. Enable USB debugging on your device
268
270
  2. Connect via USB or network ADB
269
271
  3. Verify connection: `adb devices`
270
272
 
271
273
  ### iOS (macOS only)
274
+
272
275
  1. Install Xcode Command Line Tools
273
276
  2. Start a simulator or connect a physical device
274
277
  3. Verify: `xcrun simctl list devices booted`
@@ -276,14 +279,17 @@ export VISION_MODEL="qwen/qwen-2.5-vl-7b-instruct"
276
279
  ## Troubleshooting
277
280
 
278
281
  **No devices found:**
282
+
279
283
  - Verify ADB/xcrun connection
280
284
  - Check USB debugging is enabled (Android)
281
285
  - Ensure device is unlocked
282
286
 
283
287
  **Connection refused errors:**
288
+
284
289
  - Check ADB/xcrun connection
285
290
 
286
291
  **API authentication errors:**
292
+
287
293
  - Verify `MINITAP_API_KEY` is set correctly
288
294
 
289
295
  ## Links
@@ -21,10 +21,10 @@ minitap/mcp/server/middleware.py,sha256=fbry_IiHmwUxVjsWgOU2goybcS1kLRXFZZ89KPH1
21
21
  minitap/mcp/server/poller.py,sha256=Qakq4yO3EJ9dXmRqtE3sJjyk0ij7VBU-NuupHhTf37g,2539
22
22
  minitap/mcp/tools/analyze_screen.py,sha256=xQALhVfbEn13ao7C3EvzuBusOgjYIkS9hzKhzQSne6g,1991
23
23
  minitap/mcp/tools/compare_screenshot_with_figma.py,sha256=a3rHi8MbomgspJ2iPPgTyRoYrcEai2r4ED_-DssSbNI,4581
24
- minitap/mcp/tools/execute_mobile_command.py,sha256=oYrcm3NEbABPQBTdWLg7ihLFQBL3-L-xEsx_CiTlA9k,2613
24
+ minitap/mcp/tools/execute_mobile_command.py,sha256=iZLQHu-NGSjtjIjzYLTf2Da0t--RgjcFghmUBfhmo1I,2484
25
25
  minitap/mcp/tools/save_figma_assets.py,sha256=V1gnQsJ1tciOxiK08aaqQxOEerJkKzxU8r4hJmkXHtA,9945
26
26
  minitap/mcp/tools/screen_analyzer.md,sha256=TTO80JQWusbA9cKAZn-9cqhgVHm6F_qJh5w152hG3YM,734
27
- minitap_mcp-0.5.1.dist-info/WHEEL,sha256=w4ZtLaDgMAZW2MMZZwtH8zENekoQYBCeullI-zsXJQk,78
28
- minitap_mcp-0.5.1.dist-info/entry_points.txt,sha256=rYVoXm7tSQCqQTtHx4Lovgn1YsjwtEEHfddKrfEVHuY,55
29
- minitap_mcp-0.5.1.dist-info/METADATA,sha256=P13tt0jbzzlLaFQtXaQyLEnErAx-Oyg3YP0huuYYiAE,8641
30
- minitap_mcp-0.5.1.dist-info/RECORD,,
27
+ minitap_mcp-0.5.3.dist-info/WHEEL,sha256=ZHijuPszqKbNczrBXkSuoxdxocbxgFghqnequ9ZQlVk,79
28
+ minitap_mcp-0.5.3.dist-info/entry_points.txt,sha256=rYVoXm7tSQCqQTtHx4Lovgn1YsjwtEEHfddKrfEVHuY,55
29
+ minitap_mcp-0.5.3.dist-info/METADATA,sha256=D6x7r5Lvd_L9OEjDxkRZJPx42kIexF_gK3Ovxf0q4K0,8827
30
+ minitap_mcp-0.5.3.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: uv 0.9.9
2
+ Generator: uv 0.9.10
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any