Observed since 20 Oct, 19:13 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
MCP server for generating and verifying TOTP 2FA codes. Use with Claude Code, Claude Desktop, or any MCP client.
MCP (Model Context Protocol) server for generating and verifying TOTP 2FA codes. Allows AI agents to handle two-factor authentication programmatically.
generate_totpGenerate a TOTP code from a secret key.
Parameters:
secret (required) — Base32 encoded secret key or otpauth:// URIdigits — Number of digits (default: 6)period — Time period in seconds (default: 30)algorithm — SHA1 | SHA256 | SHA512 (default: SHA1)Returns: Current code, next code, seconds remaining, and configuration details.
verify_totpVerify if a TOTP code is valid for a given secret.
Parameters:
secret (required) — Base32 encoded secret key or otpauth:// URIcode (required) — The TOTP code to verifywindow — Number of time windows to check before/after current (default: 1)Returns: Whether the code is valid and the time delta.
cd mcp
npm install
npm run build
Add to your Claude Code MCP settings (~/.claude/settings.json or project .mcp.json):
{
"mcpServers": {
"2faa": {
"command": "node",
"args": ["/absolute/path/to/2faa/mcp/dist/index.js"]
}
}
}
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"2faa": {
"command": "node",
"args": ["/absolute/path/to/2faa/mcp/dist/index.js"]
}
}
}
{
"mcpServers": {
"2faa": {
"command": "npx",
"args": ["-y", "@2faa/mcp-server"]
}
}
}
Once configured, ask your AI agent:
MIT
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.0.0Registry latest | 25 Mar 2026 | 5 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 19:13 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:fd9d7815842a4f067bf108d53116f9d302d46d3d5c725f45921dd214cc4f7d36