Hermes Phone Agent
Provides tools for Android device management via ADB, Fastboot, and Heimdall, including flashing, unlocking, screenshots, input, file transfer, and system info.
Allows control of phone operations through Discord as a gateway via Hermes Agent.
Provides tools for iOS device management via libimobiledevice, SSH, and AFC, including device info, app management, backups, and jailbreak support.
Offers specific support for Samsung devices via Heimdall, enabling flashing and PIT extraction.
Allows control of phone operations through Signal as a gateway via Hermes Agent.
Allows control of phone operations through Slack as a gateway via Hermes Agent.
Allows control of phone operations through Telegram as a gateway via Hermes Agent.
Allows control of phone operations through WhatsApp as a gateway via Hermes Agent.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Hermes Phone Agentflash stock firmware on my Samsung Galaxy S21"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Hermes Phone Agent
Hermes Agent with MCP servers for Android/iOS phone flashing, unlocking, and management
What is this?
Hermes Phone Agent extends Hermes Agent with Model Context Protocol (MCP) servers for controlling Android and iOS devices. It provides AI-powered phone management, flashing, unlocking, and automation.
Related MCP server: Mobile Testing AI Agent MCP Server
Features
Android Support
ADB: Full device control (shell, screenshots, input, file transfer)
Fastboot: Flash partitions, unlock bootloader, reboot modes
Heimdall: Samsung-specific flashing and PIT extraction
App Management: Install, uninstall, list packages
Screen Control: Screenshots, tap, swipe, text input, key events
System Info: Battery, storage, logs, device properties
iOS Support
libimobiledevice: Device info, app management, screenshots
SSH/SFTP: Full access to jailbroken devices
AFC: Apple File Conduit for file system access
Backup/Restore: Full device backups
Jailbreak Tools: checkra1n, palera1n instructions and status
Integration
MCP Protocol: Works with Claude, Codex, Cursor, and any MCP client
Hermes Agent: Telegram, Discord, Slack, WhatsApp, Signal gateway
Windows Desktop: Native Windows support with one-click installer
Quick Start
Windows (Recommended)
Download the latest release from Releases
Run
install.ps1in PowerShellLaunch from desktop shortcut or Start Menu
Manual Install
# Clone the repository
git clone https://github.com/petrobumaga/hermes-phone-agent.git
cd hermes-phone-agent
# Install dependencies
npm install
# Start the agent
npm startMCP-Only Mode
If you just want the MCP servers without Hermes Agent:
# Android MCP server only
npm run android-mcp
# iOS MCP server only
npm run ios-mcpConfiguration
Configuration file: ~/.hermes-phone-agent/config.yaml
android:
enabled: true
adbPath: auto # Auto-detect or path to adb
fastbootPath: auto
heimdallPath: auto
ios:
enabled: true
sshUser: root
sshPassword: alpine # CHANGE THIS!
sshPort: 22
hermes:
enabled: true
configPath: ~/.hermes/config.yamlAvailable Tools
Android Tools (28 tools)
Tool | Description |
| List connected devices |
| Get device properties |
| Execute shell commands |
| Capture screen |
| Tap at coordinates |
| Swipe gesture |
| Type text |
| Press key (HOME, BACK, POWER, etc.) |
| List installed apps |
| Install APK |
| Uninstall app |
| Push file to device |
| Pull file from device |
| Get system logs |
| Battery status |
| Storage info |
| Reboot device |
| List fastboot devices |
| Flash partition |
| Unlock bootloader |
| Reboot from fastboot |
| Get fastboot variable |
| Detect Samsung device |
| Flash Samsung partition |
| Download PIT table |
iOS Tools (18 tools)
Tool | Description |
| List connected devices |
| Get device info |
| List installed apps |
| Install IPA |
| Uninstall app |
| Take screenshot |
| Get system logs |
| Backup device |
| Execute SSH command |
| Pull file via SSH |
| Push file via SSH |
| Mount AFC filesystem |
| Check jailbreak status |
| checkra1n info |
| palera1n info |
| DFU mode instructions |
| Reboot device |
| Shutdown device |
Use Cases
Phone Repair: Diagnose and fix bootloops, soft bricks
Flashing: Install custom ROMs, stock firmware
Unlocking: Bootloader unlock, FRP bypass
Jailbreaking: iPhone jailbreak with checkra1n/palera1n
Automation: Automated testing, UI automation
Data Recovery: Backup and restore, file extraction
Security Research: Device analysis, forensic examination
Prerequisites
Android
Android SDK Platform Tools (ADB, Fastboot)
USB Debugging enabled on device
(Optional) Heimdall for Samsung devices
iOS
libimobiledevice utilities
(For jailbroken) OpenSSH installed on device
USB or WiFi connection
Development
# Install dev dependencies
npm install
# Run Android MCP server
npm run android-mcp
# Run iOS MCP server
npm run ios-mcp
# Start all services
npm startContributing
Fork the repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
Hermes Agent by Nous Research
MCP Protocol by Anthropic
libimobiledevice for iOS support
Android SDK for Android support
Heimdall for Samsung flashing
Disclaimer
This tool is for educational and authorized testing purposes only. Always ensure you have proper authorization before modifying device software. The authors are not responsible for any damage caused by misuse of this software.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/install00app00-cpu/hermes-phone-agent'
If you have feedback or need assistance with the MCP directory API, please join our Discord server