lynx-android-automation
v0.1.3
Published
Android SMS automation API, Cloudflare Tunnel launcher, and MCP server.
Maintainers
Readme
lynx-android-automation
Android SMS automation toolkit with:
- ADB + Google Messages SMS sender
- Local HTTP API
- Cloudflare Tunnel stack launcher
- MCP server for AI tool calling
Requirements
- macOS/Linux shell
adbavailable inPATHpython3available inPATHcloudflaredavailable inPATHfor public tunnel mode- An Android device connected and authorized through ADB
- Google Messages as the default SMS app
Install
npm install -g lynx-android-automationOne-command stack
lynx-sms-stackThe command starts the local SMS API, starts a Cloudflare quick tunnel, then prints:
- API key
- public API URL
- curl examples
- MCP config JSON
Stop the stack:
lynx-sms-stack stopCheck status:
lynx-sms-stack statusRun API only
SMS_API_KEY='your-secret-token' lynx-sms-api --host 127.0.0.1 --port 8787 --device 94QAY0RY0SRun MCP server
SMS_API_URL='https://your-tunnel.trycloudflare.com' \
SMS_API_KEY='your-secret-token' \
lynx-sms-mcpMCP config
Use the npm registry package directly, without cloning this repository:
{
"mcpServers": {
"android-sms": {
"command": "npx",
"args": [
"-y",
"--package",
"lynx-android-automation@latest",
"lynx-sms-mcp"
],
"env": {
"SMS_API_URL": "https://your-tunnel.trycloudflare.com",
"SMS_API_KEY": "your-secret-token"
}
}
}
}See MCP_REMOTE_CONFIG.md for a copy-paste JSON config to share with other users.
Send directly from CLI
lynx-sms-send --device 94QAY0RY0S 0912205001 "Alo azaiii"Dry run:
lynx-sms-send --device 94QAY0RY0S --dry-run 0912205001 "Alo azaiii"MCP tools
probe_devicedry_run_smssend_sms
Use send_sms only when the user explicitly asks to send a message.
