Uiautomator2 MCP Server

1. 克隆项目 ```bash git clone https://github.com/yourusername/uiautomator2-mcp.git cd uiautomator2-mcp ```

Local serverstdioPython

What is the Uiautomator2 MCP Server?

Uiautomator2 MCP connects Uiautomator2 MCP to AI assistants that speak the Model Context Protocol. 1. 克隆项目 bash git clone https://github.com/yourusername/uiautomator2-mcp.git cd uiautomator2-mcp .

What Uiautomator2 MCP does

  1. 克隆项目 bash git clone https://github.com/yourusername/uiautomator2-mcp.git cd uiautomator2-mcp

Practical notes

  • Maintained by GitDzreal93, written in Python.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
androidMCP服务器的唯一标识符
command用于运行Python的命令(这里使用uv,也可以使用python)
args命令行参数
runuv的运行命令

How to install the Uiautomator2 MCP Server

{
  "mcpServers": {
    "android": {
      "command": "python",
      "args": [
        "/path/to/uiautomator2-mcp/src/server.py"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use Uiautomator2 MCP to android.”
  • “Use Uiautomator2 MCP to command.”
  • “Use Uiautomator2 MCP to args.”

Frequently asked questions

1. 克隆项目 ```bash git clone https://github.com/yourusername/uiautomator2-mcp.git cd uiautomator2-mcp ``` Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.