Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
No arguments |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
list_tokens | Provides OTP tokens as JSON. |
list_token_types | Provides the list of OTP token types. |
list_algorithms | Provides the list of the supported OTP algorithms. |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
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) |