Overview
Send SMS, MMS, voice messages, and manage communications via Twilio.
Setup
Run with npx:
npx -y @modelcontextprotocol/server-twilioConfiguration
TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN environment variablesDocumentation
Twilio MCP (Enhanced)
Overview
Twilio MCP provides access to Twilio API for SMS, voice, and communication services.
Features
- SMS sending and receiving
- Voice call management
- WhatsApp messaging
- Verification services
- Media handling
Installation
npx -y @modelcontextprotocol/server-twilio
Configuration
Set up Twilio credentials:
export TWILIO_ACCOUNT_SID=your_account_sid
export TWILIO_AUTH_TOKEN=your_auth_token
export TWILIO_PHONE_NUMBER=+1234567890
Get your credentials from Twilio Console.
Available Operations
| Operation | Description |
|---|---|
| Send SMS | Send text message |
| Send WhatsApp | Send WhatsApp message |
| Make Call | Initiate voice call |
| Get Messages | Retrieve message history |
| Verify Code | Send verification code |
Usage Examples
Send SMS
{
"action": "send_sms",
"to": "+1234567890",
"body": "Hello from AI agent!"
}
Send WhatsApp
{
"action": "send_whatsapp",
"to": "whatsapp:+1234567890",
"from": "whatsapp:+14155238886",
"body": "Your order has shipped!"
}
Verify Code
{
"action": "verify_code",
"phone_number": "+1234567890",
"channel": "sms"
}
Pros
- ✅ Multi-channel communication
- ✅ Global coverage
- ✅ Reliable delivery
- ✅ Rich media support
Cons
- ❌ Requires Twilio account
- ❌ Pay-per-use pricing
- ❌ Rate limits apply
