@mukundakatta/otp-mcp
v0.1.0
Published
MCP server: generate and verify TOTP and HOTP one-time passwords.
Maintainers
Readme
otp-mcp
MCP server: generate TOTP (RFC 6238) and HOTP (RFC 4226) one-time passwords,
and build otpauth:// URIs suitable for QR-coding into authenticator apps.
Tools
totp
{ "secret": "GEZDGNBVGY3TQOJQGEZDGNBVGY3TQOJQ", "digits": 6 }→ { "code": "287082", "counter": 56370370, "period": 30 }
secret is base32. Defaults: period 30, digits 6, algorithm SHA1.
hotp
{ "secret": "GEZDGNBVGY3TQOJQGEZDGNBVGY3TQOJQ", "counter": 0 }→ { "code": "755224" }
uri
{ "secret": "...", "label": "[email protected]", "issuer": "Example" }→ otpauth://totp/Example:[email protected]?secret=...&issuer=Example
Configure
{ "mcpServers": { "otp": { "command": "npx", "args": ["-y", "@mukundakatta/otp-mcp"] } } }License
MIT.
