BeautifulChina MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@BeautifulChina MCP按清单测一遍"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
BeautifulChina MCP
Cursor 用 MCP 驱动 bc_* 工具,自动化测试 BeautifulChina Android App(adb + uiautomator2)。测试清单见 docs/test-checklist.md。
安装
git clone git@github.com:shuaici/BeautifulChinaMCP.git
cd BeautifulChinaMCP
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
adb devices # 确认手机已连接环境:macOS/Linux · Python 3.10–3.12 · adb · 手机已装 com.kuen.beautifulchina · USB 调试已开。
Related MCP server: uiautomator2 MCP Server
配置 Cursor
command 用 venv 里 python3 的绝对路径,args 指向 server.py 绝对路径。改完重启 Cursor。
项目级(推荐):BeautifulChina/.cursor/mcp.json
全局:~/.cursor/mcp.json
{
"mcpServers": {
"beautiful-china": {
"command": "/path/to/BeautifulChinaMCP/.venv/bin/python3",
"args": ["/path/to/BeautifulChinaMCP/server.py"],
"env": {
"BC_SCREENSHOT_DIR": "~/Downloads/BC",
"BC_DEVICE_ID": ""
}
}
}
}环境变量 | 说明 |
| 截图目录,默认 |
| 多设备时填序列号,留空自动选第一台 |
对 Agent 说 「按清单测一遍」 → 默认 快速模式 + P0(bc_assert_text 判定,失败才截图)。要说 「完整模式」 才每步截图。
工具
工具 | 说明 |
| 启停 App |
| 截图, |
| 列元素,返回 |
| text / resource_id / 坐标点击 |
| 等待 / 断言文字 |
| 滑动 / 返回 |
| 设备健康检查 / 初始化(通常自动) |
常见问题
现象 | 处理 |
点击无反应, | 小米开 USB 调试(安全设置);验证 |
| 换线重插、手机点允许、 |
看不到省份名文字 |
|
MCP 红灯 | 检查 |
Python 3.14 装依赖失败 | 改用 3.12 重建 venv |
P0 实测(2026-07-20,小米 MIUI)
8/8 通过(启动 · 地区 · 省份 · 景点 · 返回 · 世界遗产 · 答题 · 我的)
截图(docs/screenshots/):

运行时截图带时间戳写入 ~/Downloads/BC/。
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Remote MCP for Android CLI agent build gate, structured receipts, audit logs, and reviewer-ready evi
Control real Android and iOS devices with LLM agents — tap, swipe, type, automate flows.
Clean PNG/JPEG screenshots via REST or MCP, with goal-driven multi-step navigation.
remote debug iOS/Android/Unity/Godot/Flutter/RN/Web on real-device.ui-tree/screenshots/taps,tests.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceLocal MCP server for Android and iOS mobile automation and performance telemetry, enabling device control (screenshot, tap, swipe, input, app launch) and metric collection (CPU, memory, launch time) via ADB, simctl, and WebDriverAgent with SQLite session history.9 npm1MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that provides tools for controlling Android devices using uiautomator2, enabling AI to automate tasks like tapping, swiping, and managing apps.72 PyPI47Apache 2.0
- AlicenseAqualityDmaintenanceDrive an Android phone over ADB and expose it to AI agents via MCP, enabling natural language-driven interaction for native app testing.13MIT
- FlicenseNot gradedqualityDmaintenanceProvides Android UI automation tools via MCP, enabling device interaction, UI snapshot, and gesture recording.-