Global SMS + WhatsApp + Voice + 2FA Verify + phone Lookup across 180+ countries. Fills the global gap in the messaging category (all other entries are BR-specific).
Twilio gives your agent 22 tools it calls directly β pick the ones it needs, in Claude, Cursor, or any MCP client.
send_message β Send an SMS or WhatsApp message. For WhatsApp, prefix `To` (and `From`) with `whatsapp:+E164`. Supply either `From` (a Twilio phone number) OR `MessagingServiceSid` (a Messaging Service). If neither is given, falls back to env TWILIO_MESSAGING_SERVICE_SID.get_message β Retrieve a message resource by SID (SM... or MM...).list_messages β List messages with optional filters. Returns Twilio's paginated list; pass PageSize to cap.// Your agent calls a tool directly β no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("send_message", { /* ... */ });$ npm install @codespar/mcp-twilioAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"twilio": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-twilio"
],
"env": {
"TWILIO_ACCOUNT_SID": "<your_twilio_account_sid>",
"TWILIO_AUTH_TOKEN": "<your_twilio_auth_token>"
}
}
}
}After restart, your agent can call any of the 22 tools below β try send_message first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
TWILIO_ACCOUNT_SIDTwilio Account SID (starts with AC...). Used as username for HTTP Basic auth.
TWILIO_AUTH_TOKENTwilio Auth Token. Used as password for HTTP Basic auth.
TWILIO_MESSAGING_SERVICE_SIDOptional default Messaging Service SID (starts with MG...) used for send_message when From is omitted.
Each tool is independent β your agent loads only what it needs to reduce context and response time.
send_messageget_messagelist_messagesdelete_messagemake_callget_callupdate_callstart_verificationMCP is a protocol β any framework that speaks it can mount this server.