"""ARC before_checkout through AutoGen's McpWorkbench. No model, no key. pip install "autogen-ext[mcp]" autogen-agentchat "mcp<2" python example.py """ import asyncio import os from autogen_ext.tools.mcp import McpWorkbench, StreamableHttpServerParams ARC = os.environ.get("ARC_MCP_URL", "https://www.arcreport.ai/api/ask") async def main() -> None: async with McpWorkbench(StreamableHttpServerParams(url=ARC)) as arc: # Call before_checkout before you send the user to checkout. record = await arc.call_tool("before_checkout", {"url": "https://allbirds.com"}) print(record.to_text()) asyncio.run(main())