#!/usr/bin/env node import 'dotenv/config'; import { AuthManager } from './auth/index.ts'; import { MicrosoftGraphServer } from './server/index.ts'; async function main() { const scopes = (process.env.GRAPH_SCOPES || '').split(' '); const auth = new AuthManager(scopes); // No need to pre-load cache or check accounts // Each request will handle authentication per-user const server = new MicrosoftGraphServer(auth); await server.start(); } main();