Skip to main content
Glama
SMSBulk MCP Server

SMSBulk MCP Server

by 0xtolgadegen

smsbulk-mcp

An AI-native SMS + Email verification Model Context Protocol (MCP) server for SMSBulk. Use SMSBulk straight from Claude Desktop, Cursor, or any MCP-compatible client — browse the catalog, order verification numbers and disposable email addresses, and read back the codes.

This server exposes both phone and email OTP verification: the email_* tools order disposable addresses and read back the code, from the same account and balance as the SMS tools.

Status: experimental / v0.1. The tool surface may change.

Coming from SMS-Activate or DaisySMS?

Both services have closed (SMS-Activate states on its own site that it stopped operating on 22 December 2025; DaisySMS states it shut down on 26 March 2026). If you are moving an integration, you have two routes on SMSBulk:

  • AI agents and MCP clients: use this server. request_number → get_status → complete covers the usual buy / poll / confirm loop.

  • Existing scripts written for the SMS-Activate protocol: SMSBulk has a protocol-compatible endpoint for the balance, number, status, price, country and rental actions (any other action returns WRONG_ACTION). The country parameter accepts ISO codes or numeric IDs; the numeric IDs follow SMSBulk's own table, so read them from the country action or send ISO codes. Details: smsbulk.net/docs/sms-activate.

Before you pick a replacement, look at delivery rather than the price list: SMSBulk publishes success rates by service and country at smsbulk.net/success-rates. Past rates do not determine future results. If no code arrives, the charge is refunded to your balance automatically.

Related MCP server: agent-inbox

Features

  • 🔌 Pure relay. Forwards requests to the SMSBulk public API using your API key. No secrets stored, no other backend touched.

  • 📖 Keyless catalog browsing. List services and countries without a key.

  • 📱 SMS verification. Order numbers and read SMS codes.

  • 📧 Email verification. Order disposable addresses and read OTP/HTML.

  • 🛟 Best-effort retry guard and an optional soft spend cap (see Safety & limitations — honestly scoped, not magic).

Prerequisites

Installation

git clone https://github.com/0xtolgadegen/smsbulk-mcp.git
cd smsbulk-mcp
npm install
npm run build

This produces dist/index.js, the executable MCP server.

Configuration

Set these via your MCP client's env block (below) or a local .env (copy .env.example):

Variable

Required

Default

Description

SMSBULK_API_KEY

for paid actions

—

Your personal API key. Catalog tools work without it.

SMSBULK_BASE_URL

no

https://smsbulk.net/api/v1

API base URL. Override only if self-hosting.

MAX_SPEND_PER_SESSION

no

(disabled)

Soft USD spend cap per session. Blank/0 disables it.

The .env file is git-ignored — never commit your API key.

Claude Desktop

Edit your config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "smsbulk": {
      "command": "node",
      "args": ["/absolute/path/to/smsbulk-mcp/dist/index.js"],
      "env": {
        "SMSBULK_API_KEY": "your_api_key_here",
        "MAX_SPEND_PER_SESSION": "5"
      }
    }
  }
}

Restart Claude Desktop. The SMSBulk tools appear in the tools menu.

Cursor

Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per-project):

{
  "mcpServers": {
    "smsbulk": {
      "command": "node",
      "args": ["/absolute/path/to/smsbulk-mcp/dist/index.js"],
      "env": {
        "SMSBULK_API_KEY": "your_api_key_here"
      }
    }
  }
}

Replace /absolute/path/to/smsbulk-mcp with the real path where you cloned the repo. On Windows, use a full path like C:\\Users\\you\\smsbulk-mcp\\dist\\index.js.

Tool reference

18 tools. Catalog tools need no key; all others send your x-api-key.

Catalog — no API key required

Tool

Parameters

Description

list_services

—

All active services with stock and minimum-price summaries.

list_countries

—

All supported countries with flags and ISO codes.

get_service

slug

One service by SEO slug or service code.

get_service_countries

slug

In-stock countries for a service, with prices, stock, speed tiers.

SMS verification — API key required

Tool

Parameters

Description

request_number

serviceCode, countryIso, operator?, idempotency_token?

Spends. Reserve a number for SMS verification. Retry-guarded.

get_status

id

Status + SMS code (once received) for one activation.

complete

id

Mark an activation complete (final).

cancel

id

Cancel; refunds the wallet if no SMS arrived.

request_resend

id

Ask the provider to send another SMS to the same number.

list_activations

limit?, cursor?, status?

Your activations, cursor-paginated, newest first.

Wallet — API key required

Tool

Parameters

Description

get_balance

—

Current wallet balance.

list_transactions

limit?, cursor?

Recent deposits, debits, and refunds.

Email verification — API key required

Tool

Parameters

Description

email_get_domains

site

Available email provider domains for a target site, with prices/stock.

email_request

site, domain, idempotency_token?

Spends. Reserve a disposable email address. Retry-guarded.

email_list

limit?

Your recent email activations (newest first, up to 100; no cursor).

email_get_status

id

Status, parsed OTP, and raw HTML body (once received).

email_reorder

id

Spends. Re-open the same address for another OTP.

email_cancel

id

Cancel; refunds the wallet if no OTP arrived.

Safety & limitations

Please read this — these guards are convenience seatbelts, not guarantees.

Best-effort retry protection (not guaranteed idempotency)

request_number and email_request keep a small in-memory guard that catches the common accidental case: the same order tool fired twice in one session with identical arguments. The second call replays the first result without charging again.

It is not guaranteed idempotency:

  • It lives only in this process's memory and resets on restart.

  • It does not coordinate across multiple clients or processes.

  • It cannot prevent a true server-side race.

To safely retry one intended order, pass the same idempotency_token. To deliberately place a second order with identical arguments, pass a different idempotency_token.

Soft spend cap (MAX_SPEND_PER_SESSION)

When set, the server tracks the real cost of each successful order and blocks the next order once the running total reaches your cap.

  • It's soft and in-memory — resets on restart, this session only.

  • It blocks the next request; it does not split or pre-authorize a single request. An order made while still under the cap is allowed even if it pushes the total over.

  • It's an extra layer — your account's authoritative limits (balance, daily quota, rate limits) are always enforced server-side.

Troubleshooting

Symptom

Fix

Authentication failed (401)

Check SMSBULK_API_KEY is set and valid. The key is sent as the x-api-key header.

This action requires an API key

A paid/account tool was called with no key. Set SMSBULK_API_KEY.

Out of stock / 503

No numbers right now for that service+country. Try another country or service.

Insufficient balance / 400

Top up at smsbulk.net/dashboard.

Rate limit or daily quota exceeded (429)

Slow down, or wait for the daily quota (UTC) to reset.

License

MIT

Available Tools

18 tools
cancelCancel activationA

Cancel an activation. Refunds the wallet if no SMS was received. Requires an API key.

Inputs: id (required).

completeComplete activationB

Mark an activation complete (confirms the SMS was used). Final transition. Requires an API key.

Inputs: id (required).

email_cancelCancel email activationA

Cancel an email activation. Refunds the wallet if no OTP was received. Requires an API key.

Inputs: id (required).

email_get_domainsList email domains for a siteA

List available email provider domains for a target site, with user-facing prices and stock. Requires an API key. Use this before email_request to pick a domain. Does not spend.

Inputs: site (required).

email_get_statusGet email activation statusA

Get the status, parsed OTP, and raw HTML body (once received) for one email activation. Requires an API key. Does not spend.

Inputs: id (required).

email_listList email activationsA

List your most recent email activations (newest first, up to 100; no cursor paging). Requires an API key. Does not spend.

Inputs: limit.

email_reorderReorder email addressA

Re-open the same email address for another OTP (email equivalent of SMS request_resend). ⚠️ This SPENDS from your wallet again. Requires an API key.

Inputs: id (required).

email_requestPurchase email addressA

Reserve a temporary email address for OTP verification. ⚠️ This SPENDS from your wallet immediately. Requires an API key. Pick site + domain via email_get_domains first. Best-effort retry guard: an identical call in the same session is replayed without charging again. To intentionally order a SECOND address for the same site/domain, pass a distinct idempotency_token.

Inputs: site (required), domain (required), idempotency_token.

get_balanceGet wallet balanceA

Get your current wallet balance. Requires an API key. Does not spend.

Inputs: no named parameters.

get_serviceGet serviceA

Get details for a single service by its SEO slug or service code. No API key required.

Inputs: slug (required).

get_service_countriesGet service countriesA

List in-stock countries for a service (stock > 0) with prices, currency, stock, and speed tiers. No API key required. Use the returned isoCode + service code/slug to order a number.

Inputs: slug (required).

get_statusGet activation statusA

Get the current status and SMS code (if received) for one activation. Requires an API key. Does not spend.

Inputs: id (required).

list_activationsList activationsA

List your activations (cursor-paginated, newest first). Requires an API key. Does not spend.

Inputs: limit, cursor, status.

list_countriesList countriesA

List all supported countries with flags and ISO codes. No API key required.

Inputs: no named parameters.

list_servicesList servicesA

List all active SMS verification services with stock and minimum-price summaries. No API key required. Use this to discover available services and their slugs/codes.

Inputs: no named parameters.

list_transactionsList wallet transactionsA

List recent wallet transactions (deposits, debits, refunds), cursor-paginated. Requires an API key. Does not spend.

Inputs: limit, cursor.

request_numberRequest number (purchase)A

Reserve a virtual number for SMS verification. ⚠️ This SPENDS from your wallet immediately. Requires an API key. Use list_services / get_service_countries first to pick a serviceCode and countryIso. Best-effort retry guard: an identical call in the same session is replayed without charging again. To intentionally order a SECOND number for the same service/country, pass a distinct idempotency_token.

Inputs: countryIso (required), serviceCode (required), operator, idempotency_token.

request_resendRequest another SMSA

Ask the provider to send another SMS to the same number. Limited per activation. Requires an API key.

Inputs: id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 18 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action: SMS services, countries, activations, wallet, and email domain. The email_ prefix clearly separates email tools from SMS tools, and within each group, operations like request, status, cancel, resend are unambiguous. No two tools appear to do the same thing.

    Naming Consistency4/5

    The naming is largely consistent with a verb_noun pattern (e.g., list_services, get_balance, request_number), and the email_ prefix uniformly marks email tools. Minor exceptions include a few short verbs like 'complete' and 'cancel' without a noun, and 'request_resend' vs 'email_reorder' which use different phrasing, but the overall pattern is predictable and readable.

    Tool Count4/5

    With 18 tools, the count is slightly above the typical 3-15 range, but it is justified by covering two distinct domains (SMS verification and email OTP). Each tool serves a clear purpose, and the count does not feel bloated or overwhelming. It straddles the boundary but remains reasonable.

    Completeness5/5

    The tool set covers the full lifecycle for both SMS and email verification: discovery, ordering, status, completion, cancellation, resend, plus wallet management and transaction history. There are no obvious dead ends or missing operations that would prevent an agent from executing common workflows.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to create disposable email inboxes and automatically extract OTPs, magic links, and verification codes from incoming emails.
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to create temporary email addresses, receive confirmation emails, and extract verification links, automating sign-up and email verification workflows without manual intervention.
      6
      35 npm
      64
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to create disposable email inboxes, read messages, and wait for verification codes (OTPs) through MCP tools.
      4
      20 npm
      1
      MIT