Phone Control (Android ADB)
Summary
Phone MCP is a Python-based server that enables AI assistants to control Android phones through ADB commands. Developed by hao, it provides tools for making calls, sending text messages, taking screenshots, recording screens, managing contacts, launching apps, and retrieving system information. The implementation includes specialized modules for different phone functionalities and supports map-related features when an API key is configured. It's particularly useful for scenarios requiring remote phone control, automated testing, or accessibility assistance, allowing AI agents to interact with mobile devices without direct physical manipulation.
Available Actions(19)
phone-cli call
Make a call to the specified phone number. Parameters: phone number (string)
phone-cli hangup
End the current call.
phone-cli send-sms
Send an SMS to the specified phone number with a given message. Parameters: phone number (string), message (string)
phone-cli messages
Get received messages with pagination. Parameters: --limit (integer)
phone-cli sent-messages
Get sent messages with pagination. Parameters: --limit (integer)
phone-cli contacts
Get contacts with pagination. Parameters: --limit (integer)
phone-cli create-contact
Create a new contact with the given name and phone number using UI automation. Parameters: name (string), phone number (string)
phone-cli screenshot
Take a screenshot of the current screen.
phone-cli record
Record the screen for a specified duration. Parameters: --duration (integer)
phone-cli app
Launch an application by its name. Parameters: app name (string)
phone-cli open_app
Open an application by its name as an alternative launch method. Parameters: app name (string)
phone-cli close-app
Close an application using its package name. Parameters: package name (string)
phone-cli list-apps
List installed applications with basic info. Optional parameters: --page (integer), --page-size (integer), --detailed (boolean)
phone-cli launch
Launch an application using its package name and activity. Parameters: package name (string), activity name (string)
phone-cli open-url
Open a URL in the device's default web browser. Parameters: URL (string)
phone-cli analyze-screen
Analyze the current screen and provide structured information about UI elements.
phone-cli screen-interact
Execute screen interaction actions with specified parameters. Parameters: action (string), parameters (dictionary)
phone-cli monitor-ui
Monitor UI for changes with specified options. Parameters: --interval (float), --duration (integer), --watch-for (string), --text (string), --id (string), --class-name (string), --raw (boolean)
phone-cli get-poi
Search for nearby Points of Interest (POIs) with a specified radius. Parameters: coordinates (string), keywords (string), radius (integer)
Community Reviews
No reviews yet. Be the first to review!
Sign in to join the conversation