Skip to main content
Glama

otp-mcp-server

by andreax79

add_token

Create and configure a new OTP token with customizable parameters like secret key, issuer, account, type, algorithm, and period for secure authentication.

Instructions

Add a new OTP token. Args: secret: Base32 encoded secret key issuer: Issuer of the OTP token account: Accout for the OTP token type: Type of the OTP token (TOTP or HOTP) (default is TOTP) algorithm: Hashing algorithm to use (SHA1, SHA256, SHA512, MD5) (default is SHA1) counter: Counter value for HOTP tokens (default is 0) digits: Number of digits in the OTP code (default is 6) period: Time period for TOTP tokens in seconds (default is 30)

Input Schema

NameRequiredDescriptionDefault
accountYesAccount for the OTP token
algorithmNoSHA1
counterNoCounter value for HOTP tokens
digitsNoNumber of digits in the OTP code
issuerYesIssuer of the OTP token
periodNoTime period for TOTP tokens in seconds
secretYesSecret key Base32
typeNoTOTP

Input Schema (JSON Schema)

{ "properties": { "account": { "description": "Account for the OTP token", "title": "Account", "type": "string" }, "algorithm": { "const": [ "SHA1", "SHA256", "SHA512", "MD5" ], "default": "SHA1", "title": "Algorithm", "type": "array" }, "counter": { "default": 0, "description": "Counter value for HOTP tokens", "title": "Counter", "type": "integer" }, "digits": { "default": 6, "description": "Number of digits in the OTP code", "title": "Digits", "type": "integer" }, "issuer": { "description": "Issuer of the OTP token", "title": "Issuer", "type": "string" }, "period": { "default": 30, "description": "Time period for TOTP tokens in seconds", "title": "Period", "type": "integer" }, "secret": { "description": "Secret key Base32", "title": "Secret", "type": "string" }, "type": { "const": [ "TOTP", "HOTP" ], "default": "TOTP", "title": "Type", "type": "array" } }, "required": [ "secret", "issuer", "account" ], "type": "object" }

Other Tools from otp-mcp-server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/andreax79/otp-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server