Skip to main content
Glama
ilyanehay
by ilyanehay

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoHost address to bind the server (default: 127.0.0.1)127.0.0.1
PORTNoPort to bind the server (default: 8002)8002
HEALTH_ROOTNoRoot directory for the Health Vault project (default: /opt/health-vault)/opt/health-vault
HEALTH_API_BASENoBase URL for the Xiaomi Health API (optional, for region override)
HEALTH_DATA_DIRNoDirectory for runtime data (tokens, SQLite DB) (default: ./data)./data
PUBLIC_BASE_URLNoPublic HTTPS base URL of the server (must match the host for OAuth; required for grok.com connector or VPS setup)
OAUTH_LOGIN_PASSWORDNoPassword for the OAuth owner login page (if not set, must be configured via 'health oauth set-password')
HEALTH_STALE_AFTER_HOURSNoHours after which sync data is considered stale (default: 36)36
HEALTH_BROKEN_AFTER_HOURSNoHours after which sync is considered broken (default: 72)72

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/ilyanehay/mi-health-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server