Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_SERVER_PORT | No | The port for the MCP server | |
| WHOOP_CLIENT_ID | Yes | Your WHOOP API client ID | |
| WHOOP_REDIRECT_URI | Yes | The redirect URI for OAuth authentication | |
| WHOOP_CLIENT_SECRET | Yes | Your WHOOP API client secret |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| whoop-get-user-profile | Get basic user profile information (name, email) for the authenticated user |
| whoop-get-user-body-measurements | Get body measurements (height, weight, max heart rate) for the authenticated user |
| whoop-revoke-user-access | Revoke the access token granted by the user |
| whoop-get-cycle-by-id | Get the cycle for the specified ID |
| whoop-get-cycle-collection | Get all physiological cycles for a user, paginated |
| whoop-get-sleep-for-cycle | Get sleep data for a specific cycle |
| whoop-get-recovery-collection | Get all recovery data for a user, paginated |
| whoop-get-recovery-for-cycle | Get recovery data for a specific cycle |
| whoop-get-sleep-by-id | Get the sleep record for the specified ID |
| whoop-get-sleep-collection | Get all sleep records for a user, paginated |
| whoop-get-workout-by-id | Get the workout record for the specified ID |
| whoop-get-workout-collection | Get all workout records for a user, paginated |
| whoop-get-authorization-url | Get the authorization URL for OAuth flow |
| whoop-exchange-code-for-token | Exchange authorization code for access token |
| whoop-refresh-token | Refresh access token using refresh token |
| whoop-set-access-token | Set the access token for API calls |