Skip to content
Cursor

UIAutomator2 MCP Server for Cursor

io.github.tanbro/uiautomator2-mcp-server

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

client:Cursor transport:stdio runtime:pypi

Install UIAutomator2 MCP Server in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

UIAutomator2 MCP Server in other clients