start_emulator
Launch an Android Emulator by specifying its name using this tool, designed to streamline emulator management on the espresso-mcp server.
Instructions
Start an Android Emulator by name
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emulator_name | Yes |
Implementation Reference
- src/espresso_mcp/server.py:45-53 (handler)The handler function for the 'start_emulator' tool. It uses subprocess.Popen to launch the Android emulator with the given AVD name and returns a starting message.@mcp.tool() def start_emulator(emulator_name: str) -> str: """Start an Android Emulator by name""" result = subprocess.Popen( ["emulator", "-avd", emulator_name], stdout=subprocess.PIPE, stderr=subprocess.PIPE, ) return f"Emulator '{emulator_name}' is starting."