Otipi

v0.1.0
io.github.planetebatel-cloud/otipi-mcp Checked 3 days ago Published 17 days ago

Send and verify SMS, email and OTP codes in Israel.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

send_test_otp

Send a one-time verification code (OTP) by SMS or email to a phone number in Israel using Otipi, in test mode. Use this to try the login/2FA flow end to end. With a test key the message really arrives ONLY if the recipient was confirmed with add_test_recipient + confirm_test_recipient; otherwise it is kept in the sandbox log and nothing is delivered. The result says which case happened and includes test_code when available, so you can verify it with verify_otp. Each account has 5 free test SMS for life.

ParameterTypeDescription
app *stringBrand name shown in the message, for example "MyApp". Max 40 characters.
to *stringIsraeli mobile number in E.164 format +9725XXXXXXXX (05XXXXXXXX is also accepted), or an email address for the email channel.
channelstringDelivery channel. Default sms.
languagestringMessage language. Default he (Hebrew).

verify_otp

Check a one-time code that was sent with send_test_otp (or the live API) for a phone number or email. Returns valid true/false and, when false, the reason (wrong_code, expired_or_missing, too_many_attempts).

ParameterTypeDescription
code *stringThe code entered by the user.
to *stringThe same recipient the code was sent to.

add_test_recipient

Start confirming a phone number or email as a test recipient. A 6-digit code is sent to it. Once confirmed, test messages to that recipient really arrive (otherwise test mode only logs them in a sandbox). Only add numbers or emails that belong to the account owner. Test key (sk_test_) only. After calling this, ask the human for the 6-digit code they received and call confirm_test_recipient.

ParameterTypeDescription
to *stringIsraeli mobile number in E.164 format +9725XXXXXXXX (05XXXXXXXX is also accepted), or an email address for the email channel.

confirm_test_recipient

Finish confirming a test recipient with the 6-digit code the human received after add_test_recipient. On success, send_test_otp to this recipient is really delivered.

ParameterTypeDescription
code *stringThe 6-digit code the human received.
to *stringThe same number or email passed to add_test_recipient.

list_test_recipients

List the confirmed and pending test recipients of this account and how many of the 5 free test SMS are left. Call it before send_test_otp to know whether a number will really receive messages.

check_delivery_status

Look up a sent message by message_id (returned by send_test_otp) and report its status (queued, sent, delivered, opened, failed, bounced), whether test delivery was real or sandbox, and the event timeline.

ParameterTypeDescription
message_id *stringThe message id, as returned by send_test_otp.

get_integration_snippet

Return ready-to-paste code for adding Otipi phone/OTP login to a project: Next.js App Router (API routes plus a client component), Supabase Auth (Send SMS hook setup plus client code) or Express. Works offline and does not need an API key. Use it when the user wants to integrate SMS verification or 2FA for Israeli numbers.

ParameterTypeDescription
framework *stringTarget framework.
languagestringCode language. Default ts.