mdsajidalam0559 /
SMSBridge
Self-hosted SMS gateway that routes messages through Android devices via FCM push notifications
46/100 healthLoading repository data…
BlueDevil2k6 / repository
Self-hosted SMS gateway for AI agents. Android app + Python MCP server — pair with a QR code, then give Hermes, OpenClaw, or any MCP-compatible agent the ability to send and receive real SMS. No carrier API required.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Self-hosted SMS gateway for AI agents. Android app + Python MCP server — pair with a QR code, then give Hermes, OpenClaw, or any MCP-compatible agent the ability to send and receive real SMS. No carrier API required.
Hermes / OpenClaw SMS Gateway Server Android Device
(AI Agent) (Python + MCP) (SMS Bridge App)
send_sms() ──MCP──▶ queue outbound ──WSS──▶ SmsManager ──SMS──▶ External
◀──MCP── notify inbound ◀──WSS── SMS_DELIVER ◀──SMS── External
| Component | Technology |
|---|---|
| Gateway server | Python 3.10+, FastAPI, MCP SDK |
| WebSocket server | websockets (Android-facing) |
| MCP server | mcp SDK, SSE transport (agent-facing) |
| FCM push | firebase-admin |
| Message queue | File-based JSON (no database) |
| Deployment | pip install or Docker Compose |
| Android app | Kotlin, Jetpack Compose, OkHttp |
| Android keep-alive | Foreground Service, PARTIAL_WAKE_LOCK |
| Android wake-up | Firebase Cloud Messaging (FCM) |
pip install git+https://github.com/BlueDevil2k6/agentic-sms-gateway.git#subdirectory=server
sms-bridge setup
The wizard will ask for your server's hostname, ports, and (optionally) your FCM credentials. Everything is saved to ~/.config/sms-bridge/config.json.
sms-bridge start
Generate the device pairing QR code:
sms-bridge qr
Install the SMS Bridge Android app on your device, open it, and scan the QR code. The app connects automatically — no manual URL or key entry needed.
Add the SMS bridge to your Hermes config:
mcp_servers:
sms-bridge:
transport: sse
url: https://your-server.com:8080/mcp
headers:
Authorization: "Bearer sk-bridge-xxxxxxxx"
Your agent now has send_sms, get_messages, list_conversations, and list_devices tools available.
pip install --upgrade git+https://github.com/BlueDevil2k6/agentic-sms-gateway.git#subdirectory=server
| Command | Description |
|---|---|
sms-bridge setup | Interactive configuration wizard |
sms-bridge start | Start the gateway server |
sms-bridge qr | Display Android pairing QR code in terminal |
sms-bridge qr --save | Also save QR code as PNG |
sms-bridge status | Show current configuration |
sms-bridge reset | Delete saved configuration |
cd server
cp .env.example .env
# Edit .env — set API_KEY, WS_URL, and FCM_SERVICE_ACCOUNT_PATH
docker compose up -d
FCM enables the server to wake the Android app when the WebSocket is idle. Without it, the app still works — it just needs to maintain an active connection.
com.agentic.smsbridgegoogle-services.json → place in android/app/sms-bridge setupagentic-sms-gateway/
├── server/ Python SMS Gateway server
│ ├── src/sms_bridge/
│ │ ├── cli.py CLI entry point (setup / start / qr / status)
│ │ ├── config.py Configuration dataclass
│ │ ├── config_store.py ~/.config/sms-bridge/config.json manager
│ │ ├── websocket/ WebSocket server (Android-facing)
│ │ ├── mcp/ MCP server (agent-facing)
│ │ ├── fcm/ FCM push notification client
│ │ ├── queue/ File-based message queue
│ │ └── router/ Core message routing logic
│ ├── tests/ 28 unit tests
│ ├── docker-compose.yml
│ └── pyproject.toml
├── android/ Android SMS Bridge app (Kotlin + Compose)
│ └── app/
├── docs/
│ ├── architecture.md System architecture and component overview
│ ├── flows.md Inbound and outbound message flow diagrams
│ ├── mcp-integration.md Connecting Hermes / OpenClaw
│ └── android-setup.md Android app setup guide
└── README.md
MIT — see LICENSE
Selected from shared topics, language and repository description—not editorial ratings.
mdsajidalam0559 /
Self-hosted SMS gateway that routes messages through Android devices via FCM push notifications
46/100 healthalikhalidsherif /
Self-hosted SMS + USSD gateway for Huawei E5331/E5-series modems, designed as an adapter layer for n8n automation hubs.
63/100 health