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
Integrations for other platforms
Skills (drop into your agent's config)
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.