Mcp Twilio

io.github.codesparPublished by GitHub account codesparv0.2.2Updated Oct 24, 2026

MCP server for Twilio — global SMS, WhatsApp, Voice, Verify, and Lookup across 180+ countries

Overview

AI-generated overview

A local MCP server for Twilio that lets an assistant send SMS and WhatsApp messages, place calls, run 2FA verifications, validate phone numbers and manage TwiML

What you can do
Send and manage SMS and WhatsApp messages, including listing and deleting message history and listing messaging services and provisioned numbers, plus buying new phone numbers and listing call recordings and incoming numbers
When to use it
Use it when an assistant needs to send SMS or WhatsApp messages, place or modify voice calls, run phone-based 2FA checks, validate phone numbers, or manage Twilio numbers and conversations from a chat session.
Requirements
Runs locally as an npm package over stdio (npx). Needs Node.js and a Twilio account with TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN set; TWILIO_MESSAGING_SERVICE_SID is optional as a default sender. Network access to Twilio APIs is required.
Before you install
The auth token is a secret that grants full account access. Tools can send messages and place calls that cost money, buy phone numbers, delete message history, and change in-progress calls. WhatsApp sending requires approved senders or sandbox numbers. Message content and phone numbers go to Twilio.

Installation

In SourceWeft

  1. Open Mcp Twilio in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

@codespar/mcp-twilio

MCP server for Twilio — the global standard for programmable messaging and voice.

SMS, WhatsApp, and Voice across 180+ countries. Verify (2FA) and Lookup (phone validation) included. Fills the global messaging gap in a catalog otherwise tilted to Brazil-specific providers (Z-API, Take Blip, Zenvia, Evolution API).

Tools (22)

ToolPurpose
send_messageSend an SMS or WhatsApp message.
get_messageRetrieve a message resource by SID (SM...
list_messagesList messages with optional filters.
delete_messageDelete a message from history.
make_callPlace an outbound voice call.
get_callRetrieve a call resource by SID (CA...).
update_callModify an in-progress call.
start_verificationStart a Verify (2FA) challenge.
check_verificationCheck a Verify (2FA) code against a Service SID.
lookup_phoneValidate and normalize a phone number via Lookups v2.
list_incoming_numbersList Twilio-provisioned phone numbers on this account.
buy_phone_numberProvision a new phone number.
list_recordingsList call recordings on this account.
create_verify_serviceCreate a Verify Service (VA...).
create_conversationCreate a Twilio Conversation.
list_conversationsList Conversations.
add_conversation_participantAdd a participant to a Conversation.
send_conversation_messagePost a message into a Conversation.
list_messaging_servicesList Messaging Services (MG...).
execute_studio_flowTrigger a Studio Flow Execution for a contact.
create_taskrouter_taskCreate a TaskRouter Task on a Workspace.
list_taskrouter_workersList Workers on a TaskRouter Workspace.

Install

bash
npm install @codespar/mcp-twilio

Environment

bash
TWILIO_ACCOUNT_SID="AC..."             # requiredTWILIO_AUTH_TOKEN="..."                # required (secret)TWILIO_MESSAGING_SERVICE_SID="MG..."   # optional; default sender for send_message

Authentication

HTTP Basic auth with AccountSid:AuthToken. The server handles this automatically — you only configure the env vars.

Authorization: Basic <base64(AccountSid:AuthToken)>

API surface

  • Main Accounts API: https://api.twilio.com/2010-04-01/Accounts/{AccountSid} — Messages, Calls, IncomingPhoneNumbers
  • Verify API: https://verify.twilio.com/v2 — 2FA flows (requires a Verify Service SID passed per call)
  • Lookups API: https://lookups.twilio.com/v2 — phone number validation / carrier / line type

Request bodies are application/x-www-form-urlencoded; responses are JSON (endpoints use the .json suffix on the Accounts API).

WhatsApp

Use the same send_message tool, but prefix numbers with whatsapp::

json
{ "To": "whatsapp:+5511999999999", "From": "whatsapp:+14155238886", "Body": "Olá" }

Sandbox numbers or approved WhatsApp-enabled senders work the same way.

Run

bash
# stdio (default — for Claude Desktop, Cursor, etc)npx @codespar/mcp-twilio
# HTTP (for server-to-server testing)MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-twilio

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

Source: packages/communication/twilio/README.md at commit d0a519a

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.2.2LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts