Logo Claude Mobile

Claude Mobile

Cộng đồng
AlexGladkov

MCP server for mobile and desktop automation — Android (via ADB), iOS Simulator (via simctl), and Desktop (Compose Multiplatform). Like Claude in Chrome but for mobile devices and desktop apps

Nhà phát hànhAlexGladkov
Kho mãclaude-in-mobile
Ngôn ngữTypeScript
Bản fork
36
Sao
378
Công cụ có sẵn
17
Phương thức truyền tảistdio
Danh mục
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Claude Mobile cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 17 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    378 sao và 36 bản fork từ kho mã được liên kết.

mcp-devices 4.2.0 (ex-claude-in-mobile)

👉 Want everything in one package? Keep using claude-in-mobile.

Nothing changes for you. Same install, all platforms bundled, still maintained:

sh
npm i -g claude-in-mobile

That's it — the all-in-one edition. Read on only if you'd rather install the platforms separately (that's what mcp-devices is for).


Two editions — same tool

EditionBest forInstall
claude-in-mobileWant it all in one, zero setupnpm i -g claude-in-mobile
mcp-devicesWant a slim base + only the platforms you neednpm i -g mcp-devices (+ platform plugins, below)

Both are maintained. claude-in-mobile was renamed to mcp-devices in 4.0 and split into a modular edition; the all-in-one keeps its name and its unchanged install. The rest of this README covers the modular mcp-devices edition.


Install in 3 steps (modular)

Requires Node.js 20 or newer.

sh
# 1. base server
npm i -g mcp-devices

# 2. add a platform (example: Android)
npm i -g @mcp-devices/plugin-android
mcp-devices install android

# 3. point your MCP client at it
#    { "mcpServers": { "mobile": { "command": "mcp-devices" } } }
# Grok Build:
#    grok plugin marketplace add AlexGladkov/claude-in-mobile
#    grok plugin install mcp-devices --trust

Restart your MCP client. Done — ask Claude "take a screenshot of my Android device" and it works.

Check prerequisites any time: mcp-devices doctor.

Native shell CLI

The npm command mcp-devices is the Node.js MCP server. For direct shell automation, install the native Rust CLI and use its unambiguous command name:

sh
brew install AlexGladkov/tap/mcp-devices
mcp-devices-cli --help
mcp-devices-cli devices

The separate name prevents a global npm install from shadowing the native CLI on PATH.

Pick your platform

Each platform is a separate package. Install the one(s) you need — full guide in each doc:

PlatformInstallNeedsGuide
Androidnpm i -g @mcp-devices/plugin-androidadbandroid »
iOSnpm i -g @mcp-devices/plugin-iosxcrun (macOS/Xcode)ios »
Webnpm i -g @mcp-devices/plugin-webChromeweb »
Desktopnpm i -g @mcp-devices/plugin-desktopJava/JDKdesktop »
Auroranpm i -g @mcp-devices/plugin-auroraflutter-auroraaurora »
HarmonyOS Nextnpm i -g @mcp-devices/plugin-harmonyhdc (DevEco Studio)harmony »
Allnpm i -g @mcp-devices/plugin-all——

After installing a package, enable it: mcp-devices install <name> (or all), then restart.

What it can do

  • Drive apps — screenshots, taps/swipes/typing, app launch, UI tree, shell, logs, permissions, files.
  • Debug live apps — breakpoints, stepping, inspect variables, evaluate expressions (Android JDWP + iOS LLDB). See debug ».
  • Test — visual regression, accessibility audit, performance, sensor/network simulation.

These come as ~20 built-in tool modules plus the on-demand debug plugin — full tool catalog ».

Switching from all-in-one to modular?

Happy with the bundled claude-in-mobile? Do nothing — it stays maintained and installs exactly as before. This section is only if you want to move to the slim modular edition.

  • The Node MCP commands claude-in-mobile and mcp-devices keep working; the native shell interface is available as mcp-devices-cli.
  • The only difference is that platforms aren't bundled — install the one(s) you actually use:
sh
npm i -g mcp-devices
npm i -g @mcp-devices/plugin-android   # (or plugin-all for everything)
mcp-devices install android

Tools, actions, and MCP client config are identical to the bundled edition.

Docs

Notes

  • The modular base loads no platforms by default — enable them with mcp-devices install <name>. The claude-in-mobile edition enables all.
  • Enable the separately installed debug plugin with mcp-devices plugin enable debug; MCP_DEVICES_TOOL_PLUGINS=debug remains available as a per-run override.
  • Prefer everything in one package? Use the all-in-one claude-in-mobile edition (npm i -g claude-in-mobile) — still maintained, install unchanged.

Cài đặt

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

Công cụ có sẵn

  • list_devices

    List all connected Android devices/emulators and iOS simulators

  • set_device

    Select which device to use for subsequent commands

  • screenshot

    Take a screenshot of the device screen. Returns base64 encoded PNG image.

  • get_ui

    Get the current UI hierarchy (accessibility tree). Shows all interactive elements with their text, IDs, and coordinates. Note: Limited on iOS.

  • tap

    Tap at specific coordinates or find an element by text/id and tap it

  • long_press

    Long press at coordinates or on an element

  • swipe

    Perform a swipe gesture

  • input_text

    Type text into the currently focused input field

  • press_key

    Press a key button. Android: BACK, HOME, ENTER, etc. iOS: HOME, VOLUME_UP, VOLUME_DOWN

  • find_element

    Find UI elements by text, resource ID, or other criteria (Android only)

  • launch_app

    Launch an app by package name (Android) or bundle ID (iOS)

  • stop_app

    Force stop an app

  • install_app

    Install an app. APK for Android, .app bundle for iOS simulator

  • get_current_activity

    Get the currently active app/activity (Android only)

  • shell

    Execute shell command. ADB shell for Android, simctl for iOS

  • wait

    Wait for specified duration

  • open_url

    Open URL in device browser (iOS simulator only)

Dùng MCP Claude Mobile với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Claude Mobile, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Claude Mobile làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Claude Mobile.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "claude-in-mobile": {
      "command": "npx",
      "args": [
        "-y",
        "claude-in-android"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Claude Mobile, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Claude Mobile.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Claude Mobile giúp tôi làm việc này không?
Claude Mobile
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Claude Mobile.

Câu hỏi thường gặp

Máy chủ MCP Claude Mobile dùng để làm gì?

Claude Mobile là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Claude Mobile với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Claude Mobile với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Claude Mobile với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Claude Mobile, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Claude Mobile với TypingMind?

Claude Mobile hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Claude Mobile cung cấp những công cụ nào trong TypingMind?

Claude Mobile cung cấp 17 công cụ MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Claude Mobile không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Claude Mobile yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇