Otp Ai MCP
MCP server that generates and verifies TOTP/HOTP one-time codes for AI assistants
- Pricing
- Open source
- Platforms
- CLI, self-hosted
- Runs
- Locally
- Version
- 1.0.8
- Listing updated
- today
Similar MCP servers
About Otp Ai MCP
Otp Ai MCP is an open-source MCP server for security. It runs locally on your machine and is started by your AI client.
The README says this MCP server handles time-based and counter-based one-time passwords, the TOTP and HOTP schemes used for two-factor authentication. It exposes tools such as generate_otp, verify_otp and generate_secret, which an MCP-compatible assistant can call during a task.
It installs from PyPI as otp-ai-mcp and runs over stdio, so it can be wired into Claude Desktop or another MCP client with a short JSON config. Installation via Smithery is also documented.
The project is aimed at developers and operators who want an assistant to produce or check OTP codes for testing or automation. The source is MIT-licensed and can be self-hosted at no cost.
Install
Run in a terminal
claude mcp add otp-ai-mcp -- uvx otp-ai-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"otp-ai-mcp": {
"command": "uvx",
"args": [
"otp-ai-mcp"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"otp-ai-mcp": {
"command": "uvx",
"args": [
"otp-ai-mcp"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"otp-ai-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"otp-ai-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"otp-ai-mcp": {
"command": "uvx",
"args": [
"otp-ai-mcp"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"otp-ai-mcp": {
"command": "uvx",
"args": [
"otp-ai-mcp"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Tools this server provides (3)
Taken from the project documentation; the running server may differ.
- generate_otp
- Generate a one-time password code.
- verify_otp
- Verify a one-time password code.
- generate_secret
- Generate a new OTP secret.
What it does
- Generate OTP codes
- Produces TOTP or HOTP one-time codes from a secret through the generate_otp tool.
- Verify OTP codes
- Checks a submitted code against a secret using the verify_otp tool.
- Create secrets
- Generates a new shared secret with the generate_secret tool.
- Stdio transport
- Runs as a local stdio server that MCP clients can launch directly.
- Easy installation
- Available on PyPI and installable through Smithery.
Good for
- Testing two-factor login flows during application development
- Letting an assistant verify a one-time code during an automated check
- Generating a fresh secret for a new TOTP-enabled account in a test environment
Pricing
Open source
MIT-licensed and free to self-host; MEOK offers pay-per-job services without a public price list.
Otp Ai MCP FAQ
Is this MCP server free to use?
The README says the source is MIT-licensed and free to self-host. It also describes a pay-per-job service from MEOK without a public price list.
How is it installed?
The README gives pip install otp-ai-mcp or npx installation via Smithery, and a JSON config for Claude Desktop using uvx.
What tools does it expose?
The README lists generate_otp, verify_otp and generate_secret as example tools.
Is Otp Ai MCP free?
Yes. Otp Ai MCP is open source, so you can use and self-host it for free.
How do I add Otp Ai MCP to Claude Code?
Run this command in your terminal: claude mcp add otp-ai-mcp -- uvx otp-ai-mcp
What are the best alternatives to Otp Ai MCP?
The closest alternatives to Otp Ai MCP are Password Ai MCP, MyOTP.App, Proofof Ai MCP, MCP Server Auth Template and Authn8.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.