Submit

Mobile Device Mcp

@saranshbamania

MCP server that gives AI coding assistants the ability to see and interact with mobile devices. 49 tools for Android/iOS — AI-powered visual analysis (Claude + Gemini), smart tap/type by description, Flutter widget tree inspection, video recording, and test script generation. 4-tier element search with <1ms local matching. Free tier included, zero setup via npx.
Overview

mobile-device-mcp gives AI coding assistants (Claude Code, Cursor, Windsurf) the ability to see and interact with mobile devices.

49 MCP tools across 7 categories:

  • Device Control — screenshots, UI tree, tap, swipe, type, press keys
  • AI Vision — smart tap by description, screen analysis, visual diff, OCR, form filling (Claude + Gemini)
  • Flutter — widget tree inspection, source mapping, hot reload/restart via Dart VM Service
  • iOS Simulator — boot, screenshot, shutdown via xcrun simctl
  • Video Recording — record device screen, save video
  • Test Generation — record MCP tool calls, export as TypeScript/Python/JSON scripts
  • App Management — launch, stop, install, uninstall apps

Performance optimized: 4-tier element search resolves taps in <1ms locally. Companion Android app provides UI tree 23x faster than UIAutomator (105ms vs 2448ms). Screenshots compressed 89% (251KB to 28KB) with zero AI quality loss.

Zero setup: npx mobile-device-mcp — auto-discovers ADB, auto-detects devices, auto-installs companion app.

Free tier: 14 tools for device control and basic interaction. Pro: All 49 tools with AI vision, Flutter, iOS, video, and test generation.

Server Config

{
  "mcpServers": {
    "mobile-device": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mobile-device-mcp"
      ],
      "env": {
        "GOOGLE_API_KEY": "your-google-api-key"
      }
    }
  }
}
© 2025 MCP.so. All rights reserved.

Build with ShipAny.