mirror of
https://github.com/browseros-ai/BrowserOS.git
synced 2026-05-18 19:16:22 +00:00
* feat: update to support more klavis MCP servers * fix: minor icon fix * fix: normalize klavis mcp auth flow compatibility * feat: add API key auth flow for Klavis MCP servers Servers that use API key authentication (Stripe, Cloudflare, Brave Search, Exa, Mem0, Resend, Mixpanel, PostHog, Postman, Zendesk, Intercom) were failing with "Failed to add app" because the frontend only handled OAuth flows. This adds the complete API key auth path: - Backend: apiKeyUrls in StrataCreateResponse, submitApiKey() method, /servers/submit-api-key route - Frontend: ApiKeyDialog component, useSubmitApiKey hook, ConnectMCP updated to show dialog for API-key servers instead of opening OAuth Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: remove broken success check in Klavis submitApiKey The Klavis /mcp-server/instance/set-auth endpoint returns { message: "Authentication updated successfully." } without a success field. Our code checked `data.success` which was always undefined, causing API key auth to fail even when Klavis accepted the key. The request() method already throws on non-2xx responses, so the explicit check was redundant and incorrect. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>