Skip to content
MCP server

UIAutomator2 MCP Server

Android mobile automation with uiautomator2. AI bot for taps, swipes, apps, XPath…

Runs locallyStatus and history
Install
Runs
Locally
Version
0.3.3
Listing updated
4 days ago

About UIAutomator2 MCP Server

UIAutomator2 MCP Server is an MCP server. It runs locally on your machine and is started by your AI client.

Android mobile automation with uiautomator2. AI bot for taps, swipes, apps, XPath testing, RPA.

Install

Run in a terminal

claude mcp add uiautomator2-mcp-server -- uvx uiautomator2-mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "uiautomator2-mcp-server": {
      "command": "uvx",
      "args": [
        "uiautomator2-mcp-server"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "uiautomator2-mcp-server": {
      "command": "uvx",
      "args": [
        "uiautomator2-mcp-server"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "uiautomator2-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "uiautomator2-mcp-server"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "uiautomator2-mcp-server": {
      "command": "uvx",
      "args": [
        "uiautomator2-mcp-server"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "uiautomator2-mcp-server": {
      "command": "uvx",
      "args": [
        "uiautomator2-mcp-server"
      ]
    }
  }
}

UIAutomator2 MCP Server FAQ

How do I add UIAutomator2 MCP Server to Claude Code?

Run this command in your terminal: claude mcp add uiautomator2-mcp-server -- uvx uiautomator2-mcp-server