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.
Check device connection.
Get screen size.
Make a call to the specified phone number. Parameters: phone number (string).
End the current call.
Send an SMS to the specified phone number with the given message. Parameters: phone number (string), message (string).
Check messages with an optional limit. Parameters: limit (integer).
Get contacts with an optional limit. Parameters: limit (integer).
Take a screenshot.
Record the screen for a specified duration. Parameters: duration (integer).
Launch the specified application. Parameters: app name (string).
Close the specified application. Parameters: package name (string).
List installed applications with optional filters. Parameters: filter (string), third-party (boolean).
Launch a specific activity in an application. Parameters: activity name (string).
Open the specified URL in the device's default browser. Parameters: URL (string).
Analyze the current screen to get structured information.
Perform a unified screen interaction with specified action and parameters.
Tap on an element by its text. Parameters: element_text (string).
Tap at specified coordinates. Parameters: x (integer), y (integer).
Perform a swipe gesture from one coordinate to another. Parameters: x1 (integer), y1 (integer), x2 (integer), y2 (integer), duration (integer).
Press a key specified by its keycode. Parameters: keycode (string).
Input the specified text. Parameters: content (string).
Find elements based on specified method and value. Parameters: method (string), value (string), partial (boolean).
Wait for an element to appear based on specified method and value with a timeout. Parameters: method (string), value (string), timeout (integer).
Scroll to find an element based on specified method and value. Parameters: method (string), value (string), direction (string), max_swipes (integer).
Monitor UI changes over a specified duration with a defined interval. Parameters: interval (integer), duration (integer).
Search for nearby points of interest using geographic coordinates and keywords. Parameters: latitude (float), longitude (float), keywords (string), radius (integer).
No reviews yet. Be the first to review!
Sign in to join the conversation
Our bundler currently only supports TypeScript-based servers. Check back soon!