プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

MyOTP.App

作者:brntechバージョン 0.1.14i★ 1 (リポジトリ全体のスター)iパソコンでもクラウドでも
レジストリ名io.github.brntech/myotp

インストール方法

What it does

Send and verify one-time passcodes over SMS, WhatsApp and Telegram.

  • Connects パソコンでもクラウドでも
  • Account or key Cloud: Works without a key · add X-API-Key if you have one (often raises limits) · Local: Needs MYOTP_API_KEY
  • Category チャット・メール

インストール

使っているAIアプリを選んで、設定をコピーしてください。

チェック 5/5 合格 · 質問内容は提供元のサーバー(mcp.myotp.app)を通ります · ✓ コマンド確認済み 2026年11月13日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげます · 約 2 分

キー不要、インストール不要 · claude.ai かデスクトップアプリで一度設定すれば、チャットで使えます · 無料アカウントは 1 つまで · Team/Enterprise はオーナー(Owner)が追加

  1. Claude の Connectors ページを開く

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4
  2. 「Add」→「Custom」→「Web」を押し、この 2 つを入力

    ここからコピーして Claude の同じ名前の欄に貼り付け、Continue を押します

    Name · 名前MyOTP.App
    Remote MCP server URL · アドレスhttps://mcp.myotp.app/mcp

    Claude が検出したサインイン設定の画面で Continue を押す · Authentication は作者の説明どおり(Sign in now・Sign in when needed・No sign in)を選び Add を押します

  3. チャットで有効にする

    +ConnectorsMyOTP.App

  4. 試してみる

    MyOTP.App を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が MyOTP.App を使っていると言うか、回答に MyOTP.App のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT との接続はプランしだい

フル MCP:Web 版 ChatGPT の Business・Enterprise・Edu · Pro:読み取り/取得の権限で接続、データを変えるツールは使えないことがあります · Plus:公式ドキュメントで未確認。プラグイン画面にカスタム MCP を追加する項目があれば試せます · Web のみ

  1. Web 版 ChatGPT で MCP の追加ページを開く

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. 名前とアドレスを入力

    名前を入れ、Connection にアドレスを貼り付け、注意事項にチェックして Create as a plugin を押します

    Name · 名前MyOTP.App
    Connection · アドレスhttps://mcp.myotp.app/mcp
  3. チャットで MyOTP.App を選ぶ

    新しいチャットを開き、入力前にプラグインの一覧から MyOTP.App を選びます

  4. 試してみる

    MyOTP.App を使って、私に何ができるか教えて、1 つやってみせて

    ✓ ChatGPT が MyOTP.App を使っていると言うか、回答に MyOTP.App のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に OpenAI のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Claude Code につなげます · 約 2 分

キー不要、インストール不要

  1. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  2. このコマンドを貼り付けて Enter

    claude mcp add --transport http --scope user myotp https://mcp.myotp.app/mcp
  3. Claude Code で /mcp と入力

    MyOTP.App が一覧にあり、接続済みと表示されれば OK です

  4. 試してみる

    MyOTP.App を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が MyOTP.App を使っていると言うか、回答に MyOTP.App のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげます · 約 2 分

キー不要、インストール不要

  1. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  2. Cursor の AI チャットを Agent モードで開く

  3. 試してみる

    MyOTP.App を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が MyOTP.App を使っていると言うか、回答に MyOTP.App のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげます · 約 2 分

キー不要、インストール不要

  1. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  2. VS Code の AI チャットを Agent モードで開く

  3. 試してみる

    MyOTP.App を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が MyOTP.App を使っていると言うか、回答に MyOTP.App のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

Web 経由でつなぐアプリ用のアドレス

アドレスhttps://mcp.myotp.app/mcp

JSON 設定は下の「開発者向け」にあります

つまずいたら?MyOTP.App を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

Web 経由

Claude Code

claude mcp add --transport http --scope user myotp https://mcp.myotp.app/mcp

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "myotp": {
      "url": "https://mcp.myotp.app/mcp"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "myotp": {
      "type": "http",
      "url": "https://mcp.myotp.app/mcp"
    }
  }
}

パソコンにインストール

Claude Code

claude mcp add --scope user myotp --env MYOTP_API_KEY=your-value -- npx -y @myotp/mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "myotp": {
      "command": "npx",
      "args": [
        "-y",
        "@myotp/mcp"
      ],
      "env": {
        "MYOTP_API_KEY": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "myotp": {
      "command": "npx",
      "args": [
        "-y",
        "@myotp/mcp"
      ],
      "env": {
        "MYOTP_API_KEY": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "myotp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@myotp/mcp"
      ],
      "env": {
        "MYOTP_API_KEY": "your-value"
      }
    }
  }
}

自分で入力する値

  • MYOTP_API_KEY 秘密 必須 env
    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.
  • X-API-Key 秘密 HTTP header
    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…

説明は英語の原文のままです。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

GitHubスターi
1 (リポジトリ全体のスター)
このリポジトリには複数の MCP があり、スターは順位で1件だけ数えます
週あたりのダウンロードi
61/週
接続方法
パソコンでもクラウドでも
最新バージョンi
0.1.14
レジストリ公開日i
2026年10月13日
コードの最終更新i
2026年10月27日
作者
brntech
パッケージ
npm: @myotp/mcp
ウェブサイト
mcp.myotp.app
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

インターネット経由でつなげるアプリ

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

ツールの名前と説明は、サーバーが2026年11月13日に返したそのままの内容です。書いたのは作者で、私たちではありません。プレーンテキストとして表示しています。

  • generate_otp

    Send a one-time password (OTP) to a phone number via SMS, WhatsApp, or Telegram. MyOTP.App generates the code, formats the message, picks the best carrier route, and delivers it. Returns a `message_id` (UUID) — keep it; you'll pass it to `verify_otp`, `check_otp_status`, or `exte

  • verify_otp

    Verify a code submitted by an end user against the OTP MyOTP delivered. Returns `{status: 'success'}` if the code matches and the OTP hasn't expired — at that point the OTP is consumed and cannot be reused. Returns `{status: 'failed', reason: 'invalid' | 'expired' | 'not found'}`

  • check_otp_status

    Check whether a previously sent OTP is still active and (with DLR_ACCESS entitlement on Enterprise plan) get its delivery status. Returns `is_active` (bool) and `expires_at` (ISO timestamp) on every plan. On Enterprise plans, also returns `DLR`: 'delivered', 'sent', 'read', 'pend

  • extend_otp

    Extend the expiry time of an active OTP without sending a new one. Useful when the end user is taking longer than expected to enter the code (e.g., switched apps, dealing with carrier delivery delay). Adds `duration` seconds (60-14400) to the current `expires_at`. Requires the EX

  • get_account_info

    Return account details for the API key in use. Always returns at least the account `email`; depending on plan and platform version may also return balance/credit/plan info. Use this as a sanity check when wiring up MyOTP for the first time — if this call succeeds, your API key an

  • get_usage_report

    Fetch a paginated list of OTP transactions for a date range. Each transaction includes message_id, timestamp, phone_number, channel, country, cost, status, and the originating client IP. Date range cannot exceed 31 days. Defaults: last 7 days, page 1, 10 per page. Requires the AP

  • create_account

    Create a MyOTP.App agent account and return its one-time API key. No API key is required for this tool. The new account starts with zero balance; USDC top-ups work immediately, while card top-ups unlock after a human confirms the email address.

  • get_account_status

    Return email verification, balance, plan, and status for the configured MyOTP agent account. Set resend_verification to request another confirmation email first. Unverified accounts can top up with USDC, but cards stay locked.

  • get_topup_quote

    Get the live price and payment options for buying MyOTP credits, without making a purchase. Use this when generate_otp or another send fails with HTTP 403 insufficient balance / NoBalance, or before calling `top_up_credits` to show the cost. Returns USDC and card client commands

  • top_up_credits

    Prepare or complete an autonomous MyOTP credit purchase with USDC or card through Machine Payments Protocol (MPP). Use this when generate_otp or another send fails with HTTP 403 insufficient balance / NoBalance. The tool quotes first, then returns a structured 402 challenge and e

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月15日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント brntech で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:19 日前

  • ✓ 合格

    ライセンスがある

    MITを使用

  • ✓ 合格

    エンドポイントが応答する

    404ミリ秒で応答(HTTP 200)

  • – 対象外

    OAuthでサインイン

    サインイン不要

  • ✓ 合格

    ツールの説明に隠れた指示がない

    10件のツールの説明を読み、AIへの隠れた指示は見つかりませんでした

公開済みの脆弱性(OSV.dev)

まだ確認していません

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

チャット・メールのほかのサーバーとの比較i

  • このカテゴリのほかの2052件のうち0%よりスターが多い
  • このカテゴリのほかの2052件のうち45%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの2052件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

MyOTP.Appは安全ですか?

当てはまる基本チェック5項目のうち5項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:MYOTP_API_KEY

パソコンで動きますか、それともクラウドですか?

どちらでも使えます。パソコンにインストールしても、クラウド版につないでもかまいません。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は19 日前、最新バージョン(0.1.14)がレジストリに届いたのは33 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URL で接続するので、リモート MCP を受け付けるアプリでも使えます。例:Web 版 ChatGPT(Business 以上はフル MCP、Pro は読み取りのみ)。

代わりに使えるものは?

同じカテゴリには:draw.io, Vexa, emailmd, Kite Discord Bot Builder, e2a — email for AI agents

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

draw.io

Create draw.io diagrams in chat from Mermaid or XML, shown live and interactive. 10,000+ shapes.

作者:jgraph広く使われている★ 58265 日前更新

クラウドで動く✓ 提供元 · draw.ioPopNx チームが実際に試用

Vexa

Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.

作者:Vexa-ai広く使われている★ 29812 か月前更新

クラウドで動く✓ 提供元 · vexa.ai

emailmd

Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.

作者:anypost広く使われている↓ 5432/週★ 1391昨日更新

パソコンでもクラウドでも✓ 提供元 · emailmd.dev

Kite Discord Bot Builder

Build and fix Discord bots from a chat. Kite hosts them 24/7, with no code to deploy.

作者:merlinfuchs成長中★ 334 リポジトリ全体のスター18 日前更新

クラウドで動く✓ 提供元 · kite.onl

e2a — email for AI agents

Authenticated email gateway for AI agents — per-agent inboxes, HITL approval, SPF/DKIM verified.

作者:tokencanopy成長中★ 199 リポジトリ全体のスター4 か月前更新

クラウドで動く✓ 提供元 · e2a.dev
  • draw.io — クラウドで動き、インストール不要 · キー不要
  • Vexa — クラウドで動き、インストール不要 · キーが必要
  • emailmd — クラウドでもパソコンにインストールでも使える · キー不要
  • Kite Discord Bot Builder — クラウドで動き、インストール不要 · キー不要
  • e2a — email for AI agents — クラウドで動き、インストール不要 · キー不要

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

@myotp/mcp — MyOTP.App MCP Server

A Model Context Protocol server that exposes MyOTP.App's OTP API to any MCP-compatible AI agent: Claude Desktop, Claude Code, Cursor, Windsurf, Codex, and anything else that speaks MCP.

Send and verify one-time passwords (SMS, WhatsApp, Telegram) directly from a chat with your agent, or from any app it builds.

What it does

Exposes 10 tools:

ToolPurpose
generate_otpSend an OTP via SMS, WhatsApp, or Telegram. Returns a message_id.
verify_otpVerify a code submitted by an end user.
check_otp_statusCheck delivery status / whether an OTP is still active.
extend_otpAdd more time to an active OTP without resending.
get_account_infoSanity-check the API key and IP whitelist (calls GET /me).
get_usage_reportPaginated transaction history for a date range.
create_accountCreate an agent account without an API key and return its one-time key.
get_account_statusCheck verification, balance, plan, and status; optionally resend verification.
get_topup_quoteQuote a credit purchase and return USDC and card payment commands.
top_up_creditsReturn an MPP payment challenge and retry details, or the credited result.

Every tool declares an outputSchema, so clients can type-check structuredContent; error results carry { error, status?, endpoint?, body? } with isError: true.

All tools call the public MyOTP REST API at https://api.myotp.app. Override with the MYOTP_BASE_URL env var for a mock server.

Install

You don't need to install anything globally — npx will fetch and run the latest version on demand:

npx @myotp/mcp

Use the scoped name. myotp-mcp is the bin name inside the package, not a

package on npm, so npx myotp-mcp does not resolve.

If you want to pin a version or install it locally:

npm install --save-dev @myotp/mcp

Get an API key

Call create_account with an email address and optional name. It is the one account tool that needs no configured key. Save the returned API key immediately: it is shown once, and the new account starts with a zero balance. Configure that key as MYOTP_API_KEY for stdio or send it with hosted requests, then call get_topup_quote or top_up_credits to add credits.

The confirmation email requires a human click. Confirmation unlocks card top-ups; USDC top-ups work before confirmation. Human signup at myotp.app/sign-up/ remains available and follows the dashboard's email, phone, API-key, and IP-allowlist flow.

Use it with Claude Desktop

Edit your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):

{

"mcpServers": { "myotp": { "command": "npx", "args": ["-y", "@myotp/mcp"], "env": { "MYOTP_API_KEY": "your-32-character-api-key" } } } }

Restart Claude Desktop. Ask the agent: *"Send a test OTP to my phone +1 415 555 0123."* It will call generate_otp and report the message_id.

Use it with Claude Code

Add it to your project's .mcp.json:

{

"mcpServers": { "myotp": { "command": "npx", "args": ["-y", "@myotp/mcp"], "env": { "MYOTP_API_KEY": "your-32-character-api-key" } } } }

Or register it globally with the Claude Code CLI:

claude mcp add myotp -- npx -y @myotp/mcp

Set the env var separately, then restart claude.

Use it with Cursor

Cursor reads the same .mcp.json format. Add to your workspace settings or .cursor/mcp.json:

{

"mcpServers": { "myotp": { "command": "npx", "args": ["-y", "@myotp/mcp"], "env": { "MYOTP_API_KEY": "your-32-character-api-key" } } } }

Gateways that pass config in the URL

Some MCP gateways deliver per-user settings as query parameters rather than headers. The hosted server accepts ?apiKey= (also ?api_key=, or a base64url ?config= JSON blob with an apiKey field) as a fallback. A key in the X-API-Key or Authorization: Bearer header always wins over one in the URL. On Smithery, the config schema maps the key to the x-api-key header, so no URL parameter is needed there.

Use it with Codex CLI

Codex reads TOML, not JSON. Add to ~/.codex/config.toml:

[mcp_servers.myotp]

command = "npx" args = ["-y", "@myotp/mcp"]

[mcp_servers.myotp.env] MYOTP_API_KEY = "your-32-character-api-key"

Codex can also talk to the hosted server over HTTP instead of launching anything locally. It attaches the token as Authorization: Bearer, which the hosted endpoint accepts as an alias for X-API-Key:

[mcp_servers.myotp]

url = "https://mcp.myotp.app/mcp" bearer_token_env_var = "MYOTP_API_KEY"

On older Codex builds that only pick up stdio servers, add experimental_use_rmcp_client = true above the entry.

If you use the hosted URL, add `108.61.176.199` to your API key's IP allowlist. Hosted calls reach the MyOTP API from that address rather than from your machine, and every call returns 403 until it is allowed. The stdio option above has no such requirement because the request leaves your own machine.

Use it with anything else

Any client that speaks MCP works. The stdio block is the same shape everywhere (command: npx, args: ["-y", "@myotp/mcp"], MYOTP_API_KEY in the environment), so Windsurf, Zed, Continue, OpenClaw, Hermes and Grokbot all take the JSON or TOML equivalent of the blocks above.

For a hosted client, point it at https://mcp.myotp.app/mcp and send your key as either X-API-Key or Authorization: Bearer. Use whichever one your client can actually set.

Transport modes

stdio (default — for local agent installs)

The server reads JSON-RPC messages from stdin and writes them to stdout. The API key comes from the MYOTP_API_KEY env var, set when the agent launches the server. This is the right mode for desktop apps like Claude Desktop, Claude Code, and Cursor.

MYOTP_API_KEY=sk_... npx @myotp/mcp

or explicitly

MYOTP_API_KEY=sk_... npx @myotp/mcp --stdio

Streamable HTTP (for hosted servers)

Run an HTTP server that any MCP-compatible agent can point at. Authenticated tools receive the API key per request via X-API-Key, so one hosted instance can serve many tenants; anonymous tools do not require the header.

npx @myotp/mcp --http --port 3000

or with the env switch

MYOTP_MCP_TRANSPORT=http PORT=3000 npx @myotp/mcp

The MCP endpoint is POST /mcp (also accepts GET and DELETE per the spec). Health check at GET /healthz.

This is what we host at https://mcp.myotp.app/mcp. Point your client at that URL and send X-API-Key: on authenticated tool requests.

Configuration

Env varDefaultDescription
MYOTP_API_KEY—Your MyOTP.App API key. Required for authenticated tools; create_account and get_topup_quote work without it.
MYOTP_BASE_URLhttps://api.myotp.appAPI base URL. Override for a mock server.
MYOTP_MCP_TRANSPORTstdioSet to http to start in HTTP mode.
PORT3000HTTP listen port.
HOST0.0.0.0HTTP bind address.
MCP_PATH/mcpHTTP route for MCP traffic.
MCP_SESSION_IDLE_MS1800000HTTP mode: close a session after this long with no requests. The client gets 404 and re-initializes.
MCP_SESSION_BUSY_MS3600000HTTP mode: close a session whose open request (such as an SSE stream) started longer ago than this.
MCP_MAX_SESSIONS1000HTTP mode: most sessions held at once; a new session closes the least recently used one, idle sessions first.

Example tool calls

Once the server is wired up, you can ask the agent things like:

  • *"Send an OTP via WhatsApp to 14155550123."*
  • *"Use MyOTP to verify code 482913 for that phone number."*
  • *"Did the last OTP get delivered? Check status for message_id a1b2…."*
  • *"Show me my OTP usage for the last 7 days."*
  • *"How much credit do I have on this MyOTP account?"*
  • *"Create a MyOTP agent account for dev@example.com."*
  • *"Check whether my agent account email is verified, and resend the email if needed."*
  • *"Quote 500 more MyOTP credits."*
  • *"That send failed with NoBalance. Top up 100 credits."*

Under the hood the agent will pick the right tool, validate inputs against the JSON Schema we publish, and call the MyOTP API.

Buying credits as an agent

Agents can buy MyOTP credits by themselves: one 402, one payment, no checkout page, no card form. Credits cost $0.02 each, with a 25-credit ($0.50) minimum and a 50,000-credit maximum per call. Card top-ups are capped at $100 per account per rolling 24 hours; USDC is uncapped. A trial account moves to the Starter pay-as-you-go pricing table on its first top-up, without creating a subscription.

When an OTP send returns HTTP 403 insufficient balance or NoBalance, call get_topup_quote to inspect the price or call top_up_credits to start the purchase. top_up_credits fetches the quote first, then posts to /v1/topup with the configured API key and no payment credential. The expected 402 response contains MPP offers for USDC on Tempo and, while the card cap permits, card or Link through Stripe. The tool returns the decoded offers, challenge ID, exact retry URL and body, and headers with credential placeholders.

The MCP server cannot hold the agent's wallet. Run one of the returned commands with your MyOTP API key replaced locally; the MPP client pays and retries the same request with its payment credential. That retry credits the account. If the runtime already wraps fetch with an MPP credential provider, the tool can receive and return the successful credited response directly.

USDC wallet (creating an mppx account makes a wallet, and testnet auto-funds):

npx -y mppx@0.9.2 https://api.myotp.app/v1/topup -X POST -H "x-api-key: your MyOTP API key" -H "content-type: application/json" -d "{\"credits\":100}"

Card or Link wallet (run npx @stripe/link-cli auth login once first):

npx -y @stripe/link-cli mpp pay https://api.myotp.app/v1/topup -X POST -d "{\"credits\":100}" -H "x-api-key: your MyOTP API key" --context "Buying MyOTP.App credits to send one-time passcodes over SMS, WhatsApp and Telegram for phone verification in my app."

Account creation

The create_account tool calls the live unauthenticated POST /v1/agent/register endpoint with an email and optional name. The response contains the full account record and a 32-character API key that is shown once. Save it immediately and set MYOTP_API_KEY (or configure the hosted client to send it). Agent accounts have an open IP allowlist, need no phone verification, and start with balance 0 and the Starter pay-as-you-go plan.

A confirmation email is sent to the supplied address. A human must click the link within 24 hours to unlock card top-ups; USDC top-ups work immediately. Use get_account_status to check email_verified, balance, plan, and account status, or call it with resend_verification: true to send another email. Then use get_topup_quote or top_up_credits to fund the account before sending an OTP.

Develop

git clone https://github.com/brntech/myotp-agentkit

cd myotp-agentkit/mcp-server npm install npm run build npm run start:stdio # or start:http

Security notes

  • This server never logs your API key.
  • In HTTP mode, the API key is only read from X-API-Key per request — there is no global key configured at startup.
  • The MyOTP API additionally enforces an IP whitelist; make sure the host running this server (or your end users' IPs in HTTP mode) are on

冒頭だけを表示しています。続きはリポジトリで読めます