Skip to main content
Glama
index.ts726 B
import { validateEnvironment, getConfig } from './auth/middleware.js'; import { startServer } from './server.js'; async function main() { try { // Validate environment variables before starting validateEnvironment(); const config = getConfig(); console.log('Starting Domestique MCP Server...'); console.log(`Intervals.icu: configured for athlete ${config.intervals.athleteId}`); console.log(`Whoop: ${config.whoop ? 'configured' : 'not configured'}`); console.log(`TrainerRoad: ${config.trainerRoad ? 'configured' : 'not configured'}`); await startServer({ port: config.port }); } catch (error) { console.error('Failed to start server:', error); process.exit(1); } } main();

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/gesteves/domestique'

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