espresso-mcp
About
An MCP Server for the Espresso Android Test Framework, crafted to improve testing capabilities and optimize development workflows.
Details
- License
- MIT
Explore
- List and manage Android Virtual Devices and emulators.
- Start/stop emulators and dump UI hierarchy.
- Install, uninstall, start, stop, and clear app data.
- Simulate taps, swipes, text input, and button presses.
- Take screenshots and record screen video.
- Retrieve static configuration and personalized greetings via resources.
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
espresso-mcpCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
- Python 3.x
- uv: pip install uv
- Python 3.x
- uv: pip install uv
bash
uv sync
yarn global add @modelcontextprotocol/inspector
The following tools are available in the espresso-mcp project:
- list_avds: List all available Android Virtual Devices (AVDs).
- list_emulators: List all running Android Emulators.
- start_emulator: Start an Android Emulator by name.
- kill_emulator: Kill a specific Android Emulator.
- dump_ui_hierarchy: Dump the UI hierarchy of the connected Android device.
- open_uri: Open a URI on the connected Android device.
- list_apps: List all installed apps on the connected Android device.
- install_app: Install an APK on the connected Android device.
- start_app: Start a specific app on the connected Android device.
- stop_app: Stop a specific app on the connected Android device.
- uninstall_app: Uninstall an app from the connected Android device.
- clear_app_data: Clear app data for a specific app on the connected Android device.
- take_screenshot: Take a screenshot of the connected Android device.
- record_screen: Record the screen of the connected Android device for a specified duration.
- press_button: Simulate a button press on the connected Android device.
- type_text: Type text on the connected Android device.
- clear_and_type_text: Clear all text and type new text on the connected Android device.
- replace_text: Replace text by clearing current text and typing new text on the connected Android device.
- tap: Simulate a tap on the connected Android device at specific coordinates.
- swipe: Perform a swipe gesture in a specific direction on the connected Android device.
- dump_current_activity: Dump the current activity name of the connected Android device.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"espresso-mcp": {
"espresso-mcp": {
"command": "uvx",
"args": [
"espresso-mcp"
]
}
}
}
}
McpServers
{
"espresso-mcp": {
"command": "uvx",
"args": [
"espresso-mcp"
]
}
}
An MCP Server for the Espresso Android Test Framework, crafted to improve testing capabilities and optimize development workflows.
<a href="https://glama.ai/mcp/servers/@vs4vijay/espresso-mcp">
</a>
Installation
- Python 3.x
- uv: pip install uv
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



