Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Device MCP

MCP server by MetaMask Verified · npm:@metamask

Device MCP is an MCP server from MetaMask that lets AI assistants inspect and interact with mobile devices. It supports iOS, Android and remote Appium or BrowserStack devices. It is built for debugging, exploratory testing and self-healing E2E tests.

  • Score 88
  • 6 stars
  • 54k a week
  • NOASSERTION
  • Updated

Install Device MCP

Built from the published package, never by AI.

claude mcp add device-mcp -- npx -y @metamask/device-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Device MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the device-mcp block.

About

Device MCP is a Model Context Protocol server from MetaMask for mobile device interaction. It works with iOS simulators through simctl and IDB, with Android devices through ADB, and with remote devices through Appium and BrowserStack. The source says it gives LLM agents tools to inspect UI state, interact with elements, capture evidence and control app lifecycle.

The server communicates over stdio and defers device connection until the first tool call. It picks a backend from a .device-session file, DEVICE_ID, or DEVICE_PLATFORM, and asks the user to choose when several devices are connected. It is aimed at developers debugging locally or during Appium tests, and at teams building or healing E2E tests for MetaMask Mobile.

Written from the project's README and checked against it.

Tools it gives your assistant

  • device_list_devicesLists the available devices when several are connected.
  • device_select_deviceSelects the device the server should use for later calls.

What you need

  • Node.js ^20, ^22 or >=24
  • Xcode Command Line Tools and IDB for local iOS
  • ADB from Android SDK platform-tools for local Android
  • Appium or a BrowserStack account for remote devices

Try asking

  • List the mobile devices available to my AI assistant.
  • Select the iPhone simulator and show me what is on screen.
  • Open the Android emulator and check the app logs for errors.

Good to know

  • Hermes CDP on Node 20 requires NODE_OPTIONS="--experimental-websocket".
  • On iOS 17+ simulators, element extraction needs the modern idb client; legacy fb-idb does not read the UI hierarchy.
  • With multiple devices and no DEVICE_ID set, the agent must pick a device before other tools work.
  • The full tool list is not shown in the source excerpt.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Device MCP

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Device MCP: common questions

Which mobile platforms does Device MCP support?

The source says it supports iOS simulators through simctl and IDB, Android devices through ADB, and remote devices through Appium and BrowserStack.

Does it work with iOS 17 simulators?

Yes, but element extraction requires the modern idb client that supports the --api option. The legacy python fb-idb client will not read the UI hierarchy on newer runtimes.

How does it choose a device when several are connected?

With multiple devices and no DEVICE_ID set, the server enters an awaiting selection state. The agent can list devices and pick one with device_select_device.

How do I install Device MCP?

In Claude Code run claude mcp add device-mcp -- npx -y @metamask/device-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Device MCP the official server?

Device MCP is published by npm:@metamask from its verified domain in the official MCP Registry.

Is Device MCP free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is Device MCP safe to use?

It scores 88 of 100. Grades: maintenance A, licence F, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Device MCP?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Device MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Device MCP Install

Add to stack

Loading.