Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OTP_MCP_SERVER_DB | No | Path to the tokens database file | |
| OTP_MCP_SERVER_HOST | No | Host to bind the server to | |
| OTP_MCP_SERVER_PATH | No | Path for HTTP transport | |
| OTP_MCP_SERVER_PORT | No | Port to bind the server to | |
| OTP_MCP_SERVER_LOG_LEVEL | No | Logging level | |
| OTP_MCP_SERVER_TRANSPORT | No | Transport protocol to use |
Capabilities
Server capabilities have not been inspected yet.
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 | |
| calculate_otp_codes | |
| add_token | |
| delete_token | |
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. |