R

RetellAI MCP 服务器

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

speech-processingcommunicationagent-orchestration

425 查看 · 2026-07-07 更新

简介

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

简介

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

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

工具列表

  • 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

服务配置

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

来源