The OTP-MCP server is a Model Context Protocol server that provides secure OTP (One-Time Password) generation and management for integration with AI assistants and applications.
Core Capabilities:
List OTP tokens - View all available tokens in your database
Search tokens - Retrieve detailed information for tokens matching a specific pattern (name or token number)
Generate OTP codes - Calculate one-time password codes for matching tokens
Add new tokens - Register tokens with customizable settings:
TOTP (Time-based) and HOTP (HMAC-based) algorithms
Multiple hashing algorithms (SHA1, SHA256, SHA512, MD5)
Configurable secret key, issuer, account, code length (digits), time period, and counter values
Delete tokens - Remove tokens from your database by pattern matching
Integration & Configuration:
Multiple transport protocols: STDIO (for Claude Desktop), HTTP Stream, and SSE
Flexible configuration via command-line arguments or environment variables for database, host, port, transport, and logging
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@otp-mcp-servergenerate a TOTP for my GitHub account"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OTP-MCP-Server
Model Context Protocol (MCP) server that provides OTP (One-Time Password) generation
A Model Context Protocol (MCP) server built with FastMCP that provides secure OTP (One-Time Password) generation. Supports TOTP (Time-based) and HOTP (HMAC-based) algorithms and multiple transport options including stdio, SSE, and HTTP Stream for seamless integration with AI assistants and applications.
Quick Start
Installation
Basic Usage
Using with Claude Desktop
Add to your Claude Desktop configuration:
Configuration
You can configure the server using command-line arguments or environment variables.
Environment Variable | Description |
| Path to the tokens database file |
| Host to bind the server to |
| Port to bind the server to |
| Transport protocol to use |
| Path for HTTP transport |
| Logging level |