Send and receive SMS messages through Twilio API.
## Twilio SMS MCP Server: Text Messaging API The **Twilio SMS MCP Server** provides dedicated SMS capabilities from Twilio within Google Antigravity. This focused integration enables sending text messages, receiving replies, and building SMS-based workflows globally. ### Why Twilio SMS MCP? Twilio SMS leads text messaging: - **Global Coverage**: 180+ countries - **Two-Way SMS**: Send and receive - **Short Codes**: High-volume messaging - **MMS Support**: Send images and media - **Reliability**: 99.95% uptime SLA ### 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"Sent: {message.sid}") ``` #### 2. Receive SMS ```python from flask import Flask, request from twilio.twiml.messaging_response import MessagingResponse @app.route("/sms", methods=["POST"]) def sms_reply(): incoming = request.form["Body"] from_number = request.form["From"] resp = MessagingResponse() if "status" in incoming.lower(): resp.message("All systems operational!") else: resp.message("Reply STATUS for system status.") return str(resp) ``` #### 3. Send MMS ```python # Send message with image message = client.messages.create( body="Your receipt", from_="+15551234567", to="+15559876543", media_url=["https://example.com/receipt.png"] ) ``` ### Configuration ```json { "mcpServers": { "twilio-sms": { "command": "npx", "args": ["-y", "@anthropic/mcp-twilio-sms"], "env": { "TWILIO_ACCOUNT_SID": "ACxxxxx", "TWILIO_AUTH_TOKEN": "your-token", "TWILIO_PHONE_NUMBER": "+15551234567" } } } } ``` ### Use Cases **Verification**: Send OTP codes via SMS. **Alerts**: Critical system notifications. **Customer Communication**: Order updates and support. The Twilio SMS MCP Server brings text messaging to Antigravity.
{
"mcpServers": {
"twilio-sms": {}
}
}