Mobile Development MCP
This is a MCP designed to manage and interact with mobile devices and simulators.
jsuarezruiz
README
Mobile Development MCP
Control mobile devices with AI through the Model Context Protocol!
This is a MCP designed to manage and interact with mobile devices and simulators. It provides utilities for tasks such as app installation, device management, and log retrieval for iOS and Android development environments.
Features
- Device Management: Boot, shutdown, or list connected devices and simulators.
- Application Management: Install, launch, or manage applications on target devices.
- Visual Diagnostics: Take screenshots of the devices and simulators screen.
- File Management: Seamlessly push files to or pull files from connected devices.
- UI Automation: Interact with the device through taps, swipes, text input.
- Log Management: Retrieve log files and system information from connected devices.
- Cross-Platform Support: Supports both Android and iOS environments.
Prerequisites
To use this server, ensure the following tools are installed on your development machine:
- ADB (Android Debug Bridge) for Android device management.
- Xcode Command Line Tools for iOS simulator management (xcrun simctl).
- Facebook IDB tool (see install guide) (Only required for UI Automation on iOS).
- .NET SDK (e.g., .NET 9)
Setup
- Clone this repository
- Navigate to the project directory
- Build the project:
dotnet build
- Configure with VS Code or other client:
"mcp-server-mobiledev": {
"type": "stdio",
"command": "dotnet",
"args": [
"run",
"--project",
"/Users/jsuarezruiz/GitHub/mobile-dev-mcp-server/src/MobileDevMcpServer.csproj"
]
}
Testing
The MCP Inspector is an interactive developer tool designed for testing and debugging MCP servers. Can start the inspector from our application folder using the nodejs command npx with the following command:
npx @modelcontextprotocol/inspector dotnet run
Tools
android_list_devices
: Retrieves details of all connected Android devices.android_list_packages
: Lists all installed applications on a specific Android device.android_install_app
: Installs an application (APK) onto an Android device.android_launch_app
: Launches a specific application on an Android device.android_diagnostics_bug_report
: Captures a comprehensive bug report from an Android device.android_logs_logcat
: Fetches system logs from an Android device using logcat.android_logs_logcat_log_level
: Fetches system logs from an Android device using logcat by Log Level.android_files_push
: Pushes a local file to an Android device.android_files_pull
: Pulls a file from an Android device to the local machine.android_files_delete_file
: This tool allows you to delete a specified file from a connected Android device.android_ui_tap
: Simulates a tap action at specified screen coordinates on an Android device.android_ui_swipe
: Simulates a swipe action between two points on an Android device's screen.android_ui_input_text
: Simulates text input into a field on an Android device.android_ui_press_key
: Simulates a key press on an Android device using its serial number and keycode.android_screenshot
: Captures a screenshot from the specified Android device.android_compare_screenshot_llm
: Compares two screenshots using the provided prompt and an interaction with the Large Language Model (LLM).android_shell_command
: Runs a shell command on an Android device.ios_list_devices
: Retrieves details of all connected iOS simulator devices.ios_booted_device
: Retrieves the name and ID of the first booted simulator device.ios_boot_device
: Boots up a specified iOS simulator device.ios_launch_app
: Launches an application on a specified iOS simulator device.ios_shutdown_device
: Shuts down a specified iOS simulator device.ios_ui_tap
: Simulates a tap action at specified screen coordinates on an iOS device.ios_ui_swipe
: Simulates a swipe action between two points on an iOS device's screen.ios_ui_input_text
: Simulates text input into a field on an iOS device.ios_ui_press_key
: Simulates pressing a specific key on an iOS device.ios_screenshot
: Captures a screenshot from the specified iOS device.ios_video_start
: Records a video of the iOS Simulator.ios_video_stop
: Stops the simulator video recording.
Example AI Assistant Queries
Try these queries:
- "Display all Android devices currently connected and provide their details."
- "Show all connected iOS devices along with their specifications."
- "Analyze recent logs and identify if there are any error messages."
- "Install this APK on my device and confirm whether it was installed correctly."
- "Provide a list of all applications installed on my phone."
- "Press the Home button located at the coordinates (100, 1000)."
Gallery
<img src="https://raw.githubusercontent.com/jsuarezruiz/mobile-dev-mcp-server/refs/heads/main/images/tool-list-vscode.png" width="30%"></img> <img src="https://raw.githubusercontent.com/jsuarezruiz/mobile-dev-mcp-server/refs/heads/main/images/list-ios-simulators.png" width="30%"></img> <img src="https://raw.githubusercontent.com/jsuarezruiz/mobile-dev-mcp-server/refs/heads/main/images/list-android-apps.png" width="30%"></img> <img src="https://raw.githubusercontent.com/jsuarezruiz/mobile-dev-mcp-server/refs/heads/main/images/diagnostics-android.png" width="30%"></img> <img src="https://raw.githubusercontent.com/jsuarezruiz/mobile-dev-mcp-server/refs/heads/main/images/launch-android-app.png" width="30%"></img> <img src="https://raw.githubusercontent.com/jsuarezruiz/mobile-dev-mcp-server/refs/heads/main/images/logs-android.png" width="30%"></img>
Contributing
I gladly welcome contributions to help improve this project! Whether you're fixing bugs, adding new features, or enhancing documentation, your support is greatly appreciated.
- Fork the repository
- Create your feature branch (git checkout -b feature/my-feature)
- Make your changes
- Commit your changes (git commit -m 'Add a new feature')
- Push to the branch (git push origin feature/my-feature)
- Open a Pull Request
License
This project is available under the MIT License.
推荐服务器
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
MCP Package Docs Server
促进大型语言模型高效访问和获取 Go、Python 和 NPM 包的结构化文档,通过多语言支持和性能优化来增强软件开发。
Claude Code MCP
一个实现了 Claude Code 作为模型上下文协议(Model Context Protocol, MCP)服务器的方案,它可以通过标准化的 MCP 接口来使用 Claude 的软件工程能力(代码生成、编辑、审查和文件操作)。
@kazuph/mcp-taskmanager
用于任务管理的模型上下文协议服务器。它允许 Claude Desktop(或任何 MCP 客户端)在基于队列的系统中管理和执行任务。
mermaid-mcp-server
一个模型上下文协议 (MCP) 服务器,用于将 Mermaid 图表转换为 PNG 图像。
Jira-Context-MCP
MCP 服务器向 AI 编码助手(如 Cursor)提供 Jira 工单信息。

Linear MCP Server
一个模型上下文协议(Model Context Protocol)服务器,它与 Linear 的问题跟踪系统集成,允许大型语言模型(LLM)通过自然语言交互来创建、更新、搜索和评论 Linear 问题。

Sequential Thinking MCP Server
这个服务器通过将复杂问题分解为顺序步骤来促进结构化的问题解决,支持修订,并通过完整的 MCP 集成来实现多条解决方案路径。
Curri MCP Server
通过管理文本笔记、提供笔记创建工具以及使用结构化提示生成摘要,从而实现与 Curri API 的交互。