A Model Context Protocol (MCP) server that enables Claude and other AI assistants to send SMS and MMS messages using Twilio.
nvm
(Node Version Manager):
nvm install 18.14.2
nvm alias default 18.14.2
npx -y @yiyang.1i/sms-mcp-server
The server requires three environment variables:
ACCOUNT_SID
: Your Twilio account SIDAUTH_TOKEN
: Your Twilio auth tokenFROM_NUMBER
: Your Twilio phone number (in E.164 format, e.g., +11234567890)To use this server with Claude Desktop, add the following to your configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"twilio": {
"command": "npx",
"args": [
"-y",
"@yiyang.1i/sms-mcp-server"
],
"env": {
"ACCOUNT_SID": "your_account_sid",
"AUTH_TOKEN": "your_auth_token",
"FROM_NUMBER": "your_twilio_number"
}
}
}
}
After that, restart Claude Desktop to reload the configuration. If connected, you should see Twilio under the 🔨 menu.
Here are some natural ways to interact with the server through Claude:
Send a text message to the number +11234567890 saying "Don't forget about dinner tonight!"
Write a haiku about autumn and send it to my number +11234567890
Common error messages and solutions:
"Phone number must be in E.164 format"
"Invalid credentials"
Contributions are welcome! Please read our contributing guidelines before submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
Please do not include any sensitive information (like phone numbers or Twilio credentials) in GitHub issues or pull requests.
Seamless access to top MCP servers powering the future of AI integration.