Official Twilio MCP server for communications
## Twilio MCP Server: Communication APIs The **Twilio MCP Server** integrates Twilio's comprehensive communication platform into Google Antigravity. This enables SMS, voice calls, video, and other communication channels programmatically from your development environment. ### Why Twilio MCP? Twilio is the communication platform standard: - **SMS & MMS**: Global messaging coverage - **Voice**: Programmable phone calls - **Video**: WebRTC video capabilities - **WhatsApp**: Business messaging - **Verify**: Two-factor authentication ### Key Features #### 1. Send SMS ```python from twilio.rest import Client client = Client(account_sid, auth_token) message = client.messages.create( body="Your verification code is: 123456", from_="+15551234567", to="+15559876543" ) print(f"Message SID: {message.sid}") ``` #### 2. Voice Calls ```python # Make outbound call call = client.calls.create( twiml="<Response><Say>Hello! Your order has shipped.</Say></Response>", to="+15559876543", from_="+15551234567" ) # Or use URL for dynamic TwiML call = client.calls.create( url="https://api.example.com/twiml", to="+15559876543", from_="+15551234567" ) ``` #### 3. Two-Factor Auth ```python # Send verification code verification = client.verify.v2.services(verify_service_sid) \ .verifications \ .create(to="+15559876543", channel="sms") # Check code check = client.verify.v2.services(verify_service_sid) \ .verification_checks \ .create(to="+15559876543", code="123456") if check.status == "approved": print("Verified!") ``` ### Configuration ```json { "mcpServers": { "twilio": { "command": "npx", "args": ["-y", "@anthropic/mcp-twilio"], "env": { "TWILIO_ACCOUNT_SID": "ACxxxxx", "TWILIO_AUTH_TOKEN": "your-token", "TWILIO_PHONE_NUMBER": "+15551234567" } } } } ``` ### Use Cases **Notifications**: Send SMS alerts for important events. **2FA**: Implement phone-based verification. **Customer Support**: Build voice-enabled support systems. The Twilio MCP Server brings communication APIs to Antigravity.
{
"mcpServers": {
"twilio": {
"mcpServers": {
"twilio": {
"args": [
"-y",
"@twilio-alpha/mcp",
"YOUR_ACCOUNT_SID/YOUR_API_KEY:YOUR_API_SECRET",
"--services",
"all"
],
"command": "npx"
}
}
}
}
}