Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_SERVER_PORTNoThe port for the MCP server
WHOOP_CLIENT_IDYesYour WHOOP API client ID
WHOOP_REDIRECT_URIYesThe redirect URI for OAuth authentication
WHOOP_CLIENT_SECRETYesYour WHOOP API client secret

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
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

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/nissand/whoop-mcp-server-claude'

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