Mobile MCP
Drive iOS and Android simulators, emulators and real devices via the accessibility tree
Mobile MCP is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, macOS, iOS
- Runs
- Locally
- What it can do
- Can delete data (1 tool)
- Version
- 1.0.20
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add mobile-mcp -- npx -y @mobilenext/mobile-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mobile-mcp": {
"command": "npx",
"args": [
"-y",
"@mobilenext/mobile-mcp"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"mobile-mcp": {
"command": "npx",
"args": [
"-y",
"@mobilenext/mobile-mcp"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mobile-mcp": {
"command": "npx",
"args": [
"-y",
"@mobilenext/mobile-mcp"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mobile-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mobilenext/mobile-mcp"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add mobile-mcp -- npx -y @mobilenext/mobile-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mobile-mcp]
command = "npx"
args = ["-y", "@mobilenext/mobile-mcp"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mobile-mcp": {
"command": "npx",
"args": [
"-y",
"@mobilenext/mobile-mcp"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mobile-mcp": { "command": "npx", "args": [ "-y", "@mobilenext/mobile-mcp" ] } } }Or run: gemini mcp add -s user mobile-mcp npx -- -y @mobilenext/mobile-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mobile-mcp": { "command": "npx", "args": [ "-y", "@mobilenext/mobile-mcp" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mobile-mcp": { "command": "npx", "args": [ "-y", "@mobilenext/mobile-mcp" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mobile-mcp": { "command": "npx", "args": [ "-y", "@mobilenext/mobile-mcp" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mobile-mcp": { "command": "npx", "args": [ "-y", "@mobilenext/mobile-mcp" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mobile-mcp": { "command": "npx", "args": [ "-y", "@mobilenext/mobile-mcp" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mobile-mcp": { "command": "npx", "args": [ "-y", "@mobilenext/mobile-mcp" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mobile-mcp": { "command": "npx", "args": [ "-y", "@mobilenext/mobile-mcp" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Mobile MCP
Mobile MCP lets an agent operate native apps without per-platform test code. It reads the native accessibility tree rather than relying on a vision model, which the README says is faster and cheaper, and falls back to screenshots and coordinates only when needed. The same tools cover iOS simulators and real devices, and Android emulators and real devices.
The tool list is broad: device management (orientation, foldables, GPS override, clipboard), app install, launch and clear data, taps, swipes and long presses, text input and hardware buttons, screen recording, device logs and crash reports, and batch commands that run several steps in one call. Optional Mobile Next Cloud tools can reserve a physical cloud device instead of using local hardware.
Requirements are Node.js 20 or newer, Xcode command line tools for iOS and Android Platform Tools for Android. An install command detects supported MCP clients on your machine and configures the ones you pick. Claude Code users in Ghostty or kitty can mirror the device screen in a side pane.
Tools this server provides (34)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 of 34 tools deletes data and 4 change data; 19 names don't say.
From the server's own tool labels and tool names; not verified by us.
- mobile_list_available_devicesName suggests: reads
- List simulators, emulators and real devices.
- mobile_get_screen_sizeName suggests: reads
- Get the device screen size in pixels.
- mobile_get_orientationName suggests: reads
- Get the current screen orientation.
- mobile_set_orientationName suggests: changes
- Change the orientation between portrait and landscape.
- mobile_fold_device
- Fold or unfold a foldable device.
- mobile_set_locationName suggests: changes
- Override or clear the reported GPS location.
- mobile_clipboard
- Read or replace the device clipboard.
- mobile_login_to_cloud_provider
- Authenticate with the cloud device provider.
- mobile_list_remote_devicesName suggests: reads
- List cloud device models available to reserve.
- mobile_allocate_remote_device
- Reserve a physical cloud device.
- mobile_release_remote_device
- Release a reserved cloud device.
- mobile_list_appsName suggests: reads
- List installed apps.
- mobile_get_foreground_appName suggests: reads
- Get the app in the foreground.
- mobile_launch_app
- Launch an app by package name.
- mobile_terminate_app
- Stop a running app.
- mobile_install_app
- Install an app from a file.
- mobile_uninstall_appName suggests: deletes
- Uninstall an app.
- mobile_clear_app_data
- Clear an app's data.
- mobile_take_screenshot
- Take a screenshot.
- mobile_save_screenshot
- Save a screenshot to a file.
- mobile_list_elements_on_screenName suggests: reads
- List UI elements with coordinates and properties.
- mobile_click_on_screen_at_coordinates
- Click at coordinates or on an element by ref.
- mobile_double_tap_on_screen
- Double-tap at coordinates or on an element.
- mobile_long_press_on_screen_at_coordinates
- Long press at coordinates or on an element.
- mobile_swipe_on_screen
- Swipe up, down, left or right.
- mobile_start_screen_recordingName suggests: changes
- Start recording the screen.
- mobile_stop_screen_recordingName suggests: changes
- Stop and save the recording.
- mobile_type_keys
- Type text into the focused element.
- mobile_press_button
- Press device buttons such as HOME or BACK.
- mobile_open_url
- Open a URL in the device browser.
- mobile_get_device_logsName suggests: reads
- Collect live device logs.
- mobile_list_crashesName suggests: reads
- List crash reports on the device.
- mobile_get_crashName suggests: reads
- Get a crash report by ID.
- mobile_batch_commands
- Run several tools in sequence in one call.
What it does
- Accessibility-first control
- Drives apps from the native UI tree, with screenshots as a fallback.
- iOS and Android targets
- Simulators, emulators and real devices share one tool set.
- Gestures and input
- Taps, double taps, long presses, swipes, typing and hardware buttons.
- App lifecycle
- Install, launch, terminate, uninstall and clear data.
- Logs and crashes
- Collect device logs and read crash reports.
- Cloud devices
- Reserve real devices from Mobile Next Cloud.
Good for
- Automate a multi-step flow in a native app
- Fill forms or enter data in a mobile app
- Capture screenshots and screen recordings for bug reports
- Test a deep link or location override
- Pull a crash report for debugging
Pricing
Open source
Free to run locally; Mobile Next Cloud is a separate service
Mobile MCP FAQ
What do I need installed?
Node.js 20 or newer, Xcode command line tools for iOS, and Android Platform Tools for Android.
Does Mobile MCP need a vision model?
Not usually; it uses the accessibility tree and only falls back to screenshots when needed.
Which devices work?
iOS simulators and real devices, Android emulators and real devices.
How do I install Mobile MCP?
Run npx @mobilenext/mobile-mcp@latest install to configure detected clients, or add the npx entry by hand.
Can I use cloud devices?
Yes, through Mobile Next Cloud with the same tools.
Is Mobile MCP free?
Yes. Mobile MCP is open source, so you can use and self-host it for free.
How do I add Mobile MCP to Claude Code?
Run this command in your terminal: claude mcp add mobile-mcp -- npx -y @mobilenext/mobile-mcp
What are the best alternatives to Mobile MCP?
The closest alternatives to Mobile MCP are REA, Browser Use, Scrapling MCP Server, Context7 and Chrome DevTools MCP.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


