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
# Use uvx for isolated execution
uvx otp-mcp-server
# Or install from PyPI
pip install otp-mcp-server
Basic Usage
# Run with STDIO (default, for Claude Desktop)
otp-mcp-server
# Run with HTTP Stream transport
otp-mcp-server --http-stream --host 127.0.0.1 --port 8000
# Run with SSE transport
otp-mcp-server --sse --host 127.0.0.1 --port 8000
Using with Claude Desktop
Add to your Claude Desktop configuration:
{
"mcpServers": {
"otp": {
"command": "uvx",
"args": ["otp-mcp-server"]
}
}
}
Configuration
You can configure the server using command-line arguments or environment variables.
| Environment Variable | Description |
|---|---|
OTP_MCP_SERVER_DB |
Path to the tokens database file |
OTP_MCP_SERVER_HOST |
Host to bind the server to |
OTP_MCP_SERVER_PORT |
Port to bind the server to |
OTP_MCP_SERVER_TRANSPORT |
Transport protocol to use |
OTP_MCP_SERVER_PATH |
Path for HTTP transport |
OTP_MCP_SERVER_LOG_LEVEL |
Logging level |
Metadata
Release files for iflow-mcp_andreax79_otp-mcp-server 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| iflow_mcp_andreax79_otp_mcp_server-0.3.0.tar.gz | 7.6 kB | Without provenance | Details for iflow_mcp_andreax79_otp_mcp_server-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iflow_mcp_andreax79_otp_mcp_server-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for iflow_mcp_andreax79_otp_mcp_server-0.3.0-py3-none-any.whl |
Total release size: 19.7 kB
Release files / iflow_mcp_andreax79_otp_mcp_server-0.3.0.tar.gz
| Download URL | iflow_mcp_andreax79_otp_mcp_server-0.3.0.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
239664ca6049bd744d234c09fddf4873de44708762303253357770970706e5b6
|
|
BLAKE2b-256 checksum How to use checksums |
1332e57e979d83c87112e50e51c06548308be8dfa4b95c2a04a84333d548aa0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.8
|
Release files / iflow_mcp_andreax79_otp_mcp_server-0.3.0-py3-none-any.whl
| Download URL | iflow_mcp_andreax79_otp_mcp_server-0.3.0-py3-none-any.whl |
|---|---|
| Size | 12.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
225e332a7fda89a790d449d45e734e9060acd11e1395fe231fa660e174a28dfd
|
|
BLAKE2b-256 checksum How to use checksums |
e9223c1aec04e22be9bb70f9ba20ba40d9c5d2e895a34499757f8bff72eac43f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.8
|
Security for iflow-mcp_andreax79_otp-mcp-server 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.