Twilio Messaging MCP Server
镜子 (jìng zi)
MCP-Mirror
README
Twilio Messaging MCP 服务器
一个 MCP (模型上下文协议) 服务器,可以通过 Twilio API 发送 SMS 消息。
功能
- 通过 Twilio 发送 SMS 消息
- 与 Claude Desktop 等 MCP 客户端集成
- 安全的凭据处理,无需环境变量
- 使用 Twilio API 密钥以提高安全性
安装
您可以直接通过 npx 使用此服务器:
npx twilio-messaging-mcp-server <accountSid> <apiKey> <apiSecret> <number>
或者全局安装它:
npm install -g twilio-messaging-mcp-server
twilio-messaging-mcp-server <accountSid> <apiKey> <apiSecret> <number>
配置
服务器需要以下参数:
accountSid
: 您的 Twilio Account SID (必须以 'AC' 开头,将会被验证)apiKey
: 您的 Twilio API Key (以 'SK' 开头)apiSecret
: 您的 Twilio API Secretnumber
: 用于发送消息的 Twilio 电话号码 (采用 E.164 格式,例如,+1234567890)
安全提示
此服务器使用 API 密钥和 Secret 而不是 Auth Tokens,以提高安全性。 这种方法提供了更好的访问控制,并且能够在需要时撤销凭据。 有关更多信息,请参阅 Twilio API 密钥文档。
与 Claude Desktop 一起使用
本地开发
对于本地开发(当软件包未发布到 npm 时),将以下内容添加到您的 Claude Desktop 配置文件中(macOS 上为 ~/Library/Application Support/Claude/claude_desktop_config.json
,Windows 上为 %APPDATA%\Claude\claude_desktop_config.json
):
{
"mcpServers": {
"twilio-messaging": {
"command": "node",
"args": [
"/PATHTONODE/twilio-messaging-mcp-server/build/index.js",
"your_account_sid_here",
"your_api_key_here",
"your_api_secret_here",
"+1234567890"
]
}
}
}
用您实际的 Twilio 凭据替换这些值:
- 第一个参数:您的 Twilio Account SID (以 "AC" 开头)
- 第二个参数:您的 Twilio API Key (以 "SK" 开头)
- 第三个参数:您的 Twilio API Secret
- 第四个参数:您的 Twilio 电话号码,采用 E.164 格式
您可以通过在项目目录中运行以下命令来获取绝对路径:
# On macOS/Linux
echo "$(pwd)/build/index.js"
# On Windows (PowerShell)
Write-Output "$((Get-Location).Path)\build\index.js"
发布到 npm 后
将软件包发布到 npm 后,您可以使用以下配置:
{
"mcpServers": {
"twilio-messaging": {
"command": "npx",
"args": [
"-y",
"twilio-messaging-mcp-server",
"your_account_sid_here",
"your_api_key_here",
"your_api_secret_here",
"+1234567890"
]
}
}
}
可用工具
send-sms
通过 Twilio 发送 SMS 消息。
参数:
to
: 目标电话号码,采用 E.164 格式 (例如,+1234567890)message
: 要发送的消息内容
在 Claude 中的使用示例:
Can you send an SMS to +1234567890 saying "Hello from MCP!"
开发
要构建项目:
npm install
npm run build
手动运行服务器
要手动启动服务器进行测试(在 Claude Desktop 之外):
# 使用实际凭据运行
node build/index.js "your_account_sid_here" "your_api_key_here" "your_api_secret" "+1234567890"
# 或者使用 npm 脚本(它使用 ts-node 进行开发)
npm run dev -- "your_account_sid_here" "your_api_key_here" "your_api_secret" "+1234567890"
服务器将启动并等待 MCP 客户端连接。 您应该看到如下输出:
[TwilioMessagingServer] Server started successfully
与 Claude Desktop 一起使用时,Claude 加载配置文件时会自动启动服务器。 您无需手动启动它。
许可证
MIT
推荐服务器
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Apple MCP Server
通过 MCP 协议与 Apple 应用(如“信息”、“备忘录”和“通讯录”)进行交互,从而使用自然语言发送消息、搜索和打开应用内容。
MCP Server Trello
通过 Trello API 促进与 Trello 看板的交互,提供速率限制、类型安全、输入验证和错误处理等功能,以实现对卡片、列表和看板活动的无缝管理。
@kazuph/mcp-gmail-gas
用于 Gmail 集成的模型上下文协议 (Model Context Protocol, MCP) 服务器。它允许 Claude Desktop(或任何 MCP 客户端)通过 Google Apps Script 与您的 Gmail 帐户进行交互。

Linear MCP Server
一个模型上下文协议(Model Context Protocol)服务器,它与 Linear 的问题跟踪系统集成,允许大型语言模型(LLM)通过自然语言交互来创建、更新、搜索和评论 Linear 问题。
Composio MCP Server
一个服务器实现,提供与 MCP 兼容的 Composio 应用(如 Gmail 和 Linear)的访问,允许通过结构化的接口与语言模型进行交互。

Folderr
一个模型上下文协议 (MCP) 服务器,它提供与 Folderr API 交互的工具,专门用于管理 Folderr 助手并与之通信。

mcp-google
一个专门的模型上下文协议(MCP)服务器,它将 Google 服务(Gmail、日历等)集成到您的 AI 工作流程中。该服务器通过 MCP 实现对 Google 服务的无缝访问,从而允许 AI 代理与 Gmail、Google 日历和其他 Google 服务进行交互。
MCP-JIRA-Python Server
一个基于 Python 的服务器,允许与 JIRA 无缝集成,通过自定义 API 管理和交互项目。
Email sending MCP 💌
使用此电子邮件发送 MCP 服务器,直接从 Cursor 发送电子邮件