SMS MCP server for AI agents

TextKit is an SMS API for the United States and Canada with a hosted MCP server, so Claude, ChatGPT, Cursor or any AI agent can send texts, verify phone numbers, buy numbers, load contacts, build segments, run broadcasts and set up automations on your account.

The server is https://mcp.jointextkit.com: Streamable HTTP, sign in to connect or pass an API key. Every tool runs in the free sandbox until you go live, where a text costs $0.002 plus carrier fees at cost.

Connect from Claude

claude.ai and Claude Desktop: Settings → Connectors → Add custom connector, URL https://mcp.jointextkit.com. Claude sends you to TextKit to sign in. Approve the connection, pick test or live data, and you are back in Claude.

Claude Code:

bash
claude mcp add --transport http textkit https://mcp.jointextkit.com

Then run /mcp in Claude Code and choose TextKit to sign in.

Approving creates an API key named for the app, listed on the API keys page; revoke it there to disconnect. Connecting the same app again replaces its key. Only an account admin can approve.

Connect from ChatGPT

In ChatGPT, open Plugins, select +, then Add custom MCP server, with the URL https://mcp.jointextkit.com/chatgpt and OAuth, and create it as a plugin. ChatGPT sends you to TextKit to sign in; approve it the same way. This URL has every tool except Verify and API keys: ChatGPT does not allow one-time codes.

Step-by-step guides for Lovable, Replit, Bolt, v0, VS Code, Gemini CLI, Cline and more are on the integrations page.

Add to Replit or Cursor

Add to Replit · Add to Cursor

Both open the app with TextKit filled in; sign in when it asks. In Replit, Agent can then text from the apps it builds: ask it to create an API key with create_api_key and store it as the secret TEXTKIT_API_KEY.

Connect with an API key

Any MCP client that can send a header:

json
{
  "mcpServers": {
    "textkit": {
      "url": "https://mcp.jointextkit.com",
      "headers": { "Authorization": "Bearer tk_sk_test_..." }
    }
  }
}

Start with test data: everything runs in the sandbox and no real phone gets a text. Every tool is one API call with your key, so its scopes, rate limits and send checks apply unchanged. To limit what an agent can do, give it a key with only the scopes it needs.

Things to ask

Buy a number in area code 512 and text +15005550006 "Your order shipped."

Import the contacts in this CSV, tag them spring-sale, and tell me how many have an opt-in.

Send everyone tagged vip "Doors open at 9 on Saturday." Do a dry run first and show me the count and cost.

When someone triggers cart_abandoned, wait an hour, and text them a reminder unless checkout_completed arrives first.

How did yesterday's broadcast do? Show delivered, failed, replies and opt-outs.

Bring an audience from any tool

Your people can be anywhere: an analytics tool, a CRM, a store, an email tool, billing, your own database, a spreadsheet or a file. Ask for them and the agent works out how to get them.

Import my users who can get marketing texts.

If you have not said where they are, the agent asks (plan_import): where your people live, which group, what you can sign in to, whether consent was recorded, and once or kept in sync. Then it offers the ways in, best first:

Way inWhen
Tools already in the chatThe agent has that tool's MCP server, a connector, or database access: nothing to set up
IntegrationShopify, HubSpot, Salesforce, Mixpanel, Amplitude, synced every 6 hours. You type the credentials into the console link it gives, never into the chat
PushSegment, RudderStack, Hightouch, Census or a cohort webhook posts people as they change
ScriptA key you keep in your own environment; the agent writes the code
Export or CSVThe agent tells you where the export button is, then reads the file or you upload it in the console

Bring the "Trial ending this week" cohort from Mixpanel into TextKit and text them a reminder about the upgrade offer.

With a source named, the agent then:

  1. Reads the cohort with the other tool: phone, name, its id there, any SMS consent it recorded, and a few attributes worth merging.
  2. Calls import_contacts with dry_run: true and shows you what will be created, updated, skipped or already opted out. Up to 500 per call.
  3. Imports them tagged (for example mixpanel-trial-ending) and saves a segment on that tag.
  4. Calls send_batch with dry_run: true: recipients, cost, and who is removed and why. It sends after you approve.

Run it again later to refresh: contacts are matched by phone number, and the agent removes the tag from people who left the cohort.

Consent comes from the source, never from the agent. A cohort is not permission to text. Marketing goes only to people with an opt-in on file, so the agent carries over opt_in only where the source recorded one (when, and where it was collected). Without it they can still get transactional texts. See opt-out and consent.

Slash commands

Everything the server can do is a slash command in chat. Clients that show MCP prompts list them under TextKit: in Claude Code type /mcp__textkit__balance, in VS Code /mcp.textkit.balance. On claude.ai, add the TextKit skill and type /textkit balance. In ChatGPT, type @TextKit balance.

A command on its own shows what is there. Add words after it to do something: /textkit send +16155550100 Your order shipped. Anything that changes your account asks its questions first and waits for your yes.

CommandShowsAlso does
helpEvery commandPicks the right one for a task you describe
balanceBalance, usage, spend limitSets the spend limit
numbersYour numbersSearch, buy, release, pools, short codes
sendRecent textsSend one text, look up a number, delete or redact
batchBroadcastsText a segment (dry run first), pause, resume, cancel, retry
scheduleScheduled and recurring textsCreate, change, cancel
verifySend and check one-time codes
register10DLC and toll-free filingsFill from your website, check, file when you approve
contactsContacts and listsAdd, import, tag, update, delete
audienceSegmentsWho did what, saved as a segment
consentOpt-outs and topicsRecord consent, import a STOP list
templatesTemplatesCreate, change, delete
automationsAutomationsBuild, preview, test, turn on, pause
linksTracked linksCreate links, conversions, your link domain
integrationsConnected toolsConnect, sync, disconnect
webhooksWebhooks and eventsAdd, test, replay, rotate a secret
customersCustomersCreate, change, usage
api_keysAPI keysCreate, revoke
reportsDelivery ratesExports, audit log

Four guided flows sit beside them:

PromptArgumentsWhat it does
import_audiencesource, audience, tag (all optional)Asks where your people are if you have not said, offers every way in, imports with a dry run first, keeps the tag in sync, saves a segment
send_campaignaudience, goalFinds or imports the audience, drafts the text, dry-runs it, sends or schedules after you approve
build_automationgoalAsks which event starts it, the delay, what ends it and the message, then builds a draft, previews it and sends you a test
campaign_reportperiodDelivery, replies, opt-outs and spend per batch, the trend, and a follow-up cohort

Tools

AreaTools
Messagessend_message, get_message, list_messages, delete_message, redact_message, simulate_inbound, list_events
Verificationsend_verification, check_verification, fallback_verification, get_verification
Numberslist_numbers, get_number, search_available_numbers, purchase_number, bulk_purchase_numbers, bulk_update_numbers, release_number, link_number_to_registration, assign_number_to_customer, export_numbers, lookup_phone
Sender poolslist_number_pools, create_number_pool, get_number_pool, update_number_pool, delete_number_pool, clone_number_pool
Contactsplan_import, import_contacts, upsert_contact, list_contacts, get_contact, update_contact, delete_contact, bulk_update_contacts, set_contact_topic
Segments and topicsquery_audience, create_segment, list_segments, get_segment, update_segment, delete_segment, preview_segment, list_topics, create_topic, get_topic, update_topic, delete_topic, get_contact_topics
Consentget_consent, set_consent, list_opt_outs, import_opt_outs
Templatescreate_template, list_templates, get_template, update_template, delete_template
Broadcastssend_batch, list_batches, get_batch, get_batch_results, list_batch_recipients, pause_batch, resume_batch, cancel_batch, retry_batch
Scheduled and recurringlist_scheduled_messages, get_scheduled_message, cancel_scheduled_message, create_schedule, list_schedules, get_schedule, update_schedule, delete_schedule
Automationstrack_event, create_automation, list_automations, get_automation, update_automation, delete_automation, activate_automation, pause_automation, list_automation_runs, get_automation_run, cancel_automation_run
Accountget_balance, get_usage, get_spend_limit, set_spend_limit, get_deliverability, list_audit_logs, forget_identity
10DLC registrationprefill_registration, create_registration, recheck_registration, submit_registration, enter_registration_phone_code, resend_registration_phone_code, list_registrations, get_registration, list_registration_submissions
Toll-free verificationcreate_toll_free_verification, update_toll_free_verification, submit_toll_free_verification, list_toll_free_verifications, get_toll_free_verification
Reports and exportsexport_csv (messages, deliveries, events, opt-outs, usage, audit log, credit history), export_consent, wait_for_events
Webhookscreate_webhook, list_webhooks, get_webhook, update_webhook, delete_webhook, rotate_webhook_secret, test_webhook, replay_failed_webhooks, list_webhook_deliveries, replay_event
Customers (platforms)create_customer, list_customers, get_customer, update_customer, delete_customer, get_customer_usage

Tools that send, delete or turn something on are marked destructiveHint, read-only ones readOnlyHint, so your client can ask before running them. Each tool is one call to the API and takes the same inputs, so a new field or list filter there shows up in the tool too. A failed call returns the API's error object with isError: true. Fetching the webhook signing secret stays in the console and the API.

Cohorts

Ask about your audience in plain words and the agent turns it into segment rules: "who replied in the last 7 days", "who got Friday's broadcast and didn't answer", "who started checkout but never bought". query_audience answers with the counts and the first contacts without saving anything; create_segment saves the cohort so send_batch can text it. See segments for every rule.

The agent asks before it acts

For anything that needs your details (buying a number, a 10DLC registration, a toll-free verification, a recurring text, a webhook, an automation), plan_task gives the agent the questions to ask you, each with your account's options (your numbers, registrations, topics, segments) and every field the API takes. It asks what you have not already said, then does it.

File a 10DLC registration or toll-free verification

An agent can take a business from its website to a filed registration in the chat. It reads the site for suggestions, asks you to confirm them and fill in the rest, and runs the same checks as the console, with each failed check's fix. Before it submits, it reads you the carrier fee terms and asks for your own yes, and the first time for a business your name and title to sign the business attestation. A sole proprietor gives it the code texted to their mobile. Our review still checks every filing before it goes to the carriers.

Frequently asked questions

Does TextKit have an MCP server for SMS?

Yes, at https://mcp.jointextkit.com. It gives an agent tools to send texts, buy numbers, load contacts, build segments, run broadcasts and set up automations.

How can my AI agent send text messages?

Connect the MCP server to Claude, ChatGPT, Cursor or any MCP client, then ask in plain words. An app without MCP can call the REST API.

Can an agent read replies?

Yes. Inbound texts arrive as message.received events. An agent can read them with the list_events or wait_for_events tools.

Can I try it without sending real texts?

Yes. When you connect, pick test data and the agent works in the sandbox.

Protocol

Streamable HTTP, stateless JSON (no sessions or SSE), protocol version 2025-03-26. initialize, tools/list and prompts/list work without a key; tools/call needs one. Discovery: /.well-known/mcp.json.

New tools and fields reach a client when it next lists tools. A stateless server cannot push notifications/tools/list_changed, so a client keeps the list it read when it connected: reconnect it (in Claude Code, /mcp and Reconnect) to pick them up. serverInfo.version changes whenever the tool list does, so a client can tell its list is stale.