MCP Mobile Server
MCP 移动开发服务器 — 面向 Android、iOS 和 Flutter 的 AI 驱动移动开发
36 种用于移动开发自动化的工具,可在 Claude Desktop 及任何兼容 MCP 的 AI 客户端中直接使用。
这是什么?
MCP 移动开发服务器是一个 Model Context Protocol 服务器,它使 AI 助手能够直接、结构化地访问您的移动开发工具链。它通过 36 种类型化工具和 10 种编排完整多步工作流的“超级工具”,将 Claude Desktop(及其他 MCP 客户端)与 Flutter、Android SDK 和 iOS/Xcode 工作流连接起来。
您无需在终端和文档之间来回切换,只需用自然语言描述您的需求,服务器就会执行相应的命令——并内置了验证、错误处理和回退策略。
支持的平台: Android · iOS · Flutter · macOS · Linux · Windows (部分支持)
Related MCP server: Specter MCP
功能特性
分类 | 工具数量 | 您可以做什么 |
核心 / 健康检查 | 5 | 环境诊断、Flutter doctor、设备发现 |
设备管理 | 9 | 列出、创建、启动和停止 Android 模拟器及 iOS 模拟器 |
Flutter 开发 | 6 | 热重载会话、构建、测试、依赖管理 |
实用工具 | 4 | Logcat、截图、模拟器启动/关闭 |
设置与配置 | 2 | 自动化的 Flutter 和 Android SDK 环境设置 |
超级工具 (工作流) | 10 | 结合多个原子工具的完整端到端工作流 |
超级工具 — 一次调用完成完整工作流
工具 | 功能描述 |
| 选择最佳可用设备、运行 doctor、启动热重载 — 一条命令完成 |
| 单元测试 + 组件测试 + 集成测试及覆盖率报告 |
| 多平台发布构建 (APK, App Bundle, IPA) |
| 端到端:测试 → 构建 → 签名 |
| 诊断并自动修复常见的 Flutter 构建错误 |
| 组件检查会话 |
| 跨平台的智能设备编排 |
| 设备选择 → APK 安装 → 启动 → logcat 一步到位 |
| AVD 创建 → 启动 → 等待 → 就绪 |
| 启动 → 等待 → 就绪 → 截图生命周期管理 |
内置安全性
所有 Shell 命令在执行前都会根据白名单进行验证
危险模式检测可阻止注入尝试
对所有文件参数进行路径遍历保护
通过 Zod 进行运行时输入验证
可配置长时间运行进程的超时时间
要求
要求 | 版本 |
Node.js | 18.0.0 或更高版本 |
npm 或 yarn | 任意近期版本 |
Flutter SDK | 3.0+ (用于 Flutter 工具) |
Android SDK / Android Studio | 任意近期版本 (用于 Android 工具) |
Xcode | macOS 上 14+ (用于 iOS 工具) |
您只需要安装您所使用的平台的 SDK。即使缺少某些 SDK,服务器也能启动并提供工具。
安装
选项 1 — 使用 npx 运行(无需安装)
npx @cristianoaredes/mcp-mobile-server选项 2 — 全局安装
npm install -g @cristianoaredes/mcp-mobile-server
mcp-mobile-server选项 3 — 从源码构建
git clone https://github.com/cristianoaredes/mcp-mobile-server.git
cd mcp-mobile-server
npm install
npm run build
npm startClaude Desktop 设置
将服务器添加到您的 Claude Desktop 配置文件中:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"mobile-dev": {
"command": "npx",
"args": ["@cristianoaredes/mcp-mobile-server"]
}
}
}保存后重启 Claude Desktop。36 种移动开发工具将自动出现。
使用示例
检查您的环境
Use the health_check tool to verify the mobile development server is workingRun flutter_doctor to check my Flutter setup使用设备
List all connected Android devices and iOS simulatorsStart a Flutter development session with hot reload on the best available device构建与测试
Run the full test suite for my Flutter project at /path/to/projectBuild release versions for Android and iOS修复构建问题
My Flutter app won't build. Use flutter_fix_common_issues to diagnose and fix it.从命令行验证安装
# After building from source:
npm run mcp:validate
# Expected output:
# ✅ Server configuration is valid
# ✅ 36 tools registered项目结构
src/
server.ts # MCP server entry point
tools/
android.ts # Android SDK tools
ios.ts # iOS / Xcode / Simulator tools
flutter.ts # Flutter SDK tools
super-tools.ts # High-level workflow automation
setup-tools.ts # Environment setup tools
utils/
process.ts # Process execution and tracking
security.ts # Command validation and sandboxing
fallbacks.ts # Fallback strategies (ADB → native-run, etc.)
tool-categories.ts # Tool registry服务器通过 JSON-RPC 2.0(标准 MCP 传输协议)使用 stdio 进行通信。
贡献
# Clone and install
git clone https://github.com/cristianoaredes/mcp-mobile-server.git
cd mcp-mobile-server
npm install
# Run in development mode (watch)
npm run dev
# Run tests
npm test
# Run linter and full CI check
npm run ci请参阅 CONTRIBUTING.md 获取指南,并参阅 docs/ 获取完整文档集。
文档
资源 | 描述 |
5 分钟内上手 | |
所有 36 种工具的参数和示例 | |
系统设计、安全层和 ADR | |
Android 开发指南 | |
iOS 开发指南 | |
Flutter 开发指南 | |
常见问题及解决方案 |
故障排除
找不到 Flutter
# Run the automated setup tool
# In Claude Desktop: "Use flutter_setup_environment to install Flutter"未配置 Android SDK
# In Claude Desktop: "Use android_sdk_setup to configure Android"没有可用设备
# List what's available
# "Use android_list_emulators and ios_list_simulators to see available devices"
# Or start a new one
# "Use android_start_emulator to launch an Android emulator"Claude Desktop 未识别服务器
验证配置文件路径对您的操作系统是否正确
检查 JSON 是否有效(没有多余的逗号)
完全重启 Claude Desktop
询问 Claude:“Use health_check to verify the mobile server”
许可证
MIT — 可免费使用、修改和分发。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables comprehensive control of Android devices via ADB for Flutter development, UI testing, and visual QA workflows. Provides 60+ tools for device management, UI inspection, app testing, performance profiling, and debugging through natural language.77MIT
- AlicenseAqualityCmaintenanceEnables AI agents to build, test, debug, and interact with Kotlin Multiplatform Mobile (Android/iOS) applications through automated build pipelines, UI automation, crash analysis, and app state inspection.15121MIT

MCP Appiumofficial
Alicense-qualityAmaintenanceEnables AI assistants to automate mobile app testing and development for iOS and Android through natural language interactions. Supports intelligent element identification, session management, automated test generation, and comprehensive device interactions including clicks, swipes, screenshots, and app management.7,411450Apache 2.0
Argentofficial
AlicenseAqualityAmaintenanceEnables AI assistants to interact with iOS Simulators and Android Emulators, allowing autonomous app development, UI interaction, profiling, and debugging through natural language.732,085Apache 2.0
Related MCP Connectors
Build, validate, and deploy multi-agent AI solutions from any AI environment.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Set up & manage mobile CI/CD on Bitrise: build, test, distribute iOS, Android, Flutter, RN apps.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cristianoaredes/mcp-mobile-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server