mobile-mcp (mobile-next/mobile-mcp)

Searching Database…

What is this?Mobile MCP is a Model Context Protocol server that lets AI agents automate and scrape native iOS and Android apps - on simulators, emulators, or real devices - through a single platform-agnostic set of tools.
Is this a library I import, or a standalone server?It's a standalone MCP server process (run via npx or as an HTTP service) that any MCP-compatible agent or IDE connects to; it's not a library you import into app code.
How do I add it to my AI tool?Add an MCP server entry pointing to 'npx -y @mobilenext/mobile-mcp@latest' in your client's config (Claude Code, Cursor, Codex, Gemini CLI, Windsurf, etc. are all supported with example configs).
What do I need installed on my machine first?You need Xcode command line tools and a booted iOS simulator for iOS, Android Platform Tools (adb) with a running emulator or connected device for Android, and Node.js v20+.
Does it always use the real UI tree, or does it fall back to screenshots?It primarily drives apps from the native accessibility tree for speed and cost, but falls back to screenshots plus tapped coordinates when accessibility data isn't enough.
Which agents and clients can connect to it?Any MCP-compatible client works, with explicit setup instructions for Claude Code, Claude Desktop, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose, Cline, Kiro, opencode and Amp.
Can I run device automation without owning a physical phone?Yes - it works against local simulators/emulators, real USB-connected devices, or against real cloud-hosted iOS/Android devices via Mobile Next Cloud with no local setup.
Does it phone home with usage data?Yes, it sends anonymous usage telemetry via PostHog and Scarf by default, but this can be disabled with an environment variable.
What can the agent actually do on a device?It can tap, swipe, type, install/launch/terminate apps, take screenshots, record video, read device logs and crash reports, and run batches of these actions in one call.
Can I secure the remote HTTP server?Yes, setting MOBILEMCPAUTH requires every request to include a Bearer token; without it the HTTP server accepts unauthenticated connections.
What is mobilewright or mobilecli?They are companion Mobile Next tools: mobilecli is the underlying device CLI Mobile MCP is built on, and mobilewright turns agent-driven exploration into repeatable deterministic Playwright-style tests.
How do I verify it's working?After configuring it, ask your agent to 'list available devices' - it should return your running simulators, emulators, and connected devices.
Size
4.5 MB
Stars
10.9K
Age
1y
Commits · 90 Days