otp-mcp
Model Context Protocol (MCP) server that provides OTP (One-Time Password) generation
Documentation
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-serverBasic 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 8000Using 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 |
Frequently asked questions
What is otp-mcp?
otp-mcp is Model Context Protocol (MCP) server that provides OTP (One-Time Password) generation
How do I install otp-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is otp-mcp open source?
Yes — it is hosted on GitHub at https://github.com/andreax79/otp-mcp and has 5 stars.
Related MCP tools
Open-source coding agent memory. Records issues, attempts, fixes and decisions, then warns your agent before it repeats an approach that already failed. Native MCP server for Claude Code, Cursor, Antigravity and Codex. 100% local, no cloud, no telemetry. MIT.
AI-powered OSINT agent with interactive REPL, MCP server, and CLI. 19 tools. Works with Claude, GPT-4, or local models. For authorized security research only.
An LLM agent that conducts deep research (local and web) on any given topic and generates a long report with citations. Built for the Model Context Protocol to
Fast and Accurate Code Search for Agents. Uses 99% fewer tokens than grep+read
Transparent and Efficient Financial Analysis
An AI Gateway, registry, and proxy that sits in front of any MCP, A2A, or REST/gRPC APIs, exposing a unified endpoint with centralized discovery, guardrails and management. Optimizes Agent & Tool calling, and supports plugins.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP