Aster - Android Device Control
Control your Android device from your AI assistant using MCP (Model Context Protocol). Fully open source and privacy-first — your data never leaves your network.
Website: aster.theappstack.in | GitHub: github.com/satyajiit/aster-mcp
For screenshots of the Android app and web dashboard, visit aster.theappstack.in.
Setup
- Install and start the server:
npm install -g aster-mcp
aster start
- Install the Aster Android app on your device from Releases and connect to the server address shown in terminal.
- Configure MCP in your
.mcp.json:
{
"mcpServers": {
"aster": {
"type": "http",
"url": "http://localhost:5988/mcp"
}
}
}
Security & Privacy
Aster is built with a security-first, privacy-first architecture:
- Self-Hosted — Runs entirely on your local machine. No cloud servers, no third-party relays. Your data stays on your network.
- Zero Telemetry — No analytics, no tracking, no usage data collection. What you do stays with you.
- Device Approval — Every new device must be manually approved from the dashboard before it can connect or execute commands.
- Tailscale Integration — Optional encrypted mesh VPN via Tailscale with WireGuard. Enables secure remote access with automatic TLS (WSS) — no port forwarding required.
- No Root Required — Uses the official Android Accessibility Service API (same system powering screen readers). No rooting, no ADB hacks, no exploits. Every action is permission-gated and sandboxed.
- Foreground Transparency — Always-visible notification on your Android device when the service is running. No silent background access.
- Local Storage Only — All data (device info, logs) stored in a local SQLite database. Nothing is sent externally.
- 100% Open Source — MIT licensed, fully auditable codebase. Inspect every line of code on GitHub.
Available Tools
Device & Screen
aster_list_devices- List connected devicesaster_get_device_info- Get device details (battery, storage, specs)aster_take_screenshot- Capture screenshotsaster_get_screen_hierarchy- Get UI accessibility tree
Input & Interaction
aster_input_gesture- Tap, swipe, long pressaster_input_text- Type text into focused fieldaster_click_by_text- Click element by textaster_click_by_id- Click element by view IDaster_find_element- Find UI elementsaster_global_action- Back, Home, Recents, etc.
Apps & System
aster_launch_intent- Launch apps or intentsaster_list_packages- List installed appsaster_read_notifications- Read notificationsaster_read_sms- Read SMS messagesaster_get_location- Get GPS locationaster_execute_shell- Run shell commands in Android app sandbox (no root, restricted to app data directory and user-accessible storage, 30s timeout, 1MB output limit)
Files & Storage
aster_list_files- List directory contentsaster_read_file- Read file contentaster_write_file- Write to fileaster_delete_file- Delete fileaster_analyze_storage- Storage analysisaster_find_large_files- Find large filesaster_search_media- Search photos/videos with natural language
Device Features
aster_get_battery- Battery infoaster_get_clipboard/aster_set_clipboard- Clipboard accessaster_show_toast- Show toast messageaster_speak_tts- Text-to-speechaster_vibrate- Vibrate deviceaster_play_audio- Play audioaster_post_notification- Post notificationaster_make_call- Initiate phone callaster_show_overlay- Show web overlay on device
Media Intelligence
aster_index_media_metadata- Extract photo/video EXIF metadataaster_search_media- Search photos/videos with natural language queries
Example Usage
Open YouTube and search:
1. aster_launch_intent with packageName "com.google.android.youtube"
2. aster_click_by_id with viewId "com.google.android.youtube:id/search_button"
3. aster_input_text with text "cooking videos"
4. aster_global_action with action "BACK" to dismiss keyboard
Take screenshot and analyze UI:
1. aster_take_screenshot to see current screen
2. aster_get_screen_hierarchy to get interactive elements
3. aster_click_by_text to tap on specific button
Find photos from a trip:
aster_search_media with query "photos from Mumbai last month"
Requirements
- Node.js >= 20
- Android device with Aster app installed
- Device and server on same network (or use Tailscale for secure remote access)
Website: aster.theappstack.in | GitHub: github.com/satyajiit/aster-mcp