drio
Open app

Twilio MCP Server

Source

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

Catalog onlyCatalog onlySTDIO

Overview

Twilio MCP Server is a Model Context Protocol (MCP) server that allows AI assistants like Claude to send SMS and MMS messages using Twilio's services.

To use the Twilio MCP Server, you need to configure it with your Twilio credentials and set it up in your Claude Desktop configuration. After setup, you can send messages through natural language commands.

  • Send SMS messages 📱 - Pre-built prompts for common messaging scenarios 📝 - Secure handling of Twilio credentials 🔒
  1. Sending reminders via SMS.
  2. Sending creative messages like poems or notifications.
  3. Integrating SMS functionality into AI applications.

Add to your AI client

Use these steps to connect Twilio MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "sms-mcp-server-yiyangli": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sms-mcp-server-yiyangli"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "sms-mcp-server-yiyangli": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sms-mcp-server-yiyangli"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "sms-mcp-server-yiyangli": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sms-mcp-server-yiyangli"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "sms-mcp-server-yiyangli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sms-mcp-server-yiyangli"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "sms-mcp-server-yiyangli": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sms-mcp-server-yiyangli"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "sms-mcp-server-yiyangli": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sms-mcp-server-yiyangli"
      ]
    }
  }
}

FAQ

What format should phone numbers be in?

All phone numbers must be in E.164 format (e.g., +11234567890).

How do I secure my Twilio credentials?

Keep your Twilio credentials secure and never commit them to version control.

What should I do if I encounter an "Invalid credentials" error?

Double-check your ACCOUNT_SID and AUTH_TOKEN, and ensure they are correctly copied from the Twilio Console.7:["$"