概览
What is Twilio MCP Server?
Twilio MCP Server is a Model Context Protocol (MCP) server that enables Claude and other AI assistants to send SMS and MMS messages using Twilio. It provides a secure, credential‑managed interface for programmatic messaging.
How to use Twilio MCP Server?
The server is invoked via npx -y @yiyang.1i/sms-mcp-server. It requires three environment variables: ACCOUNT_SID, AUTH_TOKEN, and FROM_NUMBER. For Claude Desktop, add a twilio entry to the MCP server configuration JSON and restart the app.
Key features of Twilio MCP Server
- Send SMS and MMS messages
- Pre‑built prompts for common messaging scenarios
- Secure handling of Twilio credentials
- Natural language interaction through Claude
Use cases of Twilio MCP Server
- Send a simple SMS reminder to a phone number
- Compose and send creative messages (e.g., a haiku) via Claude
- Integrate Twilio messaging into AI‑assisted workflows
- Automate outbound notifications without writing code
FAQ from Twilio MCP Server
What runtime is required?
Node.js 18 or higher. Use nvm to install/update if needed.
How do I configure the server?
Set the environment variables ACCOUNT_SID, AUTH_TOKEN, and FROM_NUMBER (in E.164 format) in the MCP server configuration.
What phone number format must I use?
All phone numbers must be in E.164 format, e.g., +11234567890.
Where can I find my Twilio credentials?
Your ACCOUNT_SID and AUTH_TOKEN can be copied from the Twilio Console.
Are there any known limits or security concerns?
Be aware of your Twilio account’s rate limits and pricing. Never commit credentials to version control.