Skip to content
Appium MCP

Appium MCP

Added to Onei AI
v2.1.4
Apache-2.0

Summary

The Appium project's MCP server for mobile automation: agents drive Android and iOS devices, simulators and emulators, find elements and generate Java/TestNG tests.

Features

  • select_device, prepare_ios_simulator and appium_prepare_ios_real_device
  • appium_session_management with embedded UiAutomator2/XCUITest drivers or a remote Appium server
  • Element finding, tap, swipe, pinch, scroll_to_element, drag and drop, W3C actions
  • Screenshots, screen recording, page source, orientation and geolocation
  • App lifecycle: install, launch, terminate, deep link, clear data, permissions
  • Opt-in AI vision element finding from natural-language descriptions
  • generate_locators and appium_generate_tests for Java/TestNG Page Object tests
  • stdio or HTTP stream transport, OpenTelemetry tracing and a plugin API

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it, filling in the environment variables with your own values.
  3. Restart the agent — the "Appium MCP" tools will be available.
{
  "mcpServers": {
    "appium-mcp": {
      "command": "npx",
      "args": [
        "appium-mcp@latest"
      ],
      "env": {
        "ANDROID_HOME": "/path/to/android/sdk"
      }
    }
  }
}

Description

Appium MCP is the official MCP server from the Appium project (Apache-2.0). It turns Appium's mobile automation into tools an agent can call, so you can test an Android or iOS app in plain language and turn the session into test code.

A session starts with select_device, which discovers connected devices, emulators and simulators; prepare_ios_simulator and appium_prepare_ios_real_device handle WebDriverAgent setup on Apple platforms. appium_session_management creates or attaches a session, either with the bundled UiAutomator2 and XCUITest drivers on your machine or against an existing remote Appium/WebDriver server. From there the agent can find elements by locator strategy, tap, swipe, pinch, scroll to an element, type, drag and drop, run raw W3C action sequences, handle alerts and the keyboard, switch between native and webview contexts, take screenshots and screen recordings, read the page source, set orientation and GPS, and install, launch, deep-link, clear or remove apps and change their permissions. An opt-in vision mode (AI_VISION_ENABLED) finds elements from a natural-language description when locators fail, and generate_locators plus appium_generate_tests produce locators and Java/TestNG tests following the Page Object Model.

Requirements: Node.js 22 or newer, a JDK, the Android SDK (with ANDROID_HOME set) for Android, and Xcode on macOS for iOS. It runs over stdio via npx appium-mcp@latest, or over HTTP with --httpStream, which should stay on loopback unless you add authentication. OpenTelemetry tracing and a plugin API are available for integrators.

MCP: agent-device

by Callstack

Featured

Give a coding agent a live feedback loop on real mobile, TV and desktop apps — inspect, tap, type and capture evidence on iOS, Android and HarmonyOS over MCP or a CLI.

MCP: Mobile MCP

by Mobile Next

Featured

Platform-agnostic MCP server that drives iOS and Android apps on simulators, emulators and real devices through the accessibility tree rather than screenshots.

MCP: Pinky

by DIYgod

Lets any MCP agent operate a real iPhone or Android phone from macOS, Windows or Linux, with risky taps held for your approval, banking apps hidden and every run recorded.

Browse all MCP servers →