Ship an agent that touches 5 SaaS tools without 5 auth flows
使うタイミング: Your users want Claude to read Gmail, update HubSpot, comment on Jira — and you don't want to write OAuth glue for each.
前提条件
- Klavis account + API key — Sign up at klavis.ai and grab the key from dashboard
- Selected servers enabled — Toggle Gmail, HubSpot, Jira on in the Klavis UI
フロー
-
Wire the gatewayAdd Klavis as an MCP server with my token. List which tools are now available.✓ コピーしました→ Tool list mentions Gmail, HubSpot, Jira endpoints
-
End-user connectGenerate the Connect-Gmail URL for user_id=xyz. When they return, confirm auth succeeded.✓ コピーしました→ OAuth URL returned; post-callback shows connected:true
-
Cross-app actionFor the latest Gmail from acme.com, create a HubSpot contact and a Jira ticket summarizing the thread.✓ コピーしました→ All three APIs hit in one flow with audit trail
結果: A working multi-SaaS agent with user-scoped auth and one config URL.
注意点
- User tokens expire silently — Subscribe to the
auth_expiredwebhook and prompt the user to reconnect