Twilio MCP Server

Communicationstdiov0.3.5
代码仓库

Integrates Twilio communication APIs with AI agents through the Model Context Protocol. Enables sending SMS messages, making voice calls, managing phone numbers, and querying message history. Supports programmable messaging, conversation management, and webhook configuration for real-time communication workflows.

连接

将此配置添加到 .claude/mcp.json

{
  "mcpServers": {
    "twilio": {
      "command": "npx",
      "args": [
        "-y",
        "@twilio/mcp-server"
      ],
      "env": {
        "TWILIO_ACCOUNT_SID": "<YOUR_TWILIO_ACCOUNT_SID>",
        "TWILIO_AUTH_TOKEN": "<YOUR_TWILIO_AUTH_TOKEN>"
      }
    }
  }
}

工具 (3)

send_sms

Send an SMS message using Twilio's Programmable SMS API.

{
  "type": "object",
  "required": [
    "to",
    "body"
  ],
  "properties": {
    "to": {
      "type": "string",
      "description": "Recipient phone number in E.164 format"
    },
    "body": {
      "type": "string",
      "description": "Message content (max 1600 characters)"
    },
    "from": {
      "type": "string",
      "description": "Twilio phone number to send from (E.164 format)"
    }
  }
}

list_messages

List recent messages sent or received on the account.

{
  "type": "object",
  "properties": {
    "to": {
      "type": "string",
      "description": "Filter by recipient number"
    },
    "from": {
      "type": "string",
      "description": "Filter by sender number"
    },
    "limit": {
      "type": "integer",
      "description": "Maximum messages to return (default 20)"
    },
    "date_sent_after": {
      "type": "string",
      "description": "Filter messages sent after this ISO 8601 datetime"
    }
  }
}

lookup_phone

Look up information about a phone number including carrier and type.

{
  "type": "object",
  "required": [
    "phone_number"
  ],
  "properties": {
    "fields": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Information fields to retrieve (carrier, caller_name, line_type)"
    },
    "phone_number": {
      "type": "string",
      "description": "Phone number to look up in E.164 format"
    }
  }
}

资源

此服务器未提供任何资源。

提示词

此服务器未提供任何提示词。

服务器信息

作者
Twilio (@twilio)
代码仓库
https://github.com/twilio/twilio-mcp-server
许可证
MIT
版本
0.3.5
星标
890
最后更新
2026年5月20日