MCP and Agents
The current CLI is agent-ready as a subprocess through JSON output and deterministic exit codes. The PRD calls for a future teams mcp serve command, but the current command tree does not yet ship mcp.
Current integration path
Use shell subprocess calls:
teams message list --chat "$CHAT_ID" --output json
teams message send --chat "$CHAT_ID" --body "$RESPONSE" --output json
Planned MCP path
Future MCP mode should expose safe Teams tools over stdio first, with SSE only after auth and tenancy controls are designed.