mirror of
https://github.com/open-webui/open-terminal.git
synced 2026-12-05 02:57:57 -05:00
FastMCP.from_fastapi() uses an internal httpx client to call the FastAPI routes. Without auth headers, every tool call (run_command, read_file, etc.) hits the verify_api_key guard and returns 401. Fixes tool calls returning: 'HTTP error 401: Unauthorized - Invalid API key'