Skip to main content

OTP-MCP-Server

Build Status PyPI version Python 3.11+ License: MIT Code style: black Imports: isort

otp-mcp-server 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)

Source distribution for iflow-mcp_andreax79_otp-mcp-server 0.3.0
File Size Uploaded
iflow_mcp_andreax79_otp_mcp_server-0.3.0.tar.gz 7.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_andreax79_otp-mcp-server 0.3.0
File Interpreter ABI Platform
iflow_mcp_andreax79_otp_mcp_server-0.3.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page