🔐 2FA for AI agents — let your agent handle authentication. CLI + MCP server for Claude Code, Codex CLI, OpenClaw.
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"agent2fa": {
"command": "npx",
"args": [
"-y",
"leogaudez-bot/agent2fa"
]
}
}
}
Run in terminal:
claude mcp add agent2fa npx -y leogaudez-bot/agent2fa
Add to .cursor/mcp.json:
{
"mcpServers": {
"agent2fa": {
"command": "npx",
"args": [
"-y",
"leogaudez-bot/agent2fa"
]
}
}
}