SMSNET
Guide · Pillar

What Is an MCP Server for SMS? Give Your AI Agent a Phone

An MCP server for SMS exposes text messaging as tools an AI model can call: send, read replies, answer in a thread, check delivery. Point Claude, Cursor or any agent at https://smsnet.net/mcp with your key and the model texts from your own phone number. No glue code between the model and the phone.

What is MCP, in one paragraph?

The Model Context Protocol is an open standard, published by Anthropic in late 2024 and now supported by Claude, ChatGPT-compatible SDKs, Cursor and most agent frameworks, that defines how a model discovers and calls external tools. A client connects to a server, asks tools/list, receives a list of named tools with JSON schemas, and then calls tools/call with arguments the model filled in. The server does the work and returns text the model reads. Everything is JSON-RPC 2.0 over HTTP, so any language can implement either side.

The point for SMS is that the model does not need to know your REST API. It reads the tool descriptions, understands that send_sms takes to and body, and calls it when the conversation needs a text sent. You write no integration code at all.

How does SMSNET's MCP server send a text message?

The server sits between the model and the phones connected to your account. When the model calls send_sms, SMSNET checks the recipient against your opt-out list, checks the plan allowance, queues the message, and hands it to one of your Android phones, which sends it from its own SIM. Replies arrive on that SIM, come back through the app, and are waiting the next time the model calls get_new_messages or, if you set one, at your webhook.

The path a tool call takes. The agent never touches the phone directly.

How an MCP client sends and reads SMS through SMSnet Four boxes left to right: an AI client such as Claude Code, Cursor or an agent framework; the SMSnet MCP endpoint at https://smsnet.net/mcp, which exposes 41 tools; the account's own Android phone with its SIM; and the recipient. The client posts JSON-RPC tool calls with an Authorization Bearer API key. SMSnet queues and paces the message and hands it to the phone, which sends the SMS from its own number. A reply travels back the same way and reaches the client through get_new_messages or a signed webhook. One URL, one key: how an agent texts through SMSnet AI client SMSnet MCP server Your Android phone Recipient Claude Code, Claude Desktop, Cursor, agent frameworks any MCP client https://smsnet.net/mcp 41 tools: send_sms, reply, get_new_messages, set_webhook, list_quarantine, get_usage... SIM or eSIM, your own number sends at a human pace receives replies POST JSON-RPC tool result queues, paces status, inbound SMS reply Authorization: Bearer smsnet_... (scoped read < send < manage) Replies reach the agent via get_new_messages or a signed webhook Solid arrows: outbound. Dashed: the return path. Every call is scoped to the account the API key belongs to; 120 tool calls a minute per key.
Diagram of an MCP client such as Claude Code or Cursor posting JSON-RPC tool calls with a Bearer API key to https://smsnet.net/mcp, SMSNET queuing and pacing the message to the account's own Android phone, the phone sending the SMS to the recipient, and the reply returning to the agent through get_new_messages or a signed webhook.

Because the phone is yours, the message leaves from a number your customers recognise, replies land in a conversation you can read, and there is no carrier registration before the first message. The same rules that protect a line from a human sender apply to an agent: a new number opens at 100 messages a day and climbs with use, and a recipient who replied STOP can never be messaged again from the account, however the model phrases the request. The Android gateway guide explains how a phone becomes a line in about two minutes.

How do I connect Claude or Cursor to SMSNET?

One block of configuration. The transport is Streamable HTTP, the URL is the apex domain, and the API key travels as a Bearer token.

For Claude Code, from a terminal:

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

For Claude Desktop, Cursor and any client that reads an mcpServers map:

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

Your API key is shown once at the end of the phone setup and can be rotated from the Developers page. Use https://smsnet.net, not a subdomain: the apex resolves on every network, which is not true of every hostname in every country.

Under the hood the client sends three requests. If you want to see them, or you are writing your own client, here is the entire handshake in curl:

# 1. initialize
curl -s https://smsnet.net/mcp \
  -H "Authorization: Bearer smsnet_your_key" -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","clientInfo":{"name":"curl","version":"1"}}}'

# 2. what tools exist
curl -s https://smsnet.net/mcp \
  -H "Authorization: Bearer smsnet_your_key" -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/list"}'

# 3. send a text
curl -s https://smsnet.net/mcp \
  -H "Authorization: Bearer smsnet_your_key" -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"send_sms","arguments":{"to":"+15551234567","body":"Your order is ready for pickup."}}}'

The third call returns a JSON-RPC result whose text content is {"ok": true, "message_id": "msg_...", "conversation_id": "conv_..."}. Pass the message_id to get_message_status to follow it from pending to delivered.

Which tools does the SMS MCP server expose?

41 at the time of writing (the live list is at smsnet.net/api/public/mcp-tools), grouped by what they touch. Each tool carries a scope, and an API key can be restricted to read, send or manage, so an agent that only needs to answer conversations never gets the power to change your webhook or opt people out.

ToolScopeWhat it does
send_smssendSend to an E.164 number; transactional: true for a code someone is waiting on
send_to_ownersendText the account owner on their own mobile; does not use up new-account limits
replysendAnswer inside an existing conversation
get_message_statusreadpending, ready, sent, delivered, failed or expired
get_new_messagesreadEverything since a cursor; direction: inbound to poll for replies
wait_for_replyreadBlock up to 25 seconds for the next inbound text from a number or conversation
list_conversationsreadThe inbox: contact, unread count, last message
get_conversationreadOne full thread, marks it read
get_threadreadThe thread with a phone number, without looking up the conversation id first
send_otp / verify_otpsendText a one-time code (only its hash is stored), then check what the person typed
wait_for_otpreadWait for an inbound text carrying a 4 to 8 digit code, for agents that sign up to services
start_reverse_verification / check_verificationsend / readProve a person holds a phone by having them text a short token to your line, with nothing sent; then check the result
list_devicesreadPaired phones with online state and battery
get_line_healthreadHealth score, state, warmup level and headroom for each line
get_controlsreadQuiet hours, default country, opt-out counting, retries and each line's inbound privacy filter
check_numberreadHow a number is read, whether it looks right for its country, and whether quiet hours hold it now. Sends nothing
check_inbound_filterreadWhether a message from a number would reach the account or stay on the phone, and why
preflight_campaignreadBefore a send to many people: wrong numbers, opt-outs, quiet hours, recorded consent, a way to opt out, today's room. Risk and advice; sends nothing
inbox_digestreadWhat needs attention since a time: waiting replies, possible opt-outs, failures by cause, agent drafts, line health, and a to-do list
explain_failurereadWhy one message failed, in words, and what to do
resolve_possible_opt_outmanageSettle a reply the Opt-out Guard flagged: opt the number out, or dismiss
list_contacts / add_contactread / manageSearch or create contacts
get_usagereadMonth used against plan, today's capacity
set_webhookmanagePush inbound and status events to your HTTPS endpoint
list_quarantine / get_quarantined_messagereadInbound messages held as likely phishing, links defanged
release_quarantined / delete_quarantinedmanageMove a held message to the inbox, or destroy it
list_opt_outs / check_suppressionreadWho asked to stop, and whether a text reads as an opt-out
add_suppression_word / opt_out_contactmanageExtend the opt-out rules, or opt someone out by hand
list_appointments / set_appointment_statusread / sendUpcoming appointments from the connected Google Calendar with each customer's answer; record an answer (the calendar event is marked too)
list_agent_drafts / send_agent_draftread / sendReplies the built-in SMS agent is holding for approval; send one, edited or as written
get_activityreadWho did what on the account lately: you, API keys, AI clients, the SMS agent, reminders, customers
get_integration_recipereadTested recipes and code for building on SMSNET, including a two-way bridge for HubSpot, Pipedrive, Salesforce and monday.com. Works before you have an account

The server also offers its recipes as MCP resources (smsnet://recipes/<topic>) and three prompts (connect_crm, build_integration, crm_follow_up) for clients that show them in a menu. See Connect your CRM to SMS.

Two design choices matter for an agent. First, get_new_messages never returns quarantined messages, and quarantined links are defanged (https becomes hxxps), so a model cannot be tricked into fetching a phishing URL that arrived by SMS. Second, every error is returned as readable text rather than a protocol error, so the model can tell the person "that recipient opted out on 3 September by replying STOP" instead of failing silently.

How do I stop a leaked key from texting people?

Turn on client approval under Developers. With it on, a client that has never been seen before gets only two tools, approve_client and check_approval, until the account owner reads a six digit code out of an email and gives it to the agent, or approves it in the portal. Every new client also fires an mcp.client_pending webhook, which is the leaked-key alarm. Existing clients are grandfathered when you switch it on, so nothing that works today breaks.

Rate limits are per key: 120 tool calls a minute. Tool calls are audited by name and outcome only, never by content, so the operator console stays blind to what was said.

Where does this fit with the REST API and webhooks?

Use MCP when a model decides what to send. Use the REST API when your own code decides, for example a booking system that texts a confirmation. Use both when an agent sends and your server listens: set_webhook points inbound replies and delivery updates at your endpoint, signed with HMAC-SHA256 and retried nine times over about three days. The Python guide has a working receiver. For a ChatGPT-side integration, where the client is a Custom GPT or the OpenAI Responses API rather than Claude, see Connect ChatGPT to SMS in 5 Minutes, and for the Claude-specific walkthrough, Send SMS from Claude with MCP.

Everything above works on the free plan: 300 messages a month from one phone, replies uncounted, MCP included. Connect a phone, paste the config block, and ask your agent to text you.

FAQ

What is an MCP server for SMS?

A web service that implements the Model Context Protocol and exposes text messaging as tools a model can call, such as send_sms, reply and get_new_messages. The model discovers the tools with tools/list and calls them with tools/call; the server sends and receives the actual SMS. SMSNET's server is at https://smsnet.net/mcp.

Can Claude send a text message?

Yes. Add SMSNET as an MCP server in Claude Code, Claude Desktop or any Claude-based agent with your API key as a Bearer token, and Claude can call send_sms to text a number from your own phone, read replies with get_new_messages, and answer inside a thread with reply.

Does the AI agent get direct access to my phone?

No. The agent talks only to the SMSNET cloud over HTTPS. The cloud queues the message, applies opt-out and plan checks, paces it, and hands it to your Android phone through the gateway app. The phone authenticates with its own device secret, separate from your API key.

How do I limit what an agent can do with my API key?

Scope the key to read, send or manage; an agent with a read key sees only read tools. Turn on client approval so a new client must present a six digit code before it can act, and watch the mcp.client_pending webhook for clients you do not recognise.

Does SMSNET's MCP server work with ChatGPT?

With the OpenAI Responses API and Agents SDK, yes: declare https://smsnet.net/mcp as an MCP tool with an Authorization header. Inside the ChatGPT app the simplest path is a Custom GPT Action against the REST endpoint. Both are covered step by step in the ChatGPT guide.

What does it cost to give an agent an SMS line?

Nothing beyond your plan. MCP is included on the Free plan, which is permanent: one line, 300 messages a month, 20 a day, replies never counted. Paid plans add lines and volume from $29 a month.

Is the MCP endpoint streaming or plain HTTP?

Streamable HTTP with single JSON responses: every request is a POST with a JSON-RPC body and gets a JSON reply. There is no server-initiated event stream, and a GET on the endpoint returns 405, which every standard client handles by falling back to POST.

Spokes under this pillar: Connect ChatGPT to SMS in 5 Minutes and Send SMS from Claude with MCP. The line itself comes from the Android gateway guide; the code-first path is the SMS API pillar and its Python tutorial. Plans and limits are on the pricing page.

Send your first message today

Free plan, no card: 400 messages a month from your own number, with the API, webhooks and MCP included.

Get the app See pricing

Get it on Google Play

Written by , who builds SMSNET. Product facts on this page are checked against the live pricing page and the running API on the date shown above.