TOTP Generator
Generate time-based one-time codes (2FA).
About
Generate a TOTP code from a Base32 secret. Inputs: `secret`, optional `digits` (default 6) and `period` (default 30). Returns the current code. Use to verify 2FA setup.
Parameters
| Name | Type | Description |
|---|---|---|
secret * | string | (default: "JBSWY3DPEHPK3PXP") |
digits | integer | (default: 6) |
period | integer | (default: 30) |
locale | en | zh | (default: "en") |
Examples
- Generate a code for this TOTP secret.
Use it
In the browser: https://mcp.gholl.com/embed/totp-generator
As an AI tool: call totp-generator on the MCP endpoint https://mcp.gholl.com/mcp.
{
"mcpServers": {
"gholl": {
"type": "http",
"url": "https://mcp.gholl.com/mcp"
}
}
}
Related tools
- Password Strength — Estimate password strength and entropy.