Framework guide
Handle 2FA and OTP codes in Claude computer use automatically
Connect OTPilot as an MCP server so Claude can call get_code itself while it drives the browser. OTPilot keeps the TOTP seed encrypted on its side; your Claude computer use agent only ever receives the current code, its expiry and the next code.
Claude computer use · shell
# Claude Code
claude mcp add --transport http otpilot https://otpilot.vibiz.app/mcp \
--header "Authorization: Bearer otp_live_YOUR_KEY"
# Then tell Claude:
# "Log into Shopify. When it asks for an authenticator code,
# call the otpilot get_code tool with account 'shopify'."Why not put the seed in your Claude computer use code?
- · A seed in an env var or prompt can generate codes forever — anyone who reads your logs, traces or repo can log in.
- · With OTPilot the agent holds a revocable, rate-limited key scoped to specific accounts. Revoke it and access ends instantly.
- · Each fetch is logged with the reason the agent gave, and sensitive accounts can require a human tap.
Claude computer use 2FA guides by site
- Amazon 2FA with Claude computer use→
- Amazon Web Services 2FA with Claude computer use→
- Cloudflare 2FA with Claude computer use→
- DigitalOcean 2FA with Claude computer use→
- GitHub 2FA with Claude computer use→
- GitLab 2FA with Claude computer use→
- HubSpot 2FA with Claude computer use→
- Microsoft Azure 2FA with Claude computer use→
- PayPal 2FA with Claude computer use→
- Shopify 2FA with Claude computer use→
- Slack 2FA with Claude computer use→
- Stripe 2FA with Claude computer use→
Try it with your own secret — no signup
Paste a TOTP secret on the home page and get a live code plus a working API call in seconds.