프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. Google로 로그인하면 리뷰를 쓸 수 있어요.
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

MyOTP.App

제작자: brntech버전 0.1.14i★ 1i컴퓨터 또는 클라우드
레지스트리 이름io.github.brntech/myotp

설치 방법

개요

제작자가 쓴 설명(영어 원문)

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

할 수 있는 일

이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.

  • 연결 방식: 컴퓨터 또는 클라우드
  • 전송 방식: stdio, Streamable HTTP
  • 카테고리: 채팅 및 이메일
  • 입력해야 할 값: MYOTP_API_KEY, X-API-Key

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

검사 4/4 통과 · 내가 묻는 내용은 제작자 서버(mcp.myotp.app)를 거쳐요

먼저: 어떤 AI를 쓰시나요?

쓰는 앱을 고르면 아래에 단계가 나옵니다.

Claude에 연결할 수 있어요 · 약 5분

MyOTP.App 키가 필요해요 (제작자 사이트에서 가입, 비용이 들 수 있음) · claude.ai나 데스크톱 앱에서 한 번 설정하면 채팅에서 쓸 수 있어요 · 무료 계정은 1개까지

  1. MyOTP.App에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 비용이 들 수 있어요.

    MyOTP.App 사이트 열기 ↗

  2. Claude의 Connectors 페이지 열기

    CustomizeConnectors

    CustomizeConnectors1+ Add2https://…3Add4
  3. “+ Add” → “Add custom connector”를 누르고 이 2칸 채우기

    여기서 복사해 Claude의 같은 이름 칸에 붙여 넣고 Continue를 누르세요

    Name · 이름MyOTP.App
    Remote MCP server URL · 주소https://mcp.myotp.app/mcp

    Request headers에 이 이름과 값을 추가

    헤더 이름X-API-Key
    값<여기에 키 붙여 넣기>

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

    Authentication은 Claude가 찾은 그대로 두고 Add를 누르세요

  4. 채팅에서 켜기

    +ConnectorsMyOTP.App

  5. 해 보기

    MyOTP.App을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude가 MyOTP.App을 쓰고 있다고 하거나 답에 MyOTP.App 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

ChatGPT는 아직 MyOTP.App에 연결할 수 없어요

MyOTP.App는 연결할 때 내 키가 필요한데, OpenAI 도움말은 OAuth 로그인만 설명하고 우리가 확인한 키 입력 방법이 없어요

대신 이렇게 할 수 있어요

A · MyOTP.App에 연결되는 앱 쓰기

  • MyOTP.App 키가 필요해요 (제작자 사이트에서 가입, 비용이 들 수 있음) · claude.ai나 데스크톱 앱에서 한 번 설정하면 채팅에서 쓸 수 있어요 · 무료 계정은 1개까지
  • MyOTP.App 키가 필요해요 (제작자 사이트에서 가입, 비용이 들 수 있음)
  • MyOTP.App 키가 필요해요 (제작자 사이트에서 가입, 비용이 들 수 있음)
  • MyOTP.App 키가 필요해요 (제작자 사이트에서 가입, 비용이 들 수 있음)

B · 채팅 및 이메일에서 ChatGPT에 연결되는 다른 서버

같은 분류에서 많이 쓰는 것 중 키 없이 주소만으로 연결되는 것을 골랐어요

Claude Code에 연결할 수 있어요 · 약 5분

MyOTP.App 키가 필요해요 (제작자 사이트에서 가입, 비용이 들 수 있음)

  1. MyOTP.App에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 비용이 들 수 있어요.

    MyOTP.App 사이트 열기 ↗

  2. 터미널 열기

    Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기

  3. 이 명령을 붙여 넣고 Enter

    claude mcp add --transport http myotp https://mcp.myotp.app/mcp --header 'X-API-Key: your-value'

    Enter 전에 “your-value”를 내 키로 바꾸세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  4. Claude Code에서 /mcp 입력

    MyOTP.App이 목록에 있고 연결됨으로 보이면 돼요

  5. 해 보기

    MyOTP.App을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude Code가 MyOTP.App을 쓰고 있다고 하거나 답에 MyOTP.App 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Cursor에 연결할 수 있어요 · 약 5분

MyOTP.App 키가 필요해요 (제작자 사이트에서 가입, 비용이 들 수 있음)

  1. MyOTP.App에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 비용이 들 수 있어요.

    MyOTP.App 사이트 열기 ↗

  2. 이 버튼으로 Cursor 열기

    Cursor에서 열기

    Cursor가 설치를 확인하면 Install을 누르세요

  3. 키 입력

    MyOTP.App 설정에서 X-API-Key가 비어 있어요. 내 키를 넣고 저장하세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  4. Cursor에서 AI 채팅을 Agent 모드로 열기

  5. 해 보기

    MyOTP.App을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Cursor가 MyOTP.App을 쓰고 있다고 하거나 답에 MyOTP.App 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

VS Code에 연결할 수 있어요 · 약 5분

MyOTP.App 키가 필요해요 (제작자 사이트에서 가입, 비용이 들 수 있음)

  1. MyOTP.App에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 비용이 들 수 있어요.

    MyOTP.App 사이트 열기 ↗

  2. 이 버튼으로 VS Code 열기

    VS Code에서 열기

    VS Code가 설치를 확인하면 Install을 누르세요

  3. 키 입력

    MyOTP.App 설정에서 X-API-Key가 비어 있어요. 내 키를 넣고 저장하세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  4. VS Code에서 AI 채팅을 Agent 모드로 열기

  5. 해 보기

    MyOTP.App을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ VS Code가 MyOTP.App을 쓰고 있다고 하거나 답에 MyOTP.App 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Windsurf, Zed, Gemini CLI 같은 다른 MCP 앱은 추가 방법이 저마다 달라요. 앱 목록에서 확인하세요

MCP를 쓰는 앱 모두 보기 →

웹으로 연결하는 앱용 주소

주소https://mcp.myotp.app/mcp

JSON 설정은 아래 “개발자용”에 있어요

막혔나요? MyOTP.App을 쓰는 사람에게 물어보세요💬 토론 →
개발자용: 터미널 명령과 JSON 설정

웹으로 연결

Claude Code

claude mcp add --transport http myotp https://mcp.myotp.app/mcp --header 'X-API-Key: your-value'

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "myotp": {
      "url": "https://mcp.myotp.app/mcp",
      "headers": {
        "X-API-Key": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "myotp": {
      "type": "http",
      "url": "https://mcp.myotp.app/mcp",
      "headers": {
        "X-API-Key": "your-value"
      }
    }
  }
}

컴퓨터에 설치

Claude Code

claude mcp add 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를 따르세요.

한눈에 보기

주간 다운로드i
61/주
라이선스i
라이선스 표시 없음
연결 방식
컴퓨터 또는 클라우드
전송 방식
stdio, streamable-http
최신 버전i
0.1.14
레지스트리 공개i
2026년 10월 13일
코드 마지막 변경i
2026년 10월 27일
제작자
brntech
패키지
npm: @myotp/mcp
웹사이트
mcp.myotp.app
레지스트리 상태
활성

어떤 앱에서 쓸 수 있나요

이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.

인터넷으로 연결하는 앱

ClaudeGooseLM 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월 8일에 알려 준 그대로예요. 우리가 아니라 제작자가 쓴 글이고, 일반 텍스트로만 보여 드려요.

  • 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월 11일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 brntech 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • ✓ 통과

    계속 관리되고 있음

    코드 마지막 변경: 15일 전

  • … 아직 점검 안 함

    라이선스 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • ✓ 통과

    엔드포인트 응답

    587ms 만에 응답(HTTP 200)

  • – 해당 없음

    OAuth로 로그인

    로그인 필요 없음

  • ✓ 통과

    도구 설명에 숨겨진 지시 없음

    도구 설명 10개를 읽었고, AI에게 보내는 숨겨진 지시는 없었어요

토론

질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.

아직 글이 없어요. 처음으로 질문하거나 공유해 보세요.

이곳의 글은 사용자가 쓴 것으로, PopNx 팀의 글이 아니에요.

Google로 로그인하고 글쓰기

사용자 리뷰

아직 리뷰가 없어요

Google로 로그인하고 리뷰 쓰기

채팅 및 이메일 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 1948개 중 83%보다 스타가 많아요
  • 이 카테고리의 다른 서버 1948개 중 49%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 1948개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

MyOTP.App, 안전한가요?

해당하는 기본 점검 4개 중 4개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

입력해야 할 값: MYOTP_API_KEY, X-API-Key

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

둘 다 가능해요. 내 컴퓨터에 설치해도 되고, 클라우드 버전에 연결해도 돼요.

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 15일 전 변경됐고, 최신 버전(0.1.14)은 29일 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. URL로 연결되므로 원격 MCP를 지원하는 앱에서도 쓸 수 있어요. 예: ChatGPT Business 이상.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: Inbox Zero, Agent-Native Chat, draw.io

대안

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

Inbox Zero

Search Gmail and Outlook, save drafts, manage email rules, and view email stats.

제작자: elie222널리 사용됨★ 1.3만41일 전 업데이트

클라우드에서 실행

Agent-Native Chat

Minimal chat-first app with durable threads, actions, and the app-agent loop

제작자: BuilderIO널리 사용됨★ 7.7천 저장소 전체의 별2개월 전 업데이트

클라우드에서 실행

draw.io

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

제작자: jgraph널리 사용됨★ 5.8천어제 업데이트

클라우드에서 실행✓ draw.io

제작자의 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

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요