BeautifulChina MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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: DroidPilot
配置 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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
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
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.
Melaya is a remote MCP server. It gives an assistant hands on your own Android phone and browser: it reads the screen through the accessibility tree, then taps, types and navigates inside the apps and sites you allow-list, with no per-app API. It also builds, schedules and runs agent pipelines across 6k+ connected tools. OAuth 2.1, nothing to install.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceAn MCP server that provides tools for controlling Android devices using uiautomator2, enabling AI to automate tasks like tapping, swiping, and managing apps.113 PyPI55Apache 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.-
- FlicenseAqualityCmaintenanceProvides an Android UI automation service with an MCP server, enabling natural language control of Android devices, including clicking, typing, swiping, screenshots, and AI-driven understanding and debugging.241-