Skip to main content
MCP server CX Codex

ascript-mcp — Claude Code MCP server: what it does, how to install

Connects AI assistants to physical Android and iOS devices. Helps inspect mobile screens, verify UI selectors, and run automation scripts without iOS jailbreak.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add ascript-mcp -- uvx ascript-mcp
Open on GitHub

What ascript-mcp does

The server equips AI tools with actions to inspect mobile devices and query AScript documentation. Your assistant can capture screenshots, pull the UI element hierarchy, run OCR scans, and compare pixel colors on screen. It also searches AScript modules and online plugins like YOLO or HID.

For iterative development, the eval_python tool executes code directly inside the mobile app runtime within milliseconds. The server handles project creation, file transfers, and debugging sessions over ADB with automatic forwarding for port 5678. On iOS, device interaction functions without jailbreak or app resigning.

Hardware checks such as memory and battery stats via get_device_status work exclusively on Android. Running automation requires the AScript client application installed on the target phone along with the needed Python packages.

What it helps with

  • inspect UI hierarchy trees and validate mobile element selectors
  • execute Python test snippets on mobile devices using a live REPL
  • extract on-screen text with OCR and run pixel color comparisons
  • deploy automation scripts and start remote debugging over ADB

Example prompts for the agent

  • Take a screenshot of the connected phone and dump the current UI tree.
  • Search the AScript documentation for swipe actions and test the snippet using eval_python.
  • Scan the local network for devices and list their installed Python packages.

How to install ascript-mcp

Platform CLI

claude mcp add ascript-mcp -- uvx ascript-mcp

uvx runs the command named after the package; if the README names another one, use uvx --from ascript-mcp <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about ascript-mcp

How to install ascript-mcp in Claude Code?

Run claude mcp add ascript-mcp -- uvx ascript-mcp in your terminal.

What does ascript-mcp do?

It lets AI assistants interact with physical Android and iOS phones via the AScript engine. The server covers screen inspection, selector verification, OCR, script deployment, and live Python code execution.

Does iOS automation require a jailbroken device?

No, iOS automation runs without jailbreaking or resigning. The server automatically translates Android module references into iOS equivalents during REPL execution.

Similar MCP servers

All MCP servers for Mobile →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor