SMS8MCP

SMS8 MCP documentation

Checking the server

SMS8 MCP connects AI tools to your SMS8 account. Your assistant can send SMS, MMS and iMessage, send and check login codes, read replies and set up webhooks. Every message leaves from a phone you own.

You need: an SMS8 account, an Android phone paired with the SMS8 app (or a Mac with SMS8 Gateway for iMessage), and an AI tool that supports MCP. The server lives at https://mcp.sms8.io/mcp.

Quickstart

  1. Create your account and pair an Android phone from the Devices page.
  2. Add the server to your AI tool. In Claude Code:
Terminal
claude mcp add --transport http sms8 https://mcp.sms8.io/mcp
  1. Type /mcp, pick sms8 and sign in. Then ask: "Text my own number: SMS8 is connected."

Sign in and API keys

There are two ways to connect. Both give the same tools.

  • Sign in (OAuth). Claude and Claude Code open an SMS8 sign-in window and connect on their own. Nothing to paste.
  • API key. Other tools send your key in a header: Authorization: Bearer YOUR_SMS8_API_KEY. Copy the key from the API page of your dashboard.
Keep your key private. It can send texts from your number. Do not commit config files that contain it.

Install

Pick your tool. The server address is always https://mcp.sms8.io/mcp.

Step-by-step pages: Claude, ChatGPT, Grok, Gemini CLI, Cursor, OpenCode, OpenClaw.

Claude

  1. In Claude (web or desktop), open Settings, then Connectors.
  2. Choose Add custom connector, name it SMS8 and paste the URL.
  3. Click Connect, sign in to SMS8 and approve. No API key to copy.
Connector URL
https://mcp.sms8.io/mcp

Claude Code

  1. Run the command in your terminal.
  2. In Claude Code, type /mcp, pick sms8 and sign in to SMS8.
  3. Ask it to list my SMS8 devices. Prefer an API key? See the full guide.
Terminal
claude mcp add --transport http sms8 https://mcp.sms8.io/mcp

To use an API key instead of signing in, add the header:

Terminal
claude mcp add --transport http sms8 https://mcp.sms8.io/mcp --header "Authorization: Bearer YOUR_SMS8_API_KEY"

ChatGPT

  1. In ChatGPT settings, open the connectors page, then Advanced, and turn on developer mode.
  2. Create a connector named SMS8 with this URL and choose OAuth.
  3. Sign in to SMS8 and approve. Custom connectors and actions depend on your ChatGPT plan.
Connector URL
https://mcp.sms8.io/mcp

Grok (xAI API)

  1. Remote MCP tools work in the xAI API, for apps and agents you build with Grok.
  2. Add this entry to the tools list of your request, with your API key.
  3. Grok calls the SMS8 tools when a task needs a text.
xAI API request: tools
[
  {
    "type": "mcp",
    "server_label": "sms8",
    "server_url": "https://mcp.sms8.io/mcp",
    "headers": { "Authorization": "Bearer YOUR_SMS8_API_KEY" }
  }
]

Gemini CLI

  1. Open ~/.gemini/settings.json, or create it.
  2. Paste the config and put in your API key.
  3. Start Gemini CLI and type /mcp to check SMS8 is listed.
~/.gemini/settings.json
{
  "mcpServers": {
    "sms8": {
      "httpUrl": "https://mcp.sms8.io/mcp",
      "headers": { "Authorization": "Bearer YOUR_SMS8_API_KEY" }
    }
  }
}

Cursor

  1. Open Settings, then MCP, then Add new MCP server, or edit the file directly.
  2. Paste the config and put in your API key.
  3. Reload Cursor. SMS8 shows up with its tools.
~/.cursor/mcp.json
{
  "mcpServers": {
    "sms8": {
      "url": "https://mcp.sms8.io/mcp",
      "headers": { "Authorization": "Bearer YOUR_SMS8_API_KEY" }
    }
  }
}

Windsurf

  1. Open the Cascade panel, then MCP servers, then View raw config.
  2. Paste the config and put in your API key.
  3. Press Refresh. The SMS8 tools appear in Cascade.
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "sms8": {
      "serverUrl": "https://mcp.sms8.io/mcp",
      "headers": { "Authorization": "Bearer YOUR_SMS8_API_KEY" }
    }
  }
}

VS Code

  1. Create .vscode/mcp.json in your project.
  2. Paste the config and put in your API key.
  3. Open Copilot Chat in agent mode and pick the SMS8 tools.
.vscode/mcp.json
{
  "servers": {
    "sms8": {
      "type": "http",
      "url": "https://mcp.sms8.io/mcp",
      "headers": { "Authorization": "Bearer YOUR_SMS8_API_KEY" }
    }
  }
}

Any client (npx)

  1. For tools that only run local (stdio) servers.
  2. The sms8-sdk package starts a small bridge to the hosted server.
  3. Needs Node.js 18 or newer. Put in your API key and restart the tool.
mcp.json
{
  "mcpServers": {
    "sms8": {
      "command": "npx",
      "args": ["-y", "sms8-sdk", "mcp"],
      "env": { "SMS8_API_KEY": "YOUR_SMS8_API_KEY" }
    }
  }
}

Claude Code plugin

The plugin adds the server and a short skill that teaches Claude how to use it. Run these inside Claude Code:

Claude Code
/plugin marketplace add 1fancy/sms8-sms-gateway
/plugin install sms8-sms-gateway

OpenCode and OpenClaw

Step-by-step guides: SMS8 with OpenCode and SMS8 with OpenClaw.

Tools

Your assistant chooses the tool from what you ask. You never call them by name, but knowing them helps.

ToolWhat it does
setup_sms8Checks your key and returns your devices, links and next steps.
send_smsTexts one person from your own number: SMS from a phone, iMessage from a Mac.
send_sms_listSends the same text to up to 100 of your own contacts, by SMS or iMessage.
send_otpSends a login or sign-up code to a phone number.
verify_otpChecks the code a person typed against the last code sent.
wait_for_otpWaits for a code to arrive on your phone and reads it back.
get_messagesReads recent sent and received texts, by number if you like.
list_devicesLists your paired phones and Macs, and what each one sends.
create_webhookSends replies and delivery updates to your server.
get_balanceShows your plan and when it renews. Quick to call.
usageA readable summary of your account and days left.

setup_sms8

Start here. Checks your SMS8 API key and returns what the assistant needs to work with your account: your paired devices, dashboard links and short setup notes.

ParameterTypeDescription
api_keystringYour SMS8 API key. Not needed when the key is already sent in the Authorization header or you signed in with OAuth.

Try asking: Set up SMS8 with my API key.

send_sms

Sends one message to one person from your own device. An Android phone sends SMS, or MMS when you add media links. A Mac with the SMS8 Gateway app sends iMessage from your Apple ID. If your account has several devices or SIMs, the tool asks which one to use, then you retry with that device and SIM.

ParameterTypeDescription
phonerequiredstringNumber in international format, for example +14155550100.
messagerequiredstringThe text. Up to about 1,600 characters.
device_idintegerSend from this paired device. Default: your primary device.
sim_slotstringSIM slot on that device, for dual-SIM and eSIM phones.
devicesarrayA list of device IDs, or "deviceID|simSlot" pairs. Overrides device_id.
optioninteger0 uses the devices you set (default), 1 sends from all devices, 2 from all SIMs.
random_devicebooleanPick one sender at random from the list, to spread the load.
attachmentsarrayPublic HTTPS links to images, video or PDF. Sends as MMS.
prioritizebooleanPut this message at the front of the phone's queue.

Try asking: Text +14155550142: "Your table is ready."

send_sms_list

Sends the same message to a short list of people you know, up to 100 numbers per call. The assistant confirms the text and the number of people with you first. Returns a sent or failed result for each number.

ParameterTypeDescription
phonesrequiredarrayUp to 100 numbers in international format. Only people you have permission to text.
messagerequiredstringThe text every person gets.
device_idintegerSend from this paired device. Default: your primary device.
sim_slotstringSIM slot on that device.

Try asking: Send "Office closed Friday" to the five numbers in team.csv.

send_otp

Sends a one-time code and keeps it on the server, so you can check it later with verify_otp. By default the code has 6 digits, expires in 5 minutes, allows 5 tries and can be resent after 60 seconds. Each phone number can get at most 5 codes in 24 hours.

ParameterTypeDescription
phonerequiredstringNumber in international format.
lengthintegerDigits in the code, 4 to 8. Default 6.
templatestringThe text, with {code} where the code goes. Default: "Your verification code is {code}".
expires_inintegerSeconds until the code expires, 60 to 900. Default 300.
max_attemptsintegerTries allowed, 1 to 10. Default 5.
device_idintegerSend from this paired device.
sim_slotstringSIM slot on that device.
devicesarrayA list of device IDs or "deviceID|simSlot" pairs.
optioninteger0 uses the devices you set (default), 1 all devices, 2 all SIMs.
random_devicebooleanPick one sender at random from the list.

Try asking: Send a 6-digit login code to +14155550142.

verify_otp

Checks the code a person typed against the latest code sent to that number. Returns verified true or false, and a reason when it fails.

ParameterTypeDescription
phonerequiredstringThe number the code was sent to.
coderequiredstringThe code the person typed.

Try asking: The user typed 482913. Is it right?

wait_for_otp

Waits until a text with a code arrives on your paired phone, then returns the code, the full message and the sender. Useful when an agent fills in a sign-up or login form that sends a code to your number.

ParameterTypeDescription
sender_phonestringOnly match texts from this number.
device_idintegerOnly watch this paired device.
sim_slotintegerOnly watch this SIM slot (0 or 1).
timeout_secondsintegerHow long to wait, 5 to 180 seconds. Default 60.
code_min_lengthintegerShortest code to accept. Default 4.
code_max_lengthintegerLongest code to accept. Default 8.
containsstringText the message must include, for example the app name.

Try asking: Sign me up on the test site, then wait for the code on my phone.

get_messages

Returns recent messages on your account. Filter by direction and by phone number. Good for checking replies, showing a conversation or seeing what was delivered.

ParameterTypeDescription
directionstringreceived, sent or all. Default all.
limitintegerHow many messages, 1 to 100. Default 25.
phonestringOnly messages to or from this number.

Try asking: Did anyone reply in the last hour?

list_devices

Lists the devices paired with your account, with their ID, model, SIMs, whether each is your primary device and whether it is on. The channel field says what a device sends: sms for an Android phone, imessage for a Mac with SMS8 Gateway. An empty list means nothing is paired yet.

No parameters.

Try asking: Which phones do I have connected?

create_webhook

Sets the HTTPS address where SMS8 posts incoming messages and delivery updates. Returns a sample of what will arrive, so the assistant can write the code that receives it. Set enabled to false to turn it off.

ParameterTypeDescription
urlrequiredstringAn HTTPS address on your server.
enabledbooleanDefault true. False removes the webhook.

Try asking: Send my replies to https://example.com/sms and write the handler.

get_balance

Returns your plan, its expiry date and a one-line summary of your account. Light and safe to call any time, for example before a large send.

No parameters.

Try asking: Check my SMS8 plan before this send.

usage

Shows an easy-to-read summary of your account: plan, expiry date and days left. Use it when you want an overview. Use get_balance when a program needs the numbers.

No parameters.

Try asking: Show my SMS8 usage.

Verify a phone number

Use send_otp and verify_otp to add phone checks to a sign-up or login form.

  1. Your app asks the assistant, or calls the tool, to send a code: send_otp with the phone number.
  2. The person types the code they received.
  3. Check it with verify_otp. You get verified: true, or false with a reason such as expired or wrong code.

Defaults: 6 digits, 5 minutes to use it, 5 tries, 60 seconds before a new code can be sent. Only the latest code for a number counts.

Read a code in tests

When an agent tests a sign-up or login flow that texts a code to your number, wait_for_otp waits for the text on your phone and returns the code. Set contains to the app name when several tests run at once, and keep timeout_seconds between 5 and 180.

Get replies on your server

Ask the assistant to run create_webhook with an HTTPS address. SMS8 then posts every incoming text and delivery update there as JSON. The tool returns a sample payload, so the assistant can write the code that receives it.

Each delivery is signed, so your server can check it came from SMS8. Turn the webhook off with enabled: false. For the full payload and signing details, see the REST API docs.

Choose the phone and SIM

With one phone, there is nothing to choose. With several phones or a dual-SIM phone, send_sms returns needs_clarification and a list of your devices. The assistant asks you which one, then sends again with device_id and sim_slot.

  • devices takes a list such as ["123|0", "456|1"] (device ID and SIM slot).
  • option: 1 sends from all devices, option: 2 from all SIMs.
  • random_device: true picks one sender from the list each time, to spread the load.
  • A Mac paired with the SMS8 Gateway app (macOS 14 or newer) is a device too. Messages sent through it go out as iMessage from your Apple ID. New iMessage contacts are paced to 50 a day per Mac.

Limits

WhatLimit
Codes per phone number5 in any 24 hours, cannot be turned off
Code length4 to 8 digits, default 6
Code expiry60 to 900 seconds, default 300
Tries per code1 to 10, default 5
New code after60 seconds by default
Recipients per send_sms_list100
Message lengthAbout 1,600 characters
Messages per get_messages call1 to 100, default 25
wait_for_otp timeout5 to 180 seconds, default 60

Errors

When a send fails, the tool says why in plain words and includes a link to fix it. Common reasons:

  • Plan expired. Renew from your dashboard.
  • No phone online. Open the SMS8 app on the phone and turn off battery optimization for it.
  • Invalid number. Use international format, for example +14155550142.
  • needs_clarification. Not an error: choose a phone and SIM, then send again.

Every send_sms reply also carries an account block with your plan, expiry date and device health.

FAQ

Do I need a new phone number?

No. Texts go out from the SIM in your paired phone, so people see your normal number.

Does the phone have to stay on?

Yes. Keep it on Wi-Fi and a charger, and turn off battery optimization for the SMS8 app so Android does not stop it.

Can the assistant text anyone?

It texts the numbers you give it. Lists are limited to 100 people and the assistant confirms the message and the count with you first.

What does it cost?

The MCP server comes with every SMS8 plan, from USD 29 a month, with no fee per message. See pricing. You can try it for 3 days with 30 messages, no card needed.

Where is the code?

The Claude Code plugin and examples are on GitHub.