Skip to content
Ahura OS
Get $10 free
All utilities
Security and verification

One-time code generator for AI agents

Computes time-based one-time passwords from a shared secret.

utilities.totp_token_generator

What it does

Computes time-based one-time passwords from a shared secret. It is one of the Security and verification tools in the Ahura Utilities catalogue: a ready-made MCP tool that an agent calls with a typed input and gets a structured result back, with no library to install and no sandbox to start.

How agents use it

Agents use one-time code generator to sign in to systems that require two-factor codes. Because it is a plain tool call, it slots into a single agent turn or a step in an Ahura Workflow, and large inputs and outputs are passed by reference using a store:// address from Ahura Store.

Interactive simulation

Run one-time code generator

Press Run to send the call. The dashboard shows what it would use in a partition. Simulated: nothing is actually executed.

ahura mcp · ptn_demo_7f3a

# Sign in to systems that require two-factor codes.

→ POST /mcp

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "utilities.totp_token_generator",
    "arguments": {
      "input": "<value to check or sign>"
    }
  }
}

Ready. Press Run.

ptn_demo_7f3a

Partition · N. Virginia · created just now

Simulated
Activeus-eastRetention hold
Run time
0.0s
0 calls
Size
2.3MB
0.00 ACU used

Services in this partition

  • Utilities

    0 calls · 0.00 ACU

Spend by service

Ledger

  • No usage yet.

Good to know

  • Billed per call, with the price shown in tools/list. See pricing
  • Runs inside your partition, so inputs and results stay isolated and follow its retention settings.
  • Safe to chain: pair it with Ahura Workflows for retries and approvals.