跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 Plivo,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
让你的 AI 使用 Plivo:查看余额和价格,发送短信和彩信,拨打电话并读取通话记录,结束进行中的通话,列出录音和转写,查找和查询电话号码,并通过 Verify 发送和校验一次性验证码。
试试这样问
Plivo 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Plivo、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
Plivo + ChatGPT
让你的 AI 使用 Plivo:查看余额和价格,发送短信和彩信,拨打电话并读取通话记录,结束进行中的通话,列出录音和转写,查找和查询电话号码,并通过 Verify 发送和校验一次性验证码。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
PLIVO_AUTH_ID, PLIVO_AUTH_TOKEN
步骤 1 — 获取凭证
- 登录 Plivo 控制台:
https://cx.plivo.com。 - 在概览页面复制 Auth ID(以
MA开头,子账户以SA开头)和 Auth Token。使用子账户(Account → Subaccounts)可以限制连接器能访问的范围。 - 把它们分别粘贴到
PLIVO_AUTH_ID和PLIVO_AUTH_TOKEN,然后安装连接器。 - 用
plivo_get_account检查设置:它会显示账户、计费方式和剩余余额。
试用账户可以用来读取数据;发送和拨打需要账户有余额,试用账户还需要已验证的号码。
谁能看到什么:Auth Token 代表整个 Plivo 账户,可以动用账户余额。请只把 MCP 服务器分享给可以用这个账户花钱的人。消息日志、通话记录、电话号码、录音和转写都是个人数据,任何拿到录音链接的人都能播放。
会产生费用并触达真实的人,所以 AI 会先问你:Plivo 对 plivo_send_message(短信和彩信,按消息分段和收件人计费)、plivo_make_call(按分钟)和 plivo_send_verification(按次验证,另加短信或通话费用)收费。每次调用前,AI 都会给你看发送方、收件人和内容,如果你需要,还会附上 plivo_get_pricing 查到的价格,并等你同意。plivo_lookup_number 按次查询收费,所以在查询较多号码前,AI 会先告诉你数量和费用。
安装时默认关闭:plivo_buy_number 会租用号码,收取开通费和月租,直到号码被释放;用 plivo_search_available_numbers 搜索号码是免费的。plivo_hangup_call 也默认关闭:它会切断进行中的通话,而且如果缺少通话 ID,Plivo 会结束账户上所有进行中的通话。管理员需要有意识地开启它们;开启后,AI 会先给你看号码及其费用,或者通话的号码和开始时间,在你确认后才执行。
短信:plivo_send_message 返回 message_uuid;plivo_get_message 显示送达状态、计费分段数和价格,plivo_list_messages 用来查看收发情况(不含消息正文)。美国或加拿大的发送方必须完成 10DLC 或免费号码(toll-free)短信注册,否则消息会发送失败。
拨打电话需要 answer URL:plivo_make_call 呼叫对方号码,接通后会请求你的 answer_url,该地址必须返回你服务器上托管的 Plivo XML(例如 <Response><Speak>你好</Speak></Response>)。设置 time_limit 可以控制费用。进行中的通话:plivo_list_live_calls 和 plivo_get_live_call。已结束的通话:plivo_list_calls 和 plivo_get_call,包含时长、计费时长、价格和挂断原因。录音:plivo_list_recordings、plivo_get_recording,如果为录音订购了转写(Plivo 的付费选项),还可以用 plivo_get_transcription。
Verify:plivo_send_verification 通过短信或语音电话发送一次性验证码,plivo_validate_verification 校验对方输入的验证码(每次尝试都会计入尝试次数上限),plivo_get_verification 显示状态和费用。
号码和时间:发送号码请使用 E.164 格式(+8613812345678);Plivo 列表中显示的号码不带加号。时间筛选使用 UTC,格式为 YYYY-MM-DD HH:MM:SS。如果不指定时间范围,通话和录音搜索覆盖最近 7 天,每次搜索最多 30 天。
速率限制:每个账户每 5 秒 300 个请求;外呼还有每秒呼叫数和并发通话数的限制(403 Concurrency Limit Breached)。返回 429 时请稍候重试。
常见错误:401:Auth ID 或 Auth Token 错误,或 token 已重新生成。403:子账户没有访问权限,或 API access control 中设置了 IP 限制。404:此账户下没有该消息、通话、录音或号码。400:缺少参数或参数格式错误,例如号码格式不对,或发送方号码不属于该账户。因余额不足导致发送或拨打失败:用 plivo_get_account 查看余额,并在控制台充值。
该连接器不涉及 WhatsApp 模板、电话会议和多方通话、通话转接和录音控制、applications 和 endpoints、子账户、合规文件以及释放号码。
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 ChatGPT 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
ChatGPT 在网页版的 Plugins 页面把 MCP 服务器添加为插件,仅付费套餐可用,不再需要开发者模式。在 Business 工作区中只有管理员和所有者可以添加;在 Enterprise 和 Edu 中,管理员可以授予 Create plugins with MCPs 权限。
- 前往 chatgpt.com/plugins,点击 +,然后选择 Add custom MCP server。
- 填写名称,例如 Name:
Plivo。 - 在 Connection 下的 Server URL 中填入
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID,Authentication 保持为 OAuth。 - 选择 I understand and want to continue,然后点击 Create as a plugin。ChatGPT 提示时,登录 AnythingMCP 并允许访问。
- 在个人插件中安装这个新插件,然后在对话中输入 @ 并选择它。
可用工具
| Tool | What it does |
|---|---|
plivo_get_account | Read the Plivo account: name, account type, billing mode (prepaid or postpaid), remaining cash credits, auto recharge, time zone and the… |
plivo_get_pricing | Read Plivo's prices for one country: outbound and inbound SMS per message, voice per minute (local, toll-free, SIP and per prefix) and… |
plivo_send_message | Send an SMS or MMS from a Plivo number or sender id |
plivo_get_message | Read one message by message_uuid: state (queued, sent, delivered, undelivered, failed, received, read), direction, numbers, time sent… |
plivo_list_messages | List SMS, MMS and WhatsApp messages of the account, newest first, with state, direction, numbers, times, billed parts, price and errors (no… |
plivo_make_call | Place an outbound phone call |
plivo_list_calls | List ended calls (call detail records) of the last 7 days unless ended_after or ended_before is set (at most 30 days per search, 90 days… |
plivo_get_call | Read one ended call by call_uuid: direction, numbers, times, duration, billed duration, rate and total price, hangup cause and source |
plivo_list_live_calls | List the calls running right now on the account, as a list of call_uuid values |
plivo_get_live_call | Read a call that is running right now: call_status (ringing, in-progress), direction, from, to, caller name and session start |
plivo_hangup_call | End one running call at once (it cuts off the people on the line) |
plivo_list_recordings | List call and conference recordings of the last 7 days unless a time range is set (at most 30 days per search): recording_id, call_uuid… |
plivo_get_recording | Read one recording by recording_id: call_uuid, format, duration, start and end, storage cost and recording_url (playable by anyone with the… |
plivo_get_transcription | Read the transcription of a recording, if one was created (transcription is a paid Plivo option set on the recording): status, the text… |
plivo_list_numbers | List the phone numbers rented on this account: number, alias, type, country, region, voice, SMS and MMS capability, linked application… |
plivo_get_number | Read one rented number: alias, type, capabilities, linked application, monthly rent, renewal date and compliance status |
plivo_search_available_numbers | Search numbers that can be rented in a country (free, nothing is bought): number, type, region or city, capabilities, monthly rent, setup… |
plivo_buy_number | Rent a number found with plivo_search_available_numbers |
plivo_lookup_number | Look up a phone number: whether it is valid, its country, formats, carrier name, line type (mobile, fixed, voip, toll-free) and whether it… |
plivo_send_verification | Send a one-time code to a phone number by SMS or voice call with Plivo Verify and start a verification session |
plivo_validate_verification | Check the one-time code a person entered against a Verify session |
plivo_get_verification | Read a Verify session: recipient, channel, status (in-progress, verified, expired), the delivery attempts and the charges |
示例提示
- “我们的 Plivo 余额是多少?发一条短信到中国大陆要多少钱?”
- “用我们的 Plivo 号码给 +8613812345678 发短信,确认周五上午 10 点的预约。发送前先给我看发送方、收件人、内容和价格。”
- “昨天哪些消息没有送达或发送失败?列出错误代码和费用。”
- “列出最近 7 天内超过五分钟的通话,包含计费时长、价格和挂断原因。”
- “通过短信给 +8613812345678 发送验证码,发送前先问我。然后校验客户念给我的验证码。”
FAQ
ChatGPT 免费套餐能用自定义 MCP 服务器吗? OpenAI 只为付费套餐提供自定义 MCP 服务器的说明,Free 套餐不在其列。
下一步
这份指南对你有帮助吗?