Token导航 LogoToken导航

MCP Server · 运维云端

Claude In Mobile

Claude Mobile 是一款支持多平台(Android、iOS、桌面应用、浏览器和Aurora OS)自动化控制的工具,通过自然语言指令实现设备、应用和浏览器的自动化操作。

stdio官方级别未说明来源级核验工具 11add-mcp
自动化控制多平台支持TypeScriptClaude设备管理Cursor

快速开始

作者 / 组织
AlexGladkov
提供方
AlexGladkov
运行时
Node.js

工具数量

11

来源目录标注

资源数量

0

来源目录标注

提示词数量

0

来源目录标注

GitHub Star

246

仓库热度

收录来源

1 个

MCP World

选型结论

Claude In Mobile 属于运维云端类 MCP Server,公开资料标注 11 个工具,通过stdio 本地进程接入,适配 Claude、Cursor,有可以直接复制的安装命令;接入前要先准备 会话凭据。

分类

运维云端

传输方式

stdio

认证方式

会话凭据

部署方式

公开资料未说明

安装与配置

安装命令

npx add-mcp claude-in-mobile -y

客户端配置示例

{
  "mcpServers": {
    "claude-in-mobile": {
      "command": "npx",
      "args": [
        "add-mcp",
        "claude-in-mobile",
        "-y"
      ]
    }
  }
}

按公开安装命令拼出来的示例,字段名和参数以仓库 README 为准;带 YOUR_API_KEY 这类占位符的位置记得换成自己的值。

上手步骤

  1. 1

    准备运行环境

    stdio 服务在本地起进程,需要先装好 Node.js,再按安装命令拉取依赖。

  2. 2

    安装服务

    复制下面的安装命令执行;命令里带占位符的位置换成自己的密钥或路径。

  3. 3

    写入客户端配置

    在客户端的 MCP 配置里填启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4

    验证是否可用

    连接成功后客户端会列出 11 个工具,随便调一个只读工具确认能返回结果。

接入前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

详细介绍

克劳德·莫比尔

用于移动、桌面和浏览器自动化的MCP服务器——Android(ADB)、iOS模拟器(simctl+WDA)、桌面(任何macOS应用程序)、Aurora OS(audb)和浏览器(CDP)。喜欢 Chrome中的克劳德 但适用于设备、应用程序和浏览器。

通过Claude用自然语言控制您的Android手机、模拟器、iOS模拟器、桌面应用程序、Aurora设备或无头浏览器。

______________________________________________________________________

目录

- 自制(macOS) - 一个衬里(任何客户) - 克劳德代码 - OpenCode - 其他代理(Pi、Qwen、Gemini、Codex、Cursor) - - 视窗

- 安卓 - iOS - 桌面 - 浏览器 - Aurora操作系统

- 核心元工具 - 可选模块 - 流量工具

______________________________________________________________________

快速开始

# Install via Homebrew (macOS)
brew tap AlexGladkov/claude-in-mobile https://github.com/AlexGladkov/claude-in-mobile
brew install claude-in-mobile

# Verify dependencies
claude-in-mobile doctor

# Add to Claude Code
claude mcp add --scope user --transport stdio mobile -- npx claude-in-mobile@latest

然后自然地与克劳德交谈:

"Take a screenshot of the Android emulator"
"Tap on the Login button"
"Type hello in the search field"
"Switch to iOS simulator"

______________________________________________________________________

功能概览

特性描述
统一API相同的8个元工具可在Android、iOS、桌面、Aurora和浏览器上使用
令牌优化8个元工具+3个可选模块,而不是81个工具(约85%的令牌减少)
动态模块浏览器、桌面、商店按需加载——默认工具列表保持精简
智能截图自动压缩以实现最佳LLM处理
带注释的屏幕截图彩色边界框+编号元素标签
加强安保Shell注入保护、URL验证、路径遍历阻止
结构化错误键入带有自动恢复提示的错误代码
多设备并行在多个设备上同时运行操作
流程引擎批处理、条件循环和扇出流
权限管理授予/撤销/重置应用程序权限(安卓+iOS)
店铺发布Google Play、华为AppGallery、RuStore
遥测每个工具调用指标通过 system(action:'metrics')
医生命令claude-in-mobile doctor --一次检查所有依赖关系

______________________________________________________________________

品质工程

Claude Mobile内置高级测试和监控功能:

功能功能使用方法
可访问性审计WCAG 2.2检查:缺少标签、触摸目标\

MCP server config for Qwen / Gemini / Codex / Cursor

Qwen代码 — .qwen/settings.json 或 ~/.qwen/settings.json:

{ "mcpServers": { "mobile": { "command": "npx", "args": ["-y", "claude-in-mobile"] } } }

Gemini CLI — .gemini/settings.json 或 ~/.gemini/settings.json:

{ "mcpServers": { "mobile": { "command": "npx", "args": ["-y", "claude-in-mobile"] } } }

法典:

codex mcp add mobile -- npx -y claude-in-mobile

光标 — .cursor/mcp.json:

{ "mcpServers": { "mobile": { "command": "npx", "args": ["-y", "claude-in-mobile"] } } }

来自npm/源代码

# npm (no install)
npx claude-in-mobile

# From source
git clone https://github.com/AlexGladkov/claude-in-mobile.git
cd claude-in-mobile
npm install
npm run build:all

在任何MCP客户端上使用本地构建:

{ "mcpServers": { "mobile": { "command": "node", "args": ["/path/to/claude-in-mobile/dist/index.js"] } } }

视窗

claude mcp add --transport stdio mobile -- cmd /c npx claude-in-mobile@latest

______________________________________________________________________

平台指南

安卓

要求:

  • 已安装ADB(自动发现或设置 ADB_PATH)
  • 设备上已启用USB调试,或正在运行模拟器

ADB发现顺序:

优先级位置
1ADB_PATH 有人是。
2$ANDROID_HOME/platform-tools/adb
3$ANDROID_SDK_ROOT/platform-tools/adb
4操作系统默认值: ~/Library/Android/sdk (macOS), %LOCALAPPDATA%\Android\Sdk (Windows), ~/Android/Sdk (Linux)
5adb 从 PATH

如果没有找到→ [ADB_NOT_INSTALLED] 探测路径错误。

示例:

"Show connected devices"
"Take a screenshot on Android"
"Tap on Settings"
"Swipe down to scroll"
"Type 'hello' in the search field"
"Press the back button"
"Grant camera permission to com.example.app"
"Launch com.example.app"

CLI:

claude-in-mobile screenshot android
claude-in-mobile tap android 540 960
claude-in-mobile input android "hello world"
claude-in-mobile ui-dump android | grep "Login"
坐标空间(原始 x/y 点击/滑动/长按)

当您使用raw调用输入工具时 x/y (或 x1/y1/x2/y2 对于滑动),这些值的解释如下 最新屏幕截图的像素空间 并在发货前自动缩放到设备坐标。比例尺来自上一个 screen_capture 呼叫:例如,在 preset='low' (270×480)在1080×2400的设备上设置了一个4倍的因子,因此 tap(135, 240) 成为 tap(540, 960) 在设备上。

这对普通流程很方便 screen_capture → reason about pixel → tap,但有两个值得了解的问题:

  • 坐标来源 ui_find / ui_tree 是设备坐标,而不是屏幕截图坐标。他们来自 uiautomator 其总是在设备空间中报告。如果最近的屏幕截图是低预设值,则将这些设备坐标作为原始值传递 x/y 将对其进行过度扩展。更喜欢 index, text,或 resourceId 对于ui来源的水龙头,完全避免了这个问题。
  • 还没有截图? 然后就没有储存秤了,而且是原始的 x/y 以1:1的比例通过设备坐标。

最干净的心智模型: *原始坐标与您在屏幕上看到的任何像素空间相匹配* (您最后的屏幕截图)。对于其他所有内容,请使用解析器字段(index, text, resourceId, label).

______________________________________________________________________

iOS

要求:

  • macOS与Xcode
  • iOS模拟器(尚未支持物理设备)
  • WebDriver Agent用于全面UI检查(可选但推荐)

WebDriver代理设置:

# Automatic (via Appium)
npm install -g appium
appium driver install xcuitest

# Or set custom path
export WDA_PATH=/path/to/WebDriverAgent

首次使用时,WDA会自动构建(一次性约2分钟),在模拟器上启动,并连接到端口8100+。

WDA能够实现什么:

  • ui(action:'tree') --完全可访问性树
  • ui(action:'find') --按标签/文本发现元素
  • input(action:'tap', label:'...') --基于元素的攻丝
  • 改进了滑动和手势模拟

故障排除:

# Install Xcode CLI tools
xcode-select --install

# Accept license
sudo xcodebuild -license accept

# Check simulator is booted
xcrun simctl list | grep Booted

# Check port
lsof -i :8100

Manual WDA test

cd ~/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent
xcodebuild test -project WebDriverAgent.xcodeproj \
  -scheme WebDriverAgentRunner \
  -destination 'platform=iOS Simulator,id='

示例:

"Take a screenshot on iOS"
"Open Safari on iOS"
"Tap on the Login button"
"Type my email in the text field"
"Swipe left on the card"
"Reset all permissions for com.apple.Maps"

______________________________________________________________________

桌面

要求:

  • macOS(计划使用Windows/Linux)
  • 辅助功能权限:系统设置→ 隐私和安全→ 无障碍
  • JDK 17+(用于构建桌面伴侣)

支持的应用程序: 任何macOS应用程序——SwiftUI、AppKit、Electron、Compose Desktop。

启动模式:

模式示例
By bundleIddesktop(action:'launch', bundleId:'com.apple.Calculator')
By .app 路径desktop(action:'launch', appPath:'/Applications/Slack.app')
通过PID附加desktop(action:'launch', pid:12345)

首先启用模块:

"Enable desktop module"

或者先自动启用 desktop(...) 电话。

示例:

"Launch Calculator"
"Take a screenshot of the desktop app"
"Get window list"
"Resize window to 1280x720"
"Tap at 100, 200 on desktop"
"Get clipboard content"
"Get performance metrics"
"Stop the desktop app"
API完整文档: docs/SPEC_DESKTOP.md

______________________________________________________________________

浏览器

要求:

  • 已安装(或设置)Chrome或Chromium CHROME_PATH)

通过Chrome DevTools协议(CDP)实现浏览器自动化。这 browser 模块按需加载。

示例:

"Open https://example.com in the browser"
"Click the Sign In button"
"Fill the email field with test@example.com"
"Take a browser screenshot"
"Execute JS: document.title"
"Wait for the loading spinner to disappear"

可用操作:

动作描述
open在新会话中打开URL
navigate转到现有会话中的URL
click按ref单击元素
fill在输入框中键入
fill_form一次填写多个字段
press_key键盘输入
snapshot带有元素引用的DOM快照
screenshot视觉截图
evaluate运行JavaScript
wait_for_selector等待元素出现
close结束会话
list_sessions显示活动会话
clear_session重置Cookie/存储

______________________________________________________________________

Aurora操作系统

要求:

  • audb CLI: cargo install audb-client
  • 启用SSH的Aurora OS设备
  • 设备上的Python用于点击/滑动: devel-su pkcon install python

示例:

"List Aurora devices"
"Take a screenshot on Aurora"
"Tap at 100, 200 on Aurora"
"Launch ru.example.app on Aurora"
"List installed apps on Aurora"
"Get logs from Aurora device"
"Push file.txt to /home/defaultuser/"

______________________________________________________________________

工具参考

v3.8.0提供 8个核心元工具 + 3个可选模块每个元工具都使用一个 action 参数。

核心元工具

元工具操作描述
devicelist, set, set_target, get_target, enable_module, disable_module, list_modules设备管理、模块控制
inputtap, double_tap, long_press, swipe, text, key触摸和键盘输入
screencapture, annotate屏幕截图和视觉注释
uitree, find, find_tap, tap_text, analyze, wait, assert_visible, assert_goneUI层次结构、元素交互
applaunch, stop, install, list应用程序生命周期
systemactivity, shell, wait, open_url, logs, clear_logs, info, webview, clipboard_*, permission_*, file_*, metrics, reset_metrics系统操作、剪贴板、权限、文件、遥测
flow_batch--在一次往返中执行多个命令(最多50个)
flow_run--带条件和循环的多步自动化(最多20步)

可选模块

按需加载 device(action:'enable_module', module:'') 或在第一次通话时自动启用。

模块操作描述
browseropen, close, list_sessions, navigate, click, fill, fill_form, press_key, snapshot, screenshot, evaluate, wait_for_selector, clear_session铬/铬通过CDP
desktoplaunch, stop, windows, focus, resize, clipboard_get, clipboard_set, performance, monitors任何macOS应用程序
storeupload, set_notes, submit, get_releases, discard, promote, halt_rollout, get_versionsGoogle Play、华为AppGallery、RuStore

流量工具

工具说明
flow_batch顺序执行,一次往返(最多50个命令)
flow_run多步流程 if_not_found, repeat, on_error (最多20步)
flow_parallel通过以下方式在多个设备上执行相同操作 Promise.allSettled (最多10个)

向后兼容

所有v3.0/v3.1工具名称都可以用作别名: tap → input(action:'tap'), screenshot → screen(action:'capture'), launch_app → app(action:'launch')等等。

______________________________________________________________________

本机CLI

2 MB Rust二进制文件。没有Node.js,没有依赖关系。

安装

brew tap AlexGladkov/claude-in-mobile
brew install claude-in-mobile

或从以下网址下载 发布.

为什么使用CLI

CLIMCP服务器
安装brew install 或复制二进制文件npx /npm
依赖项无Node.js
初创公司~5ms~500ms
从终端使用直接命令需要MCP客户端
CI/CD退出代码,stdout/stderr不是为CI设计的
代币成本技能按需加载模式始终存在

测试脚本示例

#!/bin/bash
claude-in-mobile launch android com.example.app
claude-in-mobile wait 2000
claude-in-mobile tap android 0 0 --text "Login"
claude-in-mobile input android "test@example.com"
claude-in-mobile screenshot android -o result.png
claude-in-mobile ui-dump android | grep "Welcome" && echo "PASS" || echo "FAIL"

店铺管理(CLI)

claude-in-mobile store upload --package com.example.app --file app.aab
claude-in-mobile huawei upload --package com.example.app --file app.aab
claude-in-mobile rustore upload --package com.example.app --file app.apk

医生

一次检查所有依赖关系:

claude-in-mobile doctor

检查:ADB、ANDROID_HOME、Xcode、simctl、Appium、WDA、JDK、audb客户端、Chrome。带有修复建议的颜色编码输出。

______________________________________________________________________

建筑

┌─────────────┐     ┌──────────────────┐     ┌─────────────────┐
│ Claude Code │────▶│                  │────▶│  Android (ADB)  │
├─────────────┤     │  Claude Mobile   │     ├─────────────────┤
│  OpenCode   │────▶│   MCP Server     │────▶│ iOS (simctl+WDA)│
├─────────────┤     │                  │     ├─────────────────┤
│   Cursor    │────▶│  8 meta-tools    │────▶│ Desktop (macOS) │
├─────────────┤     │  + 3 modules     │     ├─────────────────┤
│ Qwen/Gemini │────▶│                  │────▶│ Aurora (audb)   │
├─────────────┤     │  Auto-detects    │     ├─────────────────┤
│  Any MCP    │────▶│  platform        │────▶│ Browser (CDP)   │
└─────────────┘     └──────────────────┘     └─────────────────┘
  1. 客户端通过MCP协议发送命令(8个元工具+3个可选模块)
  2. 服务器路由到平台适配器(ADB、simctl+WDA、桌面、audb、CDP)
  3. 在设备/应用程序/浏览器上执行命令
  4. 结果(屏幕截图、UI树、指标)返回给客户端
  5. 模块在第一次调用时自动启用——无需手动设置

______________________________________________________________________

许可证

麻省理工学院

工具与能力

工具数量

11

资源数量

0

提示词数量

0

能力标签

自动化控制TypeScript本地部署多平台支持自然语言交互设备管理应用测试

支持客户端

ClaudeCursor

数量来自来源目录的标注,具体工具清单以官方文档为准。

典型使用场景

看服务状态

查询容器、日志和监控指标,定位异常。

执行部署变更

在权限范围内触发发布、回滚和环境切换。

核对资源用量

汇总用量,找出闲置和超额的部分。

选择建议

值得选的地方

  • 工具数量 11 个,一次接入能覆盖的操作比单点工具更全。
  • 有现成的安装命令,不用自己找入口,照着跑就能起服务。
  • 已经适配 Claude、Cursor,换客户端不用重新研究配置。

先想清楚的地方

  • stdio 方式要求本地装好 Node.js,换机器要重新装一遍。
  • 需要自备会话凭据,没有凭据没法直接试。
  • 第三方目录整理,版本更新和行为细节以官方仓库为准。

更适合

  • 需要在运维云端场景里让模型直接调用外部能力的人。
  • 已经在用 Claude 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地跑服务的人。

不太适合

  • 完全不想在本地装环境的人。
  • 暂时拿不到会话凭据的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

5 个同类
MCP Server工具数传输方式安装命令收录来源最后核验
Claude In Mobile

MCP World · 本页

11stdio有1 个2026-05-17
Ui Tars Desktop 8a825770

MCP World

0stdio有1 个2026-05-17
Elie222 MCP

MCP World

0未说明未标注1 个2026-05-17
Arizeai Phoenix MCP

MCP World

0stdio有3 个2026-05-17
Unity MCP 87ee506e

MCP World

42HTTP有2 个2026-05-17

按同分类和工具数量挑出最接近的几条,字段以各自详情页为准。

常见问题

5 条

Claude In Mobile 怎么安装?

公开资料给出的安装命令是 npx add-mcp claude-in-mobile -y,运行环境为 Node.js。装完后按客户端要求写进 MCP 配置,重启客户端生效。

Claude In Mobile 怎么在 Claude Desktop、Cursor 里配置?

它是stdio 本地进程,客户端配置里要写启动命令和参数,运行环境是 Node.js;保存后完全退出客户端再打开,配置才会生效。

Claude In Mobile 收费吗?

本站只整理公开资料,不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Claude In Mobile 需要 API Key 吗?

公开资料标注的认证方式是会话凭据,也就是要先拿到凭据才能连上;凭据只填在自己本地的配置里,不要写进公开仓库。

Claude In Mobile 支持哪些客户端?

公开资料标注支持 Claude、Cursor;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

来源信息

继续浏览同类 MCP