Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoInternal HTTP port.3000
LOG_LEVELNoLogging level.info
LYFTA_API_KEYNoLyfta API key used as Bearer token for the Lyfta side.
MCP_AUTH_MODENoAuthentication mode for the MCP server: 'oauth' (default), 'bearer', or 'none' (development only).oauth
LYFTA_BASE_URLNoBase URL for the Lyfta API.https://my.lyfta.app
YAZIO_PASSWORDNoYazio account password.
YAZIO_USERNAMENoYazio account username.
CLAUDE_CLIENT_IDNoPre-registered Claude client ID. Required when OAUTH_DCR_ENABLED=false.
MCP_ACCESS_TOKENNoFixed bearer token for the /mcp endpoint when using MCP_AUTH_MODE=bearer. Must be at least 32 characters.
OAUTH_ISSUER_URLNoPublic HTTPS URL of the OAuth issuer, without path.https://fitness.alexisdechiara.fr
OAUTH_STORE_PATHNoPath to the persistent OAuth store file./data/oauth-store.json
TRUST_PROXY_HOPSNoNumber of trusted proxy hops.0
UPSTREAM_RETRIESNoNumber of temporary network retries.2
MCP_ALLOWED_HOSTSNoAllowed Host header values, comma-separated.
OAUTH_DCR_ENABLEDNoWhether dynamic client registration (DCR) is enabled. If false, CLAUDE_CLIENT_ID and CLAUDE_CLIENT_SECRET are required.true
OAUTH_RESOURCE_URLNoThe canonical audience URL, typically the issuer URL plus '/mcp'.https://fitness.alexisdechiara.fr/mcp
MCP_ALLOWED_ORIGINSNoAllowed origins for direct browser clients, comma-separated.
UPSTREAM_TIMEOUT_MSNoTimeout for upstream API calls in milliseconds.15000
CLAUDE_CLIENT_SECRETNoSecret for the pre-registered Claude client, at least 32 characters. Required when OAUTH_DCR_ENABLED=false.
FITNESS_MAX_WORKOUTSNoMaximum number of Lyfta workouts to paginate.1000
UPSTREAM_CONCURRENCYNoParallelism for reading data by date.4
FITNESS_ADMIN_PASSWORDNoPassword for the admin account, at least 16 characters (required for OAuth mode).
FITNESS_ADMIN_USERNAMENoHuman account username for login/consent pages (required for OAuth mode).
FITNESS_MAX_RANGE_DAYSNoMaximum inclusive period in days.366
OAUTH_MAX_DYNAMIC_CLIENTSNoMaximum number of persisted dynamic clients (when DCR is enabled).100
OAUTH_SESSION_TTL_SECONDSNoLogin/consent session lifetime in seconds.28800
OAUTH_ALLOWED_REDIRECT_URISNoAllowed exact redirect URIs for OAuth, comma-separated.
OAUTH_AUTH_CODE_TTL_SECONDSNoAuthorization code lifetime in seconds.90
OAUTH_ACCESS_TOKEN_TTL_SECONDSNoAccess token lifetime in seconds.900
OAUTH_REFRESH_TOKEN_TTL_SECONDSNoRefresh token lifetime in seconds.2592000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

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/alexisdechiara/fitness-mcp'

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