Twilio MCP Server

Twilio MCP Server

A Model Context Protocol server that enables Claude and other AI assistants to send SMS and MMS messages using Twilio.

YiyangLi

Communication
Visit Server

README

Twilio MCP Server

A Model Context Protocol (MCP) server that enables Claude and other AI assistants to send SMS and MMS messages using Twilio.

Demo

Demo

Features

  • Send SMS messages 📱
  • Pre-built prompts for common messaging scenarios 📝
  • Secure handling of Twilio credentials 🔒

Requirements

  • Node.js >= 18
    • If you need to update Node.js, we recommend using nvm (Node Version Manager):
      nvm install 18.14.2
      nvm alias default 18.14.2
      
    • If you encounter any errors in Claude Desktop, try running the following command in your terminal to verify the installation:
      npx -y @yiyang.1i/sms-mcp-server
      

Configuration

The server requires three environment variables:

  • ACCOUNT_SID: Your Twilio account SID
  • AUTH_TOKEN: Your Twilio auth token
  • FROM_NUMBER: Your Twilio phone number (in E.164 format, e.g., +11234567890)

Claude Desktop Configuration

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.

Example Interactions with Claude

Here are some natural ways to interact with the server through Claude:

  1. Simple SMS:
Send a text message to the number +11234567890 saying "Don't forget about dinner tonight!"
  1. Creative SMS:
Write a haiku about autumn and send it to my number +11234567890

Important Notes

  1. Phone Number Format: All phone numbers must be in E.164 format (e.g., +11234567890)
  2. Rate Limits: Be aware of your Twilio account's rate limits and pricing
  3. Security: Keep your Twilio credentials secure and never commit them to version control

Troubleshooting

Common error messages and solutions:

  1. "Phone number must be in E.164 format"

    • Make sure the phone number starts with "+" and the country code
  2. "Invalid credentials"

    • Double-check your ACCOUNT_SID and AUTH_TOKEN. You can copy them from the Twilio Console

Contributing

Contributions are welcome! Please read our contributing guidelines before submitting pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Security

Please do not include any sensitive information (like phone numbers or Twilio credentials) in GitHub issues or pull requests.

Recommended Servers

graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Apple MCP Server

Apple MCP Server

Enables interaction with Apple apps like Messages, Notes, and Contacts through the MCP protocol to send messages, search, and open app content using natural language.

Featured
Local
TypeScript
@kazuph/mcp-gmail-gas

@kazuph/mcp-gmail-gas

Model Context Protocol server for Gmail integration. This allows Claude Desktop (or any MCP client) to interact with your Gmail account through Google Apps Script.

Featured
JavaScript
MCP Server Trello

MCP Server Trello

Facilitates interaction with Trello boards via the Trello API, offering features like rate limiting, type safety, input validation, and error handling for seamless management of cards, lists, and board activities.

Featured
TypeScript
Linear MCP Server

Linear MCP Server

A Model Context Protocol server that integrates with Linear's issue tracking system, allowing LLMs to create, update, search, and comment on Linear issues through natural language interactions.

Featured
JavaScript
Composio MCP Server

Composio MCP Server

A server implementation that provides MCP-compatible access to Composio applications like Gmail and Linear, allowing interaction through a structured interface for language models.

Official
TypeScript
Folderr

Folderr

A Model Context Protocol (MCP) server that provides tools to interact with Folderr's API, specifically for managing and communicating with Folderr Assistants.

Official
JavaScript
mcp-google

mcp-google

A specialized Model Context Protocol (MCP) server that integrates Google services (Gmail, Calendar, etc.) into your AI workflows. This server enables seamless access to Google services through MCP, allowing AI agents to interact with Gmail, Google Calendar, and other Google services.

Local
TypeScript
MCP-JIRA-Python Server

MCP-JIRA-Python Server

A Python-based server allowing seamless integration with JIRA for managing and interacting with projects through custom APIs.

Local
Python
Email Sending MCP

Email Sending MCP

Send emails directly from Cursor with this email sending MCP server

Local
TypeScript