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 the 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 UI automation. Parameters: name (string), phone (string)
phone-cli screenshot
Take a screenshot of the current screen.
phone-cli record
Record the screen for the specified duration. Parameters: --duration (integer)
phone-cli app
Launch an application by its name. Parameters: app_name (string)
phone-cli open_app
Launch an application by its name as an alternative method. Parameters: app_name (string)
phone-cli close-app
Close the specified app. Parameters: package_name (string)
phone-cli list-apps
List installed apps with basic info or detailed info. Parameters: --page (integer), --page-size (integer), --detailed
phone-cli launch
Launch an app by its package and activity name. Parameters: package_name (string), activity_name (string)
phone-cli open-url
Open a URL in the device's default 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. Parameters: action (string), params (dictionary with action-specific parameters)
phone-cli get-poi
Search for nearby Points of Interest (POIs) with phone numbers. Parameters: coordinates (string), keywords (string), radius (integer)
phone-cli monitor-ui
Monitor UI for changes based on specified conditions. Parameters: --watch-for (string), --interval (float), --duration (integer), --text (string), --id (string), --class-name (string), --raw
Community Reviews
No reviews yet. Be the first to review!
Sign in to join the conversation