add_token
Add a new OTP token.
Keep OTP tokens where the assistant can reach them: add_token registers one from its secret, list_otp_tokens says what is stored, and calculate_otp_codes returns the current code for every token matching a pattern.
LABSCO SUMMARY
get_details, calculate_otp_codes and delete_token all take pattern, so a pattern loose enough to be convenient when fetching a code reaches just as widely when the call is delete_token. The store runs locally and holds no account of its own: what it keeps is the secret handed to add_token, alongside the account, issuer, type, algorithm, digits, period and counter that describe it.
A local OTP token store, exposing token listing, detail lookup, code calculation, and adding or deleting tokens.
Nothing — no account, no key.
One command — uvx otp-mcp-server
USE CASES
See which tokens are stored, then generate the current code for the one the prompt is asking about.
Register the token from its secret with the parameters the issuer specified, then read the details back to confirm they took.
List what is stored so the pattern you are about to delete on is one you have read, then remove the matches.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
add_tokenAdd a new OTP token.
calculate_otp_codesCalculate the OTP code for all tokens matching the pattern.
delete_tokenDelete an OTP token matching the pattern.
get_detailsGet the details of all the OTP tokens matching the pattern
list_otp_tokensReturns the list of OTP tokens. Use this to understand which tokens are available before trying to generate code.
BEFORE YOU INSTALL
5 tools when we connected.
uvx on PATH
CONTEXT COST
Rated by the size of the 5 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"otp-mcp-server": {
"command": "uvx",
"args": [
"otp-mcp-server"
]
}
}
}uvx otp-mcp-server