Lifesign
Provides device status and health telemetry data (battery, network, location) to the Hermes AI agent via the Model Context Protocol, enabling the agent to access user status information.
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., "@Lifesignwhat's my current battery level?"
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.
Lifesign โ User Status & Health Telemetry Server
Lightweight HTTP service: receives device status + health data reported from mobile devices and exposes it to AI agents via MCP (Model Context Protocol). Single process, single port.
โจ Features
๐ฑ Mobile Reporting: iOS Shortcut
POST /ingestpushes battery/location/network/health snapshots๐ค MCP Gateway:
/mcpmounted in the same process, directly readable by AI agents like Hermes๐๏ธ Single Port, Single Process: Upload + query + MCP all reuse port 8764, no secondary HTTP hop
๐ณ Docker Ready: GitHub Actions automatically builds images, 1Panel one-click Compose deployment
Related MCP server: Rouse Context
๐๏ธ Architecture
ๆๆบ (iOS ๅฟซๆทๆไปค)
โ POST https://<your-domain>/user-status/ingest โ ไป
ไธไผ ็ปๅไปฃ
โผ
1Panel OpenResty (ๅๅไปฃ็)
โ proxy_pass โ <host-ip>:8764/ingest
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ FastAPI + FastMCP ๅไธ่ฟ็จ โ
โ (ๅ็ซฏๅฃ 8764) โ
โ โ
โ POST /ingest ๆๆบไธไผ โ
โ GET /query_all agent่ฏปๅ โ
โ /mcp MCP ็ฝๅ
ณ (ๅ่ฟ็จ) โ
โโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๆฌๆบๅ็ฏ http://127.0.0.1:8764/mcp
โผ
Hermes Agent (AI)Mobile Upload: Public HTTPS via reverse proxy โ
8764/ingestAI Reading: Local loopback direct connection to
8764/mcp(not via public network)Shared Memory: MCP tools directly read
app.store, no serialization or secondary requests needed
๐ Endpoints
Method | Path | Authentication | Description |
|
| Bearer phone key | Mobile reports latest status |
|
| Bearer agent key | Returns full snapshot |
|
| None | Health check (for Docker HEALTHCHECK) |
|
| None (local loopback) | MCP streamable-http endpoint |
๐ Identity and Configuration
Only two shared secrets for identity verification (identity markers, not field-level authorization), both overridable via environment variables:
Purpose | Environment Variable | Default Value (Development Only) | Endpoint |
Phone key |
|
|
|
Agent key |
|
|
|
Listen port |
|
| โ (used by run.sh) |
โ ๏ธ Production deployment must override default secrets via environment variables, do not use default values from the repository.
๐ Quick Start
Local Run
python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
./run.sh start # ๅๅฐๅฏๅจ :8764
./run.sh status
./run.sh stopDocker Run
# ๆฌๅฐๆๅปบ
docker build -t lifesign:local .
docker run -d --name lifesign -p 8764:8764 \
-e USER_STATUS_PHONE_KEY='<phone-key>' \
-e USER_STATUS_AGENT_KEY='<agent-key>' \
lifesign:local1Panel Compose Deployment (Recommended)
In 1Panel โ Container โ Orchestration, create a new orchestration and paste
docker-compose.yml;The image is automatically built by GitHub Actions and pushed to GHCR, pulled directly during deployment;
Only one port
8764needs to be exposed, the rest is handled by the reverse proxy.
Sending Data from Mobile
# ็ปๅ
ฌ็ฝๅไปฃ๏ผๆๆบ็ซฏๅฟซๆทๆไปค็จ่ฟไธช๏ผ
curl -s -X POST https://<your-domain>/user-status/ingest \
-H "Authorization: Bearer <phone-key>" \
-H "Content-Type: application/json" \
-d '{"deviceStage":{"battery":{"percentage":87,"is_charging":true}}}'
# ๆๅ
็ฝ็ด่ฟ
curl -s -X POST http://<host-ip>:8764/ingest \
-H "Authorization: Bearer <phone-key>" \
-H "Content-Type: application/json" \
-d '{"deviceStage":{"battery":{"percentage":87,"is_charging":true}}}'Hermes MCP Configuration (config.yaml)
mcp_servers:
user-status:
type: streamable-http
url: http://127.0.0.1:8764/mcp # ๆฌๆบๅ็ฏ๏ผไธ่ตฐๅ
ฌ็ฝ
connect_timeout: 10
timeout: 30Verification: hermes mcp test user-status; after restarting Hermes, tools are registered as mcp_user_status_*.
๐ณ Docker Image Build (GitHub Actions)
The repository includes .github/workflows/docker-build.yml:
Trigger: push to
main/ manualworkflow_dispatch/ tag pushArtifact:
ghcr.io/<owner>/lifesign:latestand:<git-sha>dual tagsPlatforms:
linux/amd64,linux/arm64Note: The image is private (private repository โ private GHCR package). When deploying with 1Panel, you need to add GHCR login credentials (
ghcr.iousername + PAT) in the Docker configuration.
โ Testing
. .venv/bin/activate
python -m pytest tests/ -v๐๏ธ Project Structure
lifesign/
โโโ app/
โ โโโ main.py # FastAPI ๅ
ฅๅฃ๏ผๆ่ฝฝ MCP ็ฝๅ
ณ๏ผ
โ โโโ mcp_server.py # FastMCP ๅทฅๅ
ทๅฎไน๏ผget_status/get_battery/...๏ผ
โ โโโ store.py # ็บฟ็จๅฎๅ
จๅ
ๅญๅญๅจ
โ โโโ models/status.py # Pydantic ๆฐๆฎๆจกๅ
โ โโโ routers/ # /ingest ไธ /query_all ่ทฏ็ฑ
โโโ config/clients.example.yaml # ่บซไปฝ้
็ฝฎๆจกๆฟ๏ผ็ๅฎๆไปถๅฟๆไบค๏ผ
โโโ panel_api.py # 1Panel API ็ญพๅ่ฏทๆฑ่พ
ๅฉ่ๆฌ
โโโ docker-compose.yml # 1Panel Compose ้จ็ฝฒ็ผๆ
โโโ Dockerfile
โโโ run.sh # ๆฌๆบๅๅฐๅฏๅ
โโโ tests/๐ License
MIT
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.
Related MCP Servers
- Flicense-qualityAmaintenanceA real-time system diagnostics MCP server that gives AI agents live access to CPU, RAM, disk, network, processes, and hardware health metrics, with zero cloud dependency.7
- Alicense-qualityAmaintenanceTurn your Android phone into an MCP server. AI assistants connect on demand, query your health data, notifications, app usage, and take actions on your device โ all end-to-end encrypted, no cloud sync.2Apache 2.0
- AlicenseAqualityAmaintenanceA local-first MCP server that enables AI agents to read user-authorized Google Health API v4 data from Fitbit, Pixel Watch, and partners via OAuth, with tokens never leaving the machine.2681040MIT
- Alicense-qualityBmaintenanceEnables AI agents to control Android phones via MCP and HTTP. Supports screen capture, taps, swipes, text input, and app management.AGPL 3.0
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Pocket Agent (aipocketagent.com) MCP server โ read tools for personas, apps, and product info.
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors โ no code.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/shutdown-awa/lifesign'
If you have feedback or need assistance with the MCP directory API, please join our Discord server