mobile-next/mobile-mcp
Mobile MCP: let AI agents drive your iOS and Android apps. MCP server for simulators, emulators and real devices. Works with Claude Code, Codex, Cursor and any MCP client.
5b547587b53b@mobilenext/mobile-mcp0.0.1 in package.jsonio.github.mobile-next/mobile-mcpPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 44 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 2 source files could be read only in part
Top risks in plain words
- HIGH2 security advisories have been published for this server itself (worst: high).
- MEDIUMTools
mobile_get_device_logs,mobile_save_screenshot,mobile_start_screen_recordingread or write any file path by design: an agent steered by prompt injection can use them that way. - MEDIUM2 production dependencies have known vulnerabilities (worst: medium).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it only the folder it needs
mobile_get_device_logs,mobile_save_screenshot,mobile_start_screen_recordingcan read or write any file path. Mount a single project folder, read-only where you can. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
mobile_get_device_logs,mobile_save_screenshot,mobile_start_screen_recording, switch them off. - Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Update its vulnerable packages
Use
@hono/node-server2.1.6 or later,hono4.13.16 or later. - Use a fixed version
Versions before
@mobilenext/mobile-mcp0.0.50 have a published vulnerability that is fixed in 0.0.50. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 72 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
get_more_tools, mobile_get_device_logs, mobile_open_url, mobile_save_screenshotget_more_toolsget_more_tools, mobile_allocate_remote_device, mobile_clear_app_data, mobile_click_on_screen_at_coordinates, mobile_clipboard, mobile_double_tap_on_screen and 28 moreNo tool was seen to: start other programs on the machine; read passwords, tokens or keys; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
us.i.posthog.com· get_more_tools
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files2 tools · get_more_tools, mobile_open_url
- web or API responses1 tool · get_more_tools
All three are present: text from outside could make the agent send private data away. Keep confirmations on for tools that send data.
Tool annotations
72 of 72 tools declare annotations. readOnlyHint 24, destructiveHint 8, openWorldHint 40.
get_more_toolsreadOnlyHint is true, and the code writes files: fs.mkdirSync; readOnlyHint is true, and the code writes files: fs.writeFileSync; readOnlyHint is true, and the code writes files: fs.renameSyncget_more_toolsreadOnlyHint is true, and the code writes files: fs.mkdirSync; readOnlyHint is true, and the code writes files: fs.writeFileSync; readOnlyHint is true, and the code writes files: fs.renameSyncmobile_list_available_devicesreadOnlyHint is true, and the code writes files: appendFileSyncmobile_list_available_devicesreadOnlyHint is true, and the code writes files: appendFileSyncmobile_list_appsreadOnlyHint is true, and the code writes files: appendFileSyncmobile_list_appsreadOnlyHint is true, and the code writes files: appendFileSyncmobile_get_foreground_appreadOnlyHint is true, and the code writes files: appendFileSyncmobile_get_foreground_appreadOnlyHint is true, and the code writes files: appendFileSyncmobile_get_screen_sizereadOnlyHint is true, and the code writes files: appendFileSyncmobile_get_screen_sizereadOnlyHint is true, and the code writes files: appendFileSyncmobile_list_elements_on_screenreadOnlyHint is true, and the code writes files: appendFileSyncmobile_list_elements_on_screenreadOnlyHint is true, and the code writes files: appendFileSyncmobile_save_screenshotdestructiveHint is false, and the code deletes: fs.rmSyncmobile_save_screenshotdestructiveHint is false, and the code deletes: fs.rmSyncmobile_take_screenshotreadOnlyHint is true, and the code writes files: appendFileSyncmobile_take_screenshotreadOnlyHint is true, and the code writes files: appendFileSyncmobile_get_device_logsreadOnlyHint is true, and the code writes files: appendFileSync; readOnlyHint is true, and the code writes files: fs.writeFileSync; readOnlyHint is true, and the code writes files: fs.renameSync; readOnlyHint is true, and the code writes files: fs.rmSyncmobile_get_device_logsreadOnlyHint is true, and the code writes files: appendFileSync; readOnlyHint is true, and the code writes files: fs.writeFileSync; readOnlyHint is true, and the code writes files: fs.renameSync; readOnlyHint is true, and the code writes files: fs.rmSyncmobile_get_orientationreadOnlyHint is true, and the code writes files: appendFileSyncmobile_get_orientationreadOnlyHint is true, and the code writes files: appendFileSync
Tools, prompts and resources (72: 72 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
mobile_get_device_logstool Get Device LogsFilesEnv varsread-only (declared)Reads/writes files
Get Device Logs
mobile_get_device_logstool FilesEnv varsread-only (declared)Reads/writes files
No description.
mobile_save_screenshottool Save ScreenshotFilesEnv varsReads/writes files
Save Screenshot
mobile_save_screenshottool FilesEnv varsReads/writes files
No description.
mobile_start_screen_recordingtool Start Screen RecordingEnv varsReads/writes files
Start Screen Recording
mobile_start_screen_recordingtool Env varsReads/writes files
No description.
get_more_toolstool Get More ToolsFilesNetworkEnv varsoutside textread-only (declared)
Get More Tools
get_more_toolstool FilesNetworkEnv varsoutside textread-only (declared)
No description.
mobile_allocate_remote_devicetool Allocate Remote DeviceEnv vars
Allocate Remote Device
mobile_allocate_remote_devicetool Env vars
No description.
mobile_batch_commandstool Batch Commandsdestructive (declared)
Batch Commands
mobile_batch_commandstool destructive (declared)
No description.
mobile_clear_app_datatool Clear App DataEnv varsdestructive (declared)
Clear App Data
mobile_clear_app_datatool Env varsdestructive (declared)
No description.
mobile_click_on_screen_at_coordinatestool Click ScreenEnv vars
Click Screen
mobile_click_on_screen_at_coordinatestool Env vars
No description.
mobile_clipboardtool ClipboardEnv vars
Clipboard
mobile_clipboardtool Env vars
No description.
mobile_double_tap_on_screentool Double Tap ScreenEnv vars
Double Tap Screen
mobile_double_tap_on_screentool Env vars
No description.
mobile_drag_on_screentool Drag On ScreenEnv vars
Drag On Screen
mobile_drag_on_screentool Env vars
No description.
mobile_fold_devicetool Fold DeviceEnv vars
Fold Device
mobile_fold_devicetool Env vars
No description.
mobile_get_crashtool Get Crash ReportEnv varsread-only (declared)
Get Crash Report
mobile_get_crashtool Env varsread-only (declared)
No description.
mobile_get_foreground_apptool Get Foreground AppEnv varsread-only (declared)
Get Foreground App
mobile_get_foreground_apptool Env varsread-only (declared)
No description.
mobile_get_orientationtool Get OrientationEnv varsread-only (declared)
Get Orientation
mobile_get_orientationtool Env varsread-only (declared)
No description.
mobile_get_screen_sizetool Get Screen SizeEnv varsread-only (declared)
Get Screen Size
mobile_get_screen_sizetool Env varsread-only (declared)
No description.
mobile_install_apptool Install AppEnv vars
Install App
mobile_install_apptool Env vars
No description.
mobile_launch_apptool Launch AppEnv vars
Launch App
mobile_launch_apptool Env vars
No description.
mobile_list_appstool List AppsEnv varsread-only (declared)
List Apps
mobile_list_appstool Env varsread-only (declared)
No description.
mobile_list_available_devicestool List DevicesEnv varsread-only (declared)
List Devices
mobile_list_available_devicestool Env varsread-only (declared)
No description.
mobile_list_crashestool List Crash ReportsEnv varsread-only (declared)
List Crash Reports
mobile_list_crashestool Env varsread-only (declared)
No description.
mobile_list_elements_on_screentool List Screen ElementsEnv varsread-only (declared)
List Screen Elements
mobile_list_elements_on_screentool Env varsread-only (declared)
No description.
mobile_list_remote_devicestool List Remote DevicesEnv varsread-only (declared)
List Remote Devices
mobile_list_remote_devicestool Env varsread-only (declared)
No description.
mobile_login_to_cloud_providertool Login to Cloud ProviderEnv vars
Login to Cloud Provider
mobile_login_to_cloud_providertool Env vars
No description.
mobile_long_press_on_screen_at_coordinatestool Long Press ScreenEnv vars
Long Press Screen
mobile_long_press_on_screen_at_coordinatestool Env vars
No description.
mobile_open_urltool Open URLFilesEnv varsoutside text
Open URL
mobile_open_urltool FilesEnv varsoutside text
No description.
mobile_press_buttontool Press ButtonEnv vars
Press Button
mobile_press_buttontool Env vars
No description.
mobile_release_remote_devicetool Release Remote DeviceEnv varsdestructive (declared)
Release Remote Device
mobile_release_remote_devicetool Env varsdestructive (declared)
No description.
mobile_set_locationtool Set LocationEnv vars
Set Location
mobile_set_locationtool Env vars
No description.
mobile_set_orientationtool Set OrientationEnv vars
Set Orientation
mobile_set_orientationtool Env vars
No description.
mobile_stop_screen_recordingtool Stop Screen Recording
Stop Screen Recording
mobile_stop_screen_recordingtool
No description.
mobile_swipe_on_screentool Swipe ScreenEnv vars
Swipe Screen
mobile_swipe_on_screentool Env vars
No description.
mobile_take_screenshottool Take ScreenshotEnv varsread-only (declared)
Take Screenshot
mobile_take_screenshottool Env varsread-only (declared)
No description.
mobile_terminate_apptool Terminate AppEnv vars
Terminate App
mobile_terminate_apptool Env vars
No description.
mobile_type_keystool Type TextEnv vars
Type Text
mobile_type_keystool Env vars
No description.
mobile_uninstall_apptool Uninstall AppEnv varsdestructive (declared)
Uninstall App
mobile_uninstall_apptool Env varsdestructive (declared)
No description.
Text the model reads (72)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
get_more_tools tool
Get More Tools
get_more_tools tool
mobile_list_available_devices tool
List Devices
mobile_list_available_devices tool
mobile_login_to_cloud_provider tool
Login to Cloud Provider
mobile_login_to_cloud_provider tool
mobile_list_remote_devices tool
List Remote Devices
mobile_list_remote_devices tool
mobile_allocate_remote_device tool
Allocate Remote Device
mobile_allocate_remote_device tool
mobile_release_remote_device tool
Release Remote Device
mobile_release_remote_device tool
mobile_list_apps tool
List Apps
mobile_list_apps tool
mobile_get_foreground_app tool
Get Foreground App
mobile_get_foreground_app tool
mobile_launch_app tool
Launch App
mobile_launch_app tool
mobile_terminate_app tool
Terminate App
mobile_terminate_app tool
mobile_clear_app_data tool
Clear App Data
mobile_clear_app_data tool
mobile_install_app tool
Install App
mobile_install_app tool
mobile_uninstall_app tool
Uninstall App
mobile_uninstall_app tool
mobile_get_screen_size tool
Get Screen Size
mobile_get_screen_size tool
mobile_click_on_screen_at_coordinates tool
Click Screen
mobile_click_on_screen_at_coordinates tool
mobile_double_tap_on_screen tool
Double Tap Screen
mobile_double_tap_on_screen tool
mobile_drag_on_screen tool
Drag On Screen
mobile_drag_on_screen tool
mobile_long_press_on_screen_at_coordinates tool
Long Press Screen
mobile_long_press_on_screen_at_coordinates tool
mobile_list_elements_on_screen tool
List Screen Elements
mobile_list_elements_on_screen tool
mobile_press_button tool
Press Button
mobile_press_button tool
mobile_open_url tool
Open URL
mobile_open_url tool
mobile_swipe_on_screen tool
Swipe Screen
mobile_swipe_on_screen tool
mobile_type_keys tool
Type Text
mobile_type_keys tool
mobile_save_screenshot tool
Save Screenshot
mobile_save_screenshot tool
mobile_take_screenshot tool
Take Screenshot
mobile_take_screenshot tool
mobile_set_orientation tool
Set Orientation
mobile_set_orientation tool
mobile_fold_device tool
Fold Device
mobile_fold_device tool
mobile_set_location tool
Set Location
mobile_set_location tool
mobile_clipboard tool
Clipboard
mobile_clipboard tool
mobile_get_device_logs tool
Get Device Logs
mobile_get_device_logs tool
mobile_get_orientation tool
Get Orientation
mobile_get_orientation tool
mobile_start_screen_recording tool
Start Screen Recording
mobile_start_screen_recording tool
mobile_stop_screen_recording tool
Stop Screen Recording
mobile_stop_screen_recording tool
mobile_list_crashes tool
List Crash Reports
mobile_list_crashes tool
mobile_get_crash tool
Get Crash Report
mobile_get_crash tool
mobile_batch_commands tool
Batch Commands
mobile_batch_commands tool
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 72 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 72 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file path MEDIUM9 findings in mobile_get_device_logs, mobile_save_screenshot, mobile_start_screen_recording
- Requests any addressNo tool sends a request to an address the caller supplies — 72 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 72 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 72 capabilities; 72 more call code the scanner could not follow, where it may happen
- Tools that touch files8 of 72 capabilities touch files; 64 more call code the scanner could not follow, where it may happen
- Tools that call the network2 of 72 capabilities call the network; 70 more call code the scanner could not follow, where it may happen
Where the code is: 72 handlers in 1 file at commit 5b547587b53b
src/server.tsget_more_tools, get_more_tools, mobile_list_available_devices, mobile_list_available_devices, mobile_login_to_cloud_provider, mobile_login_to_cloud_provider, mobile_list_remote_devices, mobile_list_remote_devices, mobile_allocate_remote_device, mobile_allocate_remote_device, mobile_release_remote_device, mobile_release_remote_device +60
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: package.json
- Lockfiles checked against OSV1 file resolved and checked against the OSV database
- Known vulnerabilities in production dependencies MEDIUM2 production packages with known advisories
- Known vulnerabilities in other dependencies4 packages with advisories used only for development, tests or examples; an install of the server leaves them out
- MCP SDK version@modelcontextprotocol/client ^2.3.1 (dev), @modelcontextprotocol/express 2.0.2, @modelcontextprotocol/node ^2.1.2, @modelcontextprotocol/server 2.4.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 72 capabilities; 72 more call code the scanner could not follow, where it may happen
- Environment variables68 capabilities read environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (36 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (2 in production)
hononpm 4.13.12 MEDIUM 5 advisories 4.13.16
- MEDIUMGHSA-4h7h-rv7c-7m2v CVE-2026-126356Hono: `validator('form')` skips validation for `multipart/form-data` requests with extra parameters
- MEDIUMGHSA-h7mg-cq63-vhpq CVE-2026-126358Hono: RegExpRouter skips wildcard middleware for some route sets and for paths with an encoded line terminator
- MEDIUMGHSA-4m76-xfj5-7975 CVE-2026-126357Hono: `mount()` and `app.mount()` can forward a path that bypasses middleware scoped inside the mount prefix
- MEDIUMGHSA-46wx-v44x-9hh2 CVE-2026-126355Hono: `csrf()` does not check requests sent by hyperlink auditing (`text/ping`)
- LOWGHSA-3gg2-335m-rxc6 CVE-2026-126359Hono: `css` helper does not escape a closing tag split between the template and an interpolated value, allowing HTML injection
@hono/node-servernpm 2.1.5 MEDIUM 2 advisories 1.19.182.1.6
- MEDIUMGHSA-qv5m-9pm6-hqp3 CVE-2026-126343@hono/node-server: Unhandled `ECONNRESET` on the socket during an asynchronous WebSocket upgrade crashes the process
- MEDIUMGHSA-jpvv-r467-5p4w CVE-2026-126210@hono/node-server: Backslash in the request path is parsed as a path separator, bypassing path-based access control at a reverse proxy
4 vulnerable packages outside the server itself (used only for development, tests or examples, not shipped)
globnpm 10.5.0 MEDIUM 1 advisory 14.0.2
- MEDIUMGHSA-3g3m-2fjr-6pw4 CVE-2026-118773Glob: AbortSignal cancellation bypass allows post-timeout filesystem traversal
minimatchnpm 10.2.6 MEDIUM 1 advisory 11.0.1
- MEDIUMGHSA-g3hv-75wg-m249 CVE-2026-118764minimatch has potential denial of service via globparts amplification
minimatchnpm 9.0.9 MEDIUM 1 advisory 11.0.1
- MEDIUMGHSA-g3hv-75wg-m249 CVE-2026-118764minimatch has potential denial of service via globparts amplification
fast-xml-parsernpm 5.8.0 LOW 1 advisory 5.12.0
- LOWGHSA-474x-hrwr-fgx4 CVE-2026-126066fast-xml-parser: Quadratic CPU consumption scanning unterminated stop-node tags
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
- HIGH GHSA-5qhv-x9j4-c3vmCVE-2026-35394@mobilenext/mobile-mcp: Arbitrary Android Intent Execution via mobile_open_url
- HIGH GHSA-3p2m-h2v6-g9mxCVE-2026-33989@mobilenext/mobile-mcp alllows arbitrary file write via Path Traversal in mobile screen capture tools
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/client ^2.3.1 (dev), @modelcontextprotocol/express 2.0.2, @modelcontextprotocol/node ^2.1.2, @modelcontextprotocol/server 2.4.0 |
| Servers in the code | 1 (mobile-mcp) |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | the policy does not name a private channel |
| Past advisories | 2 · 2 with a fixed version released |
| Last push | 2026-11-11 |
| Signed releases | not checked yet |
Install it
For the server's own npm package @mobilenext/mobile-mcp. Pin a version (@mobilenext/[email protected]) so an update cannot change the tools without you noticing.
Claude Desktop claude_desktop_config.json
{
"mcpServers": {
"mobile-mcp": {
"command": "npx",
"args": [
"-y",
"@mobilenext/mobile-mcp"
]
}
}
}Cursor ~/.cursor/mcp.json
{
"mcpServers": {
"mobile-mcp": {
"command": "npx",
"args": [
"-y",
"@mobilenext/mobile-mcp"
]
}
}
}VS Code .vscode/mcp.json
{
"servers": {
"mobile-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mobilenext/mobile-mcp"
]
}
}
}Claude Code terminal
claude mcp add mobile-mcp -- npx -y @mobilenext/mobile-mcpWhere it is published
| npm package | @mobilenext/mobile-mcp |
|---|---|
| MCP Registry | io.github.mobile-next/mobile-mcp |
| Listed in | 7 catalogs (awesome_habitoai, awesome_tensorblock, github_search, glama, mcp_registry, mcp_toplist, mcpservers_org) |
| License | Apache-2.0 |
| Created | 2025-03-28 |
| Topics | agent android android-automation appium-alternative claude-code codex cursor emulator ios ios-automation |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.