Skip to main content
Glama

Android Mobile MCP

by erichung9060

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
mobile_init

Initialize the Android device connection.

Must be called before using any other mobile tools.

mobile_dump_ui

Get UI elements from Android screen as JSON with hierarchical structure.

Returns a JSON structure where elements contain their child elements, showing parent-child relationships. Only includes focusable elements or elements with text/content_desc/hint attributes.

mobile_click

Click on a specific coordinate on the Android screen.

Args: x: X coordinate to click y: Y coordinate to click

mobile_type

Input text into the currently focused text field on Android.

Args: text: The text to input submit: Whether to submit text (press Enter key) after typing

mobile_key_press

Press a physical or virtual button on the Android device.

Args: button: Button name (BACK, HOME, RECENT, ENTER)

mobile_swipe

Perform a swipe gesture on the Android screen.

Args: start_x: Starting X coordinate start_y: Starting Y coordinate end_x: Ending X coordinate end_y: Ending Y coordinate duration: Duration of swipe in seconds (default: 0.5)

mobile_list_apps

List all installed applications on the Android device.

Returns a JSON array with package names and application labels.

mobile_launch_app

Launch an application by its package name.

Args: package_name: The package name of the app to launch (e.g., 'com.android.chrome')

mobile_take_screenshot

Take a screenshot of the current Android screen.

Returns an image object that can be viewed by the LLM.

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/erichung9060/Android-Mobile-MCP'

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