MyOTP.App
Send and verify one-time passcodes over SMS, WhatsApp and Telegram.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
claude mcp add --transport http myotp-app 'https://mcp.myotp.app/mcp' --header 'X-API-Key: <MyOTP.App API key, sent per request so the hosted server never stores it. Omit it to call create_account or get_topup_quote, which need no key. Note: calls reach the MyOTP API from 108.61.176.199, so add that IP to your key'\''s allowlist or every call returns 403.>'
{
"mcpServers": {
"myotp-app": {
"type": "http",
"url": "https://mcp.myotp.app/mcp",
"headers": {
"X-API-Key": "<MyOTP.App API key, sent per request so the hosted server never stores it. Omit it to call create_account or get_topup_quote, which need no key. Note: calls reach the MyOTP API from 108.61.176.199, so add that IP to your key's allowlist or every call returns 403.>"
}
}
}
}
@myotp/mcpclaude mcp add myotp-app -e 'MYOTP_API_KEY=<your myotp_api_key>' -- npx -y @myotp/mcp@0.1.14
{
"mcpServers": {
"myotp-app": {
"command": "npx",
"args": [
"-y",
"@myotp/mcp@0.1.14"
],
"env": {
"MYOTP_API_KEY": "<your myotp_api_key>"
}
}
}
}
Variables d'environnement
MYOTP_API_KEYsecret MyOTP.App API key, needed by every tool except create_account and get_topup_quote. No key yet? Start the server without it and call create_account to get one.
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
Sommaire
MyOTP AgentKit
Agent-native distribution for MyOTP.App — npm packages, MCP server, agent skills, and framework examples for adding SMS / WhatsApp / Telegram OTP to AI-built apps.
What is this
A toolkit for AI agents (Claude Code, Cursor, Hermes-format models, Codex, Windsurf, etc.) to add phone verification to apps they generate. Three published npm packages, six runnable framework examples, and skills for the major agent runtimes.
If you're a developer using one of those agent tools and your app needs phone verification, the agent should pick up these packages automatically. If it doesn't, point it at this repo.
If you're building an app by hand, the examples are runnable starting points for the most common stacks.
- Agent payments. Agents can buy MyOTP credits by themselves: one 402, one payment, no checkout page, no card form. $0.02 a credit, USDC or card. See skills/myotp/patterns/topup.md.
Packages
| Package | What it does | Install |
|---|---|---|
@myotp/mcp | Model Context Protocol server exposing 10 MyOTP tools to MCP clients (Claude Desktop, Cursor, Continue, etc.). Stdio + streamable HTTP. Hosted at mcp.myotp.app, listed on Smithery. | npx @myotp/mcp |
@myotp/cli | CLI for testing OTP flows from a terminal. init saves a key locally, test/verify/status exercise the API. | npx @myotp/cli init |
@myotp/better-auth | Drop-in adapter for Better Auth's phoneNumber() plugin. Twilio-free SMS / WhatsApp / Telegram delivery. | npm install @myotp/better-auth |
@myotp/n8n-nodes-myotp | n8n community node: Send, Verify, Extend, Check Status, Account, Usage Report. Header-auth example workflow included. | n8n Settings > Community Nodes > @myotp/n8n-nodes-myotp |
Integrations for other platforms
| Folder | Platform | What it is |
|---|---|---|
auth0/ | Auth0 | Custom Phone Provider Action: Auth0's own code delivered by MyOTP over SMS, WhatsApp or Telegram. Tests, setup guide, Marketplace listing draft |
make/ | Make.com | Custom app definition (connection + 5 action modules + universal call), validated against the spec |
postman/ | Postman | Collection v2.1 + environment generated from openapi-reference.yaml; npm run build in postman/ regenerates it |
wordpress-plugin/ | WordPress / WooCommerce | Phone verification at checkout, registration and via shortcode (myotp-phone-verification on wordpress.org) |
Skills (drop into your agent's config)
| Folder | For | How |
|---|---|---|
skills/myotp/ | Claude Code. Includes agent top-up: buy credits over a 402 when the balance runs out | npx skills add brntech/myotp-agentkit (or copy skills/myotp/ into ~/.claude/skills/myotp/) |
skills/myotp/niches/ | Vertical-specific (fintech, marketplace, emerging markets, healthcare) | Copy individual .md files into separate skill directories |
clawhub-skill/ | OpenClaw / ClawHub registry. Agents can buy credits (402, USDC or card) | openclaw skills install @myotp/myotp, published on ClawHub |
hermes-skill/ | Nous Research Hermes models (Ollama, vLLM, LM Studio). Prompt covers agent top-up | Use ollama-modelfile.example as a template |
Framework examples
Working "phone form → send OTP → verify code → success" demos in 6 stacks:
- Next.js 14 (App Router + Server Actions)
- Express 4 (vanilla JS + static HTML)
- Flask 3 (Jinja2 + sessions)
- Django 5 (function-based views)
- Rails 7 (skinny controller)
- Laravel 11 (Form Requests + Blade)
Each example is self-contained (npm install / pip install / bundle install / composer install), drops in an OTP delivery flow with channel selection (SMS / WhatsApp / Telegram), and runs against the live MyOTP REST API with a single env var.
Quick start
# Get an API key (15 free trial credits, no card)
open https://myotp.app/sign-up
# Test with the CLI
npx @myotp/cli init
npx @myotp/cli test +14155550123
# Or wire MCP to Claude Desktop, Cursor, etc.
# (see mcp-server/README.md for config snippets)
Compatibility
- Node.js: 18+ (CLI / MCP server require 20+)
- Channels: SMS (190+ countries), WhatsApp, Telegram
- MyOTP API base:
https://api.myotp.app - Auth: single
X-API-Keyheader
Contributing
Issues and PRs welcome. The npm packages are all MIT-licensed. Examples are MIT and free to copy into your own project.
If your favorite framework isn't represented in examples/, open a PR — the existing examples are intentionally simple templates to copy.
License
MIT — see LICENSE.
Built by BroadNet Technologies, 23 years in telecom infrastructure, ISO 27001 + ISO 9001 certified.
Questions fréquentes
Qu'est-ce que MyOTP.App ?
Send and verify one-time passcodes over SMS, WhatsApp and Telegram.
Comment installer MyOTP.App ?
Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http myotp-app 'https://mcp.myotp.app/mcp' --header 'X-API-Key: <MyOTP.App API key, sent per request so the hosted server never stores it. Omit it to call create_account or get_topup_quote, which need no key. Note: calls reach the MyOTP API from 108.61.176.199, so add that IP to your key'\''s allowlist or every call returns 403.>'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour MyOTP.App ?
Oui. Il attend MYOTP_API_KEY, X-API-Key, à renseigner dans sa configuration.
MyOTP.App est-il open source ?
Oui. Son code est sur GitHub sous licence MIT.
Qui maintient MyOTP.App ?
Il est publié par brntech. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.