Preview: SendMock has no stable release yet. These docs follow develop.

MCP reference

Test helpers tools

sendmock_email_wait

Wait until a matching email arrives; 408 on timeout.

Toolset email.

  • Read only
InputTypeDescription
tostring
A recipient contains.Example: [email protected]
subjectstring
Subject contains.Example: Verify your email
sincestring
Only match items newer than this time (default: 30 s ago).Example: 2026-10-26T09:30:00Z
timeoutstring
How long to wait, e.g. 10s (default 10s, at most 60s).Example: 10s
projectstring
Only this project's emails (its key); every project's when not set.Example: shop

Example call

{
  "name": "sendmock_email_wait",
  "arguments": {
    "to": "[email protected]",
    "subject": "Verify your email"
  }
}

Result: EmailDetail

API
GET/api/v1/wait/email
CLI
sendmock email wait
In the app
Mail (new emails appear live)

sendmock_http_wait

Wait until the catcher records a matching request; 408 on timeout.

Toolset http.

  • Read only
InputTypeDescription
binstring
The bin name.Example: slack
methodstring
The HTTP method.Example: POST
sincestring
Only match items newer than this time (default: 30 s ago).Example: 2026-10-26T09:30:00Z
timeoutstring
How long to wait, e.g. 10s (default 10s, at most 60s).Example: 10s

Example call

{
  "name": "sendmock_http_wait",
  "arguments": {
    "bin": "slack",
    "method": "POST"
  }
}

Result: CapturedHttpRequest

API
GET/api/v1/wait/http
CLI
sendmock http wait
In the app
HTTP Catcher (new requests appear live)

sendmock_otp_get

The latest one-time code sent to a recipient.

Toolset extract.

  • Read only
InputTypeDescription
torequiredstring
Email address or phone number.Example: [email protected]
channelstring
email, sms or verify (default: any).Example: email
timeoutstring
Waits up to this long for one to arrive, e.g. 10s (at most 60s); 408 on timeout. Without it the answer is immediate.Example: 10s
projectstring
Only this project's messages (its key); every project's when not set.Example: shop

Example call

{
  "name": "sendmock_otp_get",
  "arguments": {
    "to": "[email protected]",
    "channel": "email",
    "timeout": "10s"
  }
}

Result: OtpLookup

API
GET/api/v1/otp
CLI
sendmock otp --to <recipient>
In the app
Mail, SMS and Verify: the code beside each message

sendmock_payment_wait

Wait until a payment reaches a status; 408 on timeout.

Toolset payments.

  • Read only
InputTypeDescription
providerstring
The gateway key, e.g. stripe.Example: stripe
statusstring
The status to wait for, e.g. succeeded.Example: succeeded
sincestring
Only match items newer than this time (default: 30 s ago).Example: 2026-10-26T09:30:00Z
timeoutstring
How long to wait, e.g. 10s (default 10s, at most 60s).Example: 10s

Example call

{
  "name": "sendmock_payment_wait",
  "arguments": {
    "provider": "stripe",
    "status": "succeeded"
  }
}

Result: PaymentDetail

API
GET/api/v1/wait/payment
CLI
sendmock payments wait
In the app
Payments (new and changed payments appear live)

sendmock_sms_wait

Wait until a matching SMS arrives; 408 on timeout.

Toolset sms.

  • Read only
InputTypeDescription
tostring
The recipient number.Example: +8801700000000
fromstring
The sender number.Example: +15550001111
sincestring
Only match items newer than this time (default: 30 s ago).Example: 2026-10-26T09:30:00Z
timeoutstring
How long to wait, e.g. 10s (default 10s, at most 60s).Example: 10s
projectstring
Only this project's messages (its key); every project's when not set.Example: shop

Example call

{
  "name": "sendmock_sms_wait",
  "arguments": {
    "to": "+8801700000000",
    "from": "+15550001111"
  }
}

Result: SmsMessageDetail

API
GET/api/v1/wait/sms
CLI
sendmock sms wait
In the app
SMS (new messages appear live)

sendmock_webhook_delivery_wait

Wait until a matching delivery finishes; 408 on timeout.

Toolset webhooks.

  • Read only
InputTypeDescription
endpointstring
The endpoint id or name.Example: Team Slack alerts
eventstring
The event type, e.g. email.received.Example: email.received
statusstring
succeeded or failed.Example: failed
sincestring
Only match items newer than this time (default: 30 s ago).Example: 2026-10-26T09:30:00Z
timeoutstring
How long to wait, e.g. 10s (default 10s, at most 60s).Example: 10s

Example call

{
  "name": "sendmock_webhook_delivery_wait",
  "arguments": {
    "endpoint": "Team Slack alerts",
    "event": "email.received"
  }
}

Result: WebhookDeliveryDetail

API
GET/api/v1/wait/webhook
CLI
sendmock webhook deliveries wait
In the app
Webhooks > Deliveries (new deliveries appear live)