Integrations
Used for managing Twilio credentials and environment variables required for authentication with the Twilio API.
Enables direct interaction with Twilio's API for subaccount management, phone number control, regulatory compliance handling, and address management for compliance requirements.
Twilio 管理器 MCP
用于管理 Twilio 资源的模型上下文协议 (MCP) 实现。此软件包提供了通过标准化 MCP 接口管理 Twilio 子账户、电话号码和监管捆绑包的工具。
特征
- 列出 Twilio 子账户
- 获取与子账户关联的电话号码
- 在子账户之间转移电话号码
- 获取监管软件包 SID
- 支持直接通信和服务器发送事件 (SSE) 通信
- 与 Claude Desktop、Cursor 和其他 MCP 兼容工具集成
安装
先决条件
安装 uv
在 macOS 上:
在 Windows 上:
在 Linux 上:
项目设置
- 克隆存储库:
- 使用 uv 安装依赖项:
配置
- 使用您的 Twilio 凭据在根目录中创建一个
.env
文件:
- 通过创建
.cursor/mcp.json
文件为您的工具(Cursor、Claude Desktop 等)配置 MCP:
Docker
您可以使用 Docker 运行 Twilio Manager MCP,以便更轻松地部署和管理。
使用 Docker Compose
该项目包括一个 Docker Compose 配置,用于设置:
- Twilio Manager MCP 服务
- 具有自动 HTTPS 的 Traefik 反向代理
- 在
.env
文件中配置环境变量:
- 启动服务:
该应用程序将在启用 HTTPS 的配置域中可用。
不使用 Docker Compose 来使用 Docker
如果您只想运行 Twilio Manager MCP 容器而不运行 Traefik:
- 构建 Docker 镜像:
- 运行容器:
SSE 端点将在http://localhost:8000/sse
上可用。
用法
使用 Cursor、Claude Desktop 或其他 MCP 兼容工具
您有三种选择来使用此 MCP:
- 直接 UVX 集成(推荐):
- 使用
twilio_manager_mcp_uvx
配置 - 这是最简单的方法,可以直接使用 uvx
- 使用
- 直接紫外线集成:
- 使用
twilio_manager_mcp_abs
配置 - 需要指定安装的完整路径
- 使用
- SSE 服务器:
- 使用
twilio_manager_mcp_sse
配置 - 首先启动SSE服务器:Copy
- 使用
可用工具
工具名称 | 描述 |
---|---|
list_twilio_subaccounts | 列出所有 Twilio 子账户 |
get_account_phone_numbers | 获取特定子账户的电话号码 |
get_all_phone_numbers | 在子账户之间转移电话号码 |
get_regulatory_bundle_sid | 获取子账户的监管捆绑包 SID |
Cursor/Claude Desktop 中的示例用法
配置完成后,您可以直接在 AI 助手对话中使用这些工具:
- 列出所有子账户:
- 获取子账户的电话号码:
直接使用 Python
对于直接编程使用:
项目结构
发展
对于开发,您可以使用uv的虚拟环境管理:
贡献
欢迎贡献代码!欢迎提交 Pull 请求。
执照
MIT 许可证
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
通过模型上下文协议将 Claude AI 连接到 Twilio 的服务器,实现对 Twilio 帐户、电话号码和法规遵从性的及时辅助管理。
Related MCP Servers
- -securityFlicense-qualityAn MCP (Model Context Protocol) server that lets users send SMS messages through Twilio API directly from Claude Desktop via natural language commands.Last updated -1TypeScript
- -securityAlicense-qualityA Model Context Protocol server that enables AI models and applications to interact directly with Twitter/X, providing capabilities to create posts, reply to tweets, retrieve user data, and manage account actions.Last updated -874TypeScriptMIT License
- -security-license-qualityA Model Context Protocol server that enables Claude and other AI assistants to send SMS and MMS messages using Twilio.Last updated -5JavaScriptMIT License
- -securityAlicense-qualityAn MCP server that enables secure, PCI-compliant payment processing during voice calls via Twilio API, providing asynchronous callbacks and guided workflow for agent-assisted payments.Last updated -2TypeScriptMIT License