Skip to main content
Glama

list_avds

Retrieve a list of all available Android Virtual Devices (AVDs) on the espresso-mcp server for streamlined device management and testing.

Instructions

List all available Android Virtual Devices (AVDs)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the 'list_avds' tool, which executes subprocess.run to list available Android Virtual Devices (AVDs) using 'emulator -list-avds'.
    @mcp.tool() def list_avds() -> list: """List all available Android Virtual Devices (AVDs)""" result = subprocess.run(["emulator", "-list-avds"], capture_output=True, text=True) if result.returncode != 0: raise RuntimeError(f"Error listing AVDs: {result.stderr}") return result.stdout.splitlines()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vs4vijay/espresso-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server