R

RetellAI MCP 服务器

@abhaybabbar/retellai-mcp-server
Hosted
0 Stars 440 次浏览 abhaybabbar 更新于 2026-08-23

一种模型上下文协议服务器的实现,使人工智能助手能够与RetellAI的语音服务进行交互,以管理呼叫、座席、电话号码和语音选项。

MCP 服务配置

复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用

{
  "mcpServers": {
    "retellai-mcp-server": {
      "args": [
        "-y",
        "@abhaybabbar/retellai-mcp-server"
      ],
      "command": "npx",
      "env": {
        "RETELL_API_KEY": "\u003cyour_retellai_token\u003e"
      }
    }
  }
}

该服务需要配置环境变量:RETELL_API_KEY

可用工具 (24 个)

该服务在 MCP 协议中暴露的工具,AI 可按需调用

create_phone_call

Creates a new phone call

该工具无需必填参数,直接调用即可

create_web_call

Creates a new web call

该工具无需必填参数,直接调用即可

get_call

Gets a call by ID

该工具无需必填参数,直接调用即可

list_calls

Lists all calls

该工具无需必填参数,直接调用即可

update_call

Updates an existing call

该工具无需必填参数,直接调用即可

delete_call

Deletes a call

该工具无需必填参数,直接调用即可

list_agents

Lists all Retell agents

该工具无需必填参数,直接调用即可

create_agent

Creates a new Retell agent

该工具无需必填参数,直接调用即可

get_agent

Gets a Retell agent by ID

该工具无需必填参数,直接调用即可

update_agent

Updates an existing Retell agent

该工具无需必填参数,直接调用即可

delete_agent

Deletes a Retell agent

该工具无需必填参数,直接调用即可

get_agent_versions

Gets all versions of a Retell agent

该工具无需必填参数,直接调用即可

list_phone_numbers

Lists all Retell phone numbers

该工具无需必填参数,直接调用即可

create_phone_number

Creates a new phone number

该工具无需必填参数,直接调用即可

get_phone_number

Gets details of a specific phone number

该工具无需必填参数,直接调用即可

update_phone_number

Updates a phone number

该工具无需必填参数,直接调用即可

delete_phone_number

Deletes a phone number

该工具无需必填参数,直接调用即可

list_voices

Lists all available Retell voices

该工具无需必填参数,直接调用即可

get_voice

Gets details of a specific voice

该工具无需必填参数,直接调用即可

list_retell_llms

Lists all Retell LLMs

该工具无需必填参数,直接调用即可

create_retell_llm

Creates a new Retell LLM

该工具无需必填参数,直接调用即可

get_retell_llm

Gets a Retell LLM by ID

该工具无需必填参数,直接调用即可

update_retell_llm

Updates an existing Retell LLM

该工具无需必填参数,直接调用即可

delete_retell_llm

Deletes a Retell LLM

该工具无需必填参数,直接调用即可

服务介绍

RetellAI MCP 服务器

这是一个为 RetellAI 实现的模型上下文协议(MCP)服务器,允许 AI 助手与 RetellAI 的语音服务进行交互。

功能

RetellAI MCP 服务器提供了以下工具:

  • 呼叫管理:创建和管理电话呼叫和网络呼叫
  • 代理管理:使用不同的 LLM 配置创建和管理语音代理
  • 电话号码管理:提供和配置电话号码
  • 语音管理:访问和使用不同的语音选项

Claude 桌面设置

  1. 打开 Claude Desktop 并按 CMD + , 进入 设置
  2. 点击 开发者 标签页。
  3. 点击 编辑配置 按钮。
  4. 这将打开文件浏览器中的 claude_desktop_config.json 文件。
  5. 从 Retell 仪表板获取您的 Retell API 密钥 (https://dashboard.retellai.com/apiKey)。
  6. 将以下内容添加到您的 claude_desktop_config.json 文件中。更多详情请参见 这里
  7. 编辑配置文件后重启 Claude Desktop。

json
{
"mcpServers": {
"retellai-mcp-server": {
"command": "npx",
"args": ["-y", "@abhaybabbar/retellai-mcp-server"],
"env": {
"RETELL_API_KEY": "<your_retellai_token>"
}
}
}
}

示例用例:

  1. 列出我在 RetellAI 中的所有电话号码
  2. 列出我所有的代理
  3. 告诉我更多关于披萨配送代理的信息
  4. 创建代理并进行呼叫示例:
    1. 创建一个代理,该代理会拨打我的本地披萨店电话,确保对话简短且切题。
    2. 订购一份玛格丽塔披萨
    3. 支付方式为货到付款
    4. 发送到 <地址>
    5. 代理应假装是我。我的名字是 <你的名字>
    6. 使用美国号码拨打我的本地披萨店电话 <电话号码>

仓库设置

  1. 安装依赖项:

    bash
    npm i

  2. 创建一个包含您的 RetellAI API 密钥的 .env 文件:

    RETELL_API_KEY=your_api_key_here

  3. 运行服务器:
    bash
    node src/retell/index.js

可用工具

呼叫工具

  • list_calls: 列出所有 Retell 呼叫
  • create_phone_call: 创建一个新的电话呼叫
  • create_web_call: 创建一个新的网络呼叫
  • get_call: 获取特定呼叫的详细信息
  • delete_call: 删除特定呼叫

代理工具

  • list_agents: 列出所有 Retell 代理
  • create_agent: 创建一个新的 Retell 代理
  • get_agent: 通过 ID 获取 Retell 代理
  • update_agent: 更新现有的 Retell 代理
  • delete_agent: 删除 Retell 代理
  • get_agent_versions: 获取 Retell 代理的所有版本

电话号码工具

  • list_phone_numbers: 列出所有 Retell 电话号码
  • create_phone_number: 创建一个新的电话号码
  • get_phone_number: 获取特定电话号码的详细信息
  • update_phone_number: 更新电话号码
  • delete_phone_number: 删除电话号码

语音工具

  • list_voices: 列出所有可用的 Retell 语音
  • get_voice: 获取特定语音的详细信息

许可证

MIT

相关 MCP 服务