Server data from the Official MCP Registry
Control Android/iOS/Windows devices from Claude, Cursor, and other AI tools. iOS without jailbreak.
Control Android/iOS/Windows devices from Claude, Cursor, and other AI tools. iOS without jailbreak.
This MCP server provides device automation and API documentation access for AScript (Android/iOS automation framework). While the authentication model is reasonable and permissions align with its purpose, there are moderate security concerns: subprocess execution for ADB without validation, unencrypted HTTP-only communication with devices, potential exposure of device credentials in error messages, and missing input validation on several user-facing functions. The code quality is generally acceptable but has gaps in error handling and logging discipline. Supply chain analysis found 8 known vulnerabilities in dependencies (0 critical, 7 high severity). Package verification found 1 issue.
4 files analyzed · 20 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Unverified package source
We couldn't verify that the installable package matches the reviewed source code. Proceed with caution.
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-ascript-cn-ascript-mcp": {
"args": [
"ascript-mcp"
],
"command": "uvx"
}
}
}From the project's GitHub README.
中文 | English
AScript MCP Service — 让 AI 编程工具(Claude Desktop / Cursor / Trae)直接查询 AScript API 文档、操控真实 Android / iOS 设备(iOS 免签免越狱)。
pip install ascript-mcp
在项目根目录创建 .cursor/mcp.json:
{
"mcpServers": {
"ascript": {
"command": "python",
"args": ["-m", "ascript_mcp.local"]
}
}
}
把 docs/AGENT_RULES.md 完整复制到你的自动化工程根目录的 .cursorrules(Cursor)或 CLAUDE.md / AGENTS.md(Claude Code / 其他 IDE)。
这份规则模板包含:
简版规则(仅当你不想复制完整规则时用):
当用户需要编写设备自动化脚本(Android/iOS/Windows)时,必须先调用 ascript MCP 的 get_device_status 与 list_python_packages,再用 eval_python 在设备 REPL 里 验证关键代码片段,最后才 upload_file + run_project。 禁止凭记忆编写 ascript 代码。
| 工具 | 说明 |
|---|---|
get_platform_overview | 获取平台 API 模块概览 |
get_module_apis | 获取模块详细 API 文档 |
search_api | 按关键词搜索 API |
get_code_example | 获取代码示例 |
get_setup_guide | 获取环境搭建指南 |
| 工具 | 说明 |
|---|---|
list_plugins | 查询插件库列表 |
get_plugin_detail | 获取插件详细文档 |
| 工具 | 说明 |
|---|---|
auto_connect | 从工程配置自动连接设备 |
scan_devices | 扫描局域网 + ADB 设备 |
connect_device | 手动连接指定设备 |
get_device_status | 获取设备完整运行状态(运行模式/权限/屏幕/电池/内存/正在跑的脚本等,仅 Android) |
list_python_packages | 列出设备 AScript App 已安装的 Python 第三方库(Android + iOS) |
| 工具 | 说明 |
|---|---|
screen_capture | 截取设备屏幕 |
dump_ui_tree | 获取控件树 |
test_selector | 测试选择器是否匹配 |
ocr | 屏幕文字识别 |
find_colors | 多点找色 |
compare_colors | 多点比色 |
| 工具 | 说明 |
|---|---|
create_project | 在设备上创建工程 |
upload_file | 上传文件到设备(自动创建工程) |
run_project | 运行工程 |
run_project_debug | 调试模式运行(Android + ADB),自动 forward 5678 端口并返回 VS Code attach 配置 |
stop_project | 停止运行 |
get_run_log | 获取运行日志 |
eval_python | 设备 Python REPL(Android + iOS):直接在主进程 exec 代码立即拿结果,几百毫秒一轮。适合探索调试、复合决策、自定义工作流(SoM/智能 tap/自动裁模板等)。iOS 自动转译 ascript.android.* → ascript.ios.* 并预加载 cv2/np/Image。详见 AGENT_EVAL_GUIDE |
| 工具 | 说明 |
|---|---|
list_projects | 列出设备上的工程 |
get_project_files | 获取工程文件树 |
如需部署为公网服务(仅 API 文档查询):
uvicorn ascript_mcp.server:app --host 0.0.0.0 --port 8000
MIT License,详见 LICENSE。Copyright © 2026 北京奥悦科技有限公司。
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.