Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort for HTTP transport (default 3000, use 7860 on HuggingFace Spaces).3000
PUBLIC_URLNoPublic origin URL of the server, used as OAuth issuer. Required if AUTH_PASSWORD is set.
WHOOP_EMAILYesYour Whoop login email
AUTH_PASSWORDNoPassword for OAuth connector flow (optional, enables OAuth for claude.ai web/mobile).
MCP_TRANSPORTNoTransport for MCP server: stdio (local) or http (remote).stdio
WHOOP_USER_IDNoYour Whoop user ID — used by whoop_profile and whoop_leaderboard. Avoids one bootstrap call per session.
MCP_AUTH_TOKENNoBearer token for HTTP transport, also used as JWT signing secret. Required if MCP_TRANSPORT=http.
WHOOP_PASSWORDNoYour Whoop login password (bootstrap only, used only during initial login and wiped from .env after)
WHOOP_TIMEZONENoIANA timezone (e.g., America/Los_Angeles). If unset, auto-detected from your Whoop profile and refreshed hourly. Set explicitly to override.
WHOOP_TOKEN_STORENoWhere to persist refreshed tokens: 'envfile' (default) or 'memory' (for read-only filesystems; re-bootstrap every ~30 days).envfile
WHOOP_INSTALLATION_IDNoThe per-install device identifier sent as x-whoop-installation-identifier. Generated once and written to .env on first run — don't set it by hand.
WHOOP_IOS_BEARER_TOKENYesCognito access token (24h, auto-refreshed)
WHOOP_COGNITO_REFRESH_TOKENYesCognito refresh token (~30d)

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/rishi-mittal-web/whoop-mcp'

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