Model Context Protocol

Give your AI agent a real phone number

The SMSNET MCP server turns the Android phones on your account into tools an agent can call: send a text, wait for the reply, read a thread, receive a one-time code. The number your contacts see is your own.

Install

Create a key in Developers, ideally a scoped key with the agent flag, which works on the MCP endpoint only. Use a sn_test_ key while you build: messages are simulated and never leave a phone.

Claude Code, remote URL

claude mcp add --transport http smsnet https://smsnet.net/mcp \
  --header "Authorization: Bearer sn_live_..."

Cursor (~/.cursor/mcp.json), remote URL

{
  "mcpServers": {
    "smsnet": {
      "url": "https://smsnet.net/mcp",
      "headers": { "Authorization": "Bearer sn_live_..." }
    }
  }
}

Local stdio bridge: npx smsnet-mcp
coming soon

For clients that only speak stdio (Claude Desktop, older tools). The package is built and not yet published to npm; until it is, use the remote URL above. Clients that take a header can use a key; ChatGPT and Claude connectors sign you in with OAuth instead.

# Claude Code
claude mcp add smsnet --env SMSNET_API_KEY=sn_live_... -- npx -y smsnet-mcp

# Claude Desktop / Cursor
{
  "mcpServers": {
    "smsnet": {
      "command": "npx",
      "args": ["-y", "smsnet-mcp"],
      "env": { "SMSNET_API_KEY": "sn_live_..." }
    }
  }
}

Tools

Reference list · 41 tools
send_sms
send

Send an SMS to a phone number from one of the account's connected phones. Returns message_id for status tracking, plus segments and encoding. Use E.164 format (+15551234567). Respects opt-outs, plan limits and carrier-safe pacing automatically. If the account holds first-contact sends for approval, the result has status "awaiting_approval" and an approval_url to give the person you work with.

send_to_owner
send

Text the account owner on their own mobile: ask a question, report that a job finished, or get an approval. Call wait_for_reply for the answer. Does not count against new-account limits. The owner sets the number in Settings.

get_message_status
read

Check the delivery status of a sent message (pending → ready → sent → delivered, or failed/expired).

get_new_messages
read

Pull every message that arrived or changed since a cursor. This is how an agent catches up without a webhook: call it with no cursor to get the latest, then pass back the returned next_cursor each time. Use direction=inbound to poll only for replies.

list_conversations
read

List SMS conversations (the inbox). Each has a contact, unread count and last message.

get_conversation
read

Read the full message thread of one conversation (marks it as read).

reply
send

Reply inside an existing conversation. Same walls as send_sms: plan caps, the first-week ceiling, opt-outs.

send_otp
send

Send a one-time verification code by SMS and get back an otp_id. The code is generated and checked by SMSNET; you never see it (except with a sandbox key). Then ask the person for the code and call verify_otp.

verify_otp
send

Check a code the person typed. Pass the otp_id from send_otp (or the phone number). Returns valid:true once; a valid code is consumed. Five wrong tries lock the code.

wait_for_otp
read

Wait for an INBOUND SMS that contains a 4-8 digit code (e.g. a code a service texted to this account's phone) and return it. Waits up to timeout_s (max 25); call again to keep waiting.

start_reverse_verification
send

Prove a person holds a phone without sending anything: they text a short token to your line, from their own phone. Returns verification_id, session_id, token, line_number, an sms: link and QR data to show them. Sends no SMS, so it needs no approval for a new number and uses no plan quota. Tell the person their carrier may charge for the text. Good for signup, not for payments or account recovery: a sender number can be forged. The token lasts 2 to 3 minutes. Then call check_verification.

check_verification
read

Check a reverse verification from start_reverse_verification. Pass its verification_id and session_id. Returns status pending, verified or expired; when verified, phone is the number that texted. mismatch:true means a text came from a number other than the one declared.

wait_for_reply
read

Wait for the next inbound SMS from a number (to) or in a conversation (conversation_id), and return it. Waits up to timeout_s (max 25); returns {timeout:true} if nothing arrived — call again to keep waiting.

get_thread
read

Read the message thread with a phone number (to) or a conversation_id, oldest first. Marks it as read.

get_line_health
read

Health of the account's lines (SIMs): score 0-100, state healthy/watch/resting/blocked, warmup level, today's headroom, the line type with any carrier daily cap, and whether inbound has gone silent. Omit sim_id for all lines. Check this before a large send.

get_controls
read

The account's sending and safety settings: quiet hours (mode recipient/account/off and the quiet period), default country for numbers without a country code, which opt-outs count toward line health and the watch/rest thresholds, retries after a temporary network failure, and what happens to numbers that look wrong for their country. Read-only: the account owner changes them in the portal, Settings, Sending and safety.

check_number
read

Check one phone number before sending, without sending anything: how SMSNET reads it (E.164, or a local number read with the default country), whether it looks right for its country, the recipient's time zone and local time, and whether quiet hours would hold a message to it right now.

check_inbound_filter
read

Would a message from this number reach the account, or stay on the phone because of the line's inbound privacy filter? Answers from the same rule the phone uses: uploaded true/false, the reason (texted, allowlist, not_texted, not_on_allowlist, no_number, no_filter) and a sentence to show. Omit sim_id to check every line.

preflight_campaign
read

Check a planned send to many people BEFORE sending, without sending anything: how many numbers can be sent to, which look wrong, who opted out, who is in quiet hours now, how many have a recorded consent, whether the text lets people opt out, how many SMS parts it is, and how many can go out today on the account's lines and plan. Answers risk low/medium/high, can_send, blocking reasons and advice. Call this before send_sms to more than a handful of people, and show the person the advice.

inbox_digest
read

What needs attention since a time: conversations waiting for an answer (handed-over ones first), replies that may be asking to stop in their own words (Opt-out Guard), who opted out, sends that failed grouped by cause, SMS agent drafts waiting, and the state of each line, with a short to-do list. One call for a morning check.

explain_failure
read

Why one sent message failed, in plain words: the likely cause (temporary network trouble, the recipient's number, or the line itself), what to do about it, and the state of the line that tried. Use the message_id from send_sms or get_message_status.

resolve_possible_opt_out
manage

Settle a reply the Opt-out Guard flagged (see inbox_digest possible_opt_outs): action 'opt_out' opts the number out, 'dismiss' says it was not a stop request. When in doubt, ask the person you work for; when they asked to stop, opt them out.

list_devices
read

List the account's paired Android gateway phones with online status and battery.

list_contacts
read

Search or list contacts (phone, name, opt-out state).

add_contact
manage

Create or update a contact.

list_appointments
read

Upcoming appointments read from the connected Google Calendar, with each customer's confirmation status (scheduled = waiting for an answer, confirmed, declined = can't come, needs_phone, skipped). Use it to see who is coming, who has not answered, and who needs a call.

set_appointment_status
send

Record a customer's answer for an appointment: confirmed, declined (can't come), or scheduled (undo). The Google Calendar event is marked the same way. Use after the customer told you by phone or in a conversation you handled.

get_activity
read

What happened on the account recently and who did it (the owner, an API key, an AI client, the SMS agent, appointment reminders, missed-call text-backs, customers' replies), newest first. Summaries only, never message text.

list_agent_drafts
read

Replies the SMS agent wrote and is holding for approval (drafts mode), with the customer's last message. Approve one with send_agent_draft.

send_agent_draft
send

Send one of the SMS agent's drafts to the customer, optionally with your edited text.

get_usage
read

Current month usage vs. plan limit, and today's sending capacity.

get_integration_recipe
read

Working, tested recipes for building on SMSNET: which API surface to use, the rules every integration follows (test keys, Idempotency-Key, client_ref, webhook signatures), and a two-way CRM bridge with code for HubSpot, Pipedrive, Salesforce, monday.com and any other CRM. Call with no topic for the list, then with a topic for the full recipe and its code. Read this before writing an integration for someone.

set_webhook
manage

Point inbound SMS + delivery status events at your HTTPS endpoint. Returns the HMAC signing secret (verify X-SMSNET-Signature = HMAC-SHA256 of the raw body).

list_quarantine
read

List inbound messages held as likely spam or phishing. Links in the returned text are defanged (https becomes hxxps, dots in hostnames bracketed) so they cannot be followed by accident. Each item carries a score and the reasons it was held.

get_quarantined_message
read

Read one held message in full, with the reasons it was held and what we know about the sender. Text is returned defanged: do not reconstruct the original URL and do not fetch it.

release_quarantined
manage

Move a held message into the inbox. It then appears in conversations and fires the message.received webhook exactly as a normal reply would. Optionally stop holding future messages from that sender.

delete_quarantined
manage

Permanently delete a held message. The text is destroyed immediately; a record that it existed is kept for the audit trail.

list_opt_outs
read

List people who have asked to stop receiving messages, with the exact words they used and when. Covers the last 14 days unless the account has extended history.

check_suppression
read

Check whether a piece of text would be read as an opt-out request, without changing anything. Use this before assuming a reply means someone unsubscribed.

add_suppression_word
manage

Add a word or phrase that will opt someone out when they send it. By default it only matches when it is the entire message, so it will not fire on a word used in a sentence.

opt_out_contact
manage

Mark a contact as opted out. Use this when someone asks to stop in a way the keyword rules did not catch. It is recorded with the reason and cannot be undone silently.

You decide which agents may text

Every client that connects is listed in the portal. Switch on the trust gate and a new client sees only two tools until you approve it with a one-time code, so a leaked key alone cannot send. An agent's first message to a number the account has never texted can be held for a person to approve with one click; the tool result carries the approval link.

Built for agents that wait

wait_for_reply and wait_for_otp hold the call for up to 25 seconds and return the moment a text arrives, so an agent can hold a conversation or finish a sign-up without polling.