Vonage API MCP服务器
可用工具
此MCP服务器通过以下工具提供对各种Vonage API功能的访问:
| 类别 | 工具名称 | 描述 |
|---|---|---|
| 账户管理 | balance | 获取您的Vonage账户余额 |
list-applications | 列出附加到API密钥的所有应用程序及其配置和功能 | |
create-application | 使用指定名称创建新的Vonage应用程序 | |
list-purchased-numbers | 列出与您的帐户关联的电话号码及其元数据 | |
| 数字管理 | search-available-numbers | 搜索特定国家/地区可从Vonage购买的电话号码 |
link-number-to-vonage-application | 将拥有的号码链接到特定的Vonage应用程序 | |
| 报告 | get-records-report | 从Vonage Reports API检索活动记录(基于日期或基于ID的查询) |
| 信息与通信 | SMS | 使用Vonage发送短信 |
whatsapp-send-text | 通过WhatsApp发送短信 | |
whatsapp-send-text-with-sms-failover | 发送带有自动短信故障转移功能的WhatsApp短信 | |
rcs-send-text | 通过RCS发送短信 | |
rcs-send-text-with-sms-failover | 发送带有自动短信故障转移功能的RCS短信 | |
outbound-voice-message | 使用Vonage发送出站语音信息 | |
| 数据可视化 | make-chart | 根据检索到的数据创建图表 |
用法示例
检查账户余额
Can you check my Vonage account balance?列出您的电话号码
Can you list out the numbers that I own for Vonage?搜索可购买的号码
Can you search for available Vonage numbers to purchase in the US?或者使用特定条件进行搜索:
Can you search for available Vonage numbers in the US with SMS and VOICE features?Can you search for available numbers in GB starting with pattern "44207*"?列出应用程序
Can you list out the applications on my account?创建新应用
Can you create a new Vonage application called "My Chat App"?或者让系统建议一个名称:
Can you create a new Vonage application?获取记录报告
按日期范围查询:
Can you get a report of all outbound SMS sent over the last week?按特定ID查询:
Can you get the report for Voice Call ID 1234-abcd-5678-efgh?发送短信
Can you send an SMS to +1234567890 with the message "Hello from Vonage!"?发送WhatsApp消息
Can you send a WhatsApp message to +1234567890 with the message "Hello from Vonage over WhatsApp!"?通过短信故障切换发送WhatsApp消息
Can you send a WhatsApp message with SMS failover to +1234567890 saying "Hello from Vonage with failover!"?发送RCS消息
Can you send an RCS message to +1234567890 with the message "Hello from Vonage via RCS!"?发送带有SMS故障切换的RCS消息
Can you send an RCS message with SMS failover to +1234567890 saying "Hello from Vonage RCS with fallback!"?生成图表
Please create a chart showing all the outbound SMS sent over the last week.设置MCP服务器
MCP服务器的详细信息应该如下。
"vonage-mcp-server-api-bindings": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@vonage/vonage-mcp-server-api-bindings"
],
"env": {
"VONAGE_APPLICATION_ID": "",
"VONAGE_PRIVATE_KEY64": "",
"VONAGE_API_KEY": "",
"VONAGE_API_SECRET": "",
"VONAGE_VIRTUAL_NUMBER": "",
"VONAGE_WHATSAPP_NUMBER": "",
"RCS_SENDER_ID": ""
}
}现在,我们只使用base64编码的私钥。我创建了一个工具,可以转换 将私钥文件转换为可以复制和粘贴的编码字符串。一切都在你的 浏览器,没有信息发送到任何地方: https://mylight.work/private-key-to-environment-variable

