Skip to main content
Glama

otp-mcp-server

by andreax79

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
list_tokensProvides OTP tokens as JSON.
list_token_typesProvides the list of OTP token types.
list_algorithmsProvides the list of the supported OTP algorithms.

Tools

Functions exposed to the LLM to take actions

NameDescription
list_otp_tokens
Returns the list of OTP tokens.
Use this to understand which tokens are available before trying to generate code.
get_details
Get the details of all the OTP tokens matching the pattern

Args:
    pattern: Token pattern (part of the name or token number)
calculate_otp_codes
Calculate the OTP code for all tokens matching the pattern.

Args:
    pattern: Token pattern (part of the name or token number)
add_token
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)
delete_token
Delete an OTP token matching the pattern.

Args:
    pattern: Token pattern (part of the name or token number)

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