.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
UPSTASH_REDIS_REST_URL
Upstash Redis (required) Create free account at https://upstash.com
UPSTASH_REDIS_REST_TOKEN
secret
API_KEY
secret
API authentication (optional but recommended) Generate with: openssl rand -hex 32
MCP_SECRET
secret
MCP authentication (optional) Generate with: openssl rand -hex 16
EXERCISE_DAYS_PER_WEEK
Exercise routine (optional) Format: activity:days_per_week This gives Claude context about your training schedule
brew install flyctl && fly launch --from https://github.com/amitsharm/apple-health-mcp
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/amitsharm/apple-health-mcp
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/amitsharm/apple-health-mcp