MCP Server for OTP
Project description
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 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file otp_mcp_server-0.3.0.tar.gz.
File metadata
- Download URL: otp_mcp_server-0.3.0.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65ee728cd86291d15992c56df1a608b7ce25c962ee7653c6ac322f3320ce1fbd
|
|
| MD5 |
441e7b78a7ddd71da118c1305e666be8
|
|
| BLAKE2b-256 |
b7410232d0b051a7953c11f5c46ab5711f97f406b55aa9e0a240c44dd75fda3b
|
Provenance
The following attestation bundles were made for otp_mcp_server-0.3.0.tar.gz:
Publisher:
release.yml on andreax79/otp-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
otp_mcp_server-0.3.0.tar.gz -
Subject digest:
65ee728cd86291d15992c56df1a608b7ce25c962ee7653c6ac322f3320ce1fbd - Sigstore transparency entry: 252941150
- Sigstore integration time:
-
Permalink:
andreax79/otp-mcp@f67e5c08425fc90fdc59d7531a33e1f570f4baf6 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/andreax79
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f67e5c08425fc90fdc59d7531a33e1f570f4baf6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file otp_mcp_server-0.3.0-py3-none-any.whl.
File metadata
- Download URL: otp_mcp_server-0.3.0-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f52129b4aac4795ebecb87f609297fc57a882d93fd9adba89c2d96376f8ab4b
|
|
| MD5 |
1cb9ebf80967e62b4fc4ccca15de0bbd
|
|
| BLAKE2b-256 |
9cc22304a297386e683cc927223b9f47b96c6ba9d260a4c67889bbf911836094
|
Provenance
The following attestation bundles were made for otp_mcp_server-0.3.0-py3-none-any.whl:
Publisher:
release.yml on andreax79/otp-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
otp_mcp_server-0.3.0-py3-none-any.whl -
Subject digest:
0f52129b4aac4795ebecb87f609297fc57a882d93fd9adba89c2d96376f8ab4b - Sigstore transparency entry: 252941168
- Sigstore integration time:
-
Permalink:
andreax79/otp-mcp@f67e5c08425fc90fdc59d7531a33e1f570f4baf6 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/andreax79
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f67e5c08425fc90fdc59d7531a33e1f570f4baf6 -
Trigger Event:
push
-
Statement type: