#!/usr/bin/env npx tsx /** * MCP Server for Teams API * * Thin adapter that maps unified action definitions to MCP tools. * All tools, parameters, descriptions, and execution logic come * from `src/actions.ts` — the single source of truth. * * Configuration: * Set environment variables for authentication: * TEAMS_TOKEN — Use an existing skype token * TEAMS_BEARER_TOKEN — Optional middle-tier bearer token for profile resolution * TEAMS_SUBSTRATE_TOKEN — Optional Substrate bearer token for people/chat search * TEAMS_REGION — API region (required with TEAMS_TOKEN, optional otherwise) * TEAMS_EMAIL — Corporate email (optional; the server prompts the AI agent if needed) * TEAMS_AUTO — Set to "true" to use auto-login (macOS + FIDO2) * TEAMS_HEADLESS — Set to "true" to run FIDO2 auto-login headlessly * TEAMS_LOGIN — Set to "true" to use interactive browser login (all platforms) * TEAMS_DEBUG_PORT — Chrome debug port (default: 9222) * TEAMS_TELEMETRY — Set to "true" to enable full debug telemetry (contributor use) * TEAMS_IMAGE_DESCRIPTION_API_KEY — Optional vision API key for teams_describe_image * * Usage in VS Code settings (mcp config): * { * "mcpServers": { * "teams": { * "command": "npx", * "args": ["-y", "teams-api"], * "env": { * "TEAMS_LOGIN": "true" * } * } * } * } */ export {}; //# sourceMappingURL=mcp-server.d.ts.map