Fonoster MCP Server

Official

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • A Discord server is available for community support and discussions around the Fonoster platform.

  • Provides Docker-based deployment option for running the MCP server, with environment variable configuration for authentication.

  • References GitHub as the home of the Fonoster open-source project where users can find more information.

Fonoster MCP 服务器

用于 Fonoster API 的 MCP 服务器,使 MCP 客户端能够与 Fonoster 的电话服务进行交互。该模块是Fonoster开源项目的一部分。如需了解更多关于该项目的信息,请访问https://github.com/fonoster/fonoster

工具

  1. list_numbers
    • 以表格形式(使用 markdown)返回来自 Fonoster 的数字列表
    • 可选输入:
      • page_size (数字):要返回的最大数字数量
      • page_token (字符串):下一页的分页令牌
    • 返回:包含参考号、名称和 telUrl 的数字列表
  2. list_applications
    • 以表格形式列出 Fonoster 的应用程序(使用 markdown)
    • 可选输入:
      • page_size (数字):要返回的最大应用程序数量
      • page_token (字符串):下一页的分页令牌
    • 返回:应用程序列表及其引用、名称、端点、创建日期、更新日期和类型
  3. create_call
    • 从 Fonoster 发起呼叫
    • 必需输入:
      • from (字符串):要拨打的号码
      • to (字符串):要呼叫的号码
      • app_ref (字符串):用于调用的应用程序的引用
      • metadata (对象):要发送给应用程序的元数据
    • 返回:带有参考 ID 的呼叫创建确认
  4. create_call_batch
    • 从 Fonoster 创建一批呼叫
    • 必需输入:
      • from (字符串):要拨打的号码
      • to_array (数组):要呼叫的号码
      • app_ref (字符串):用于调用的应用程序的引用
      • metadata (对象):要发送给应用程序的元数据
    • 返回:带有参考 ID 的批次创建确认

提示

  1. create_call_prompt
    • 逐步提示如何创建通话
    • 指导 MCP 客户完成以下流程:
      • 如果用户尚未提供电话号码,则要求用户提供要拨打的号码
      • 使用list_numbers工具提供可用号码列表
      • 询问应用程序名称并查找其引用
      • 根据用户请求使用create_callcreate_call_batch工具创建呼叫

设置

与 Claude Desktop 一起使用

将以下内容添加到您的claude_desktop_config.json中:

如果您已登录到命令行工具,只需运行fonoster mcp:configure --client claude即可配置服务器。

NPX

{ "mcpServers": { "fonoster": { "command": "npx", "args": [ "-y", "@fonoster/mcp" ], "env": { "WORKSPACE_ACCESS_KEY_ID": "your-workspace-access-key-id", "APIKEY_ACCESS_KEY_ID": "your-apikey-access-key-id", "APIKEY_ACCESS_KEY_SECRET": "your-apikey-access-key-secret" } } } }

码头工人

{ "mcpServers": { "fonoster": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "WORKSPACE_ACCESS_KEY_ID", "-e", "APIKEY_ACCESS_KEY_ID", "-e", "APIKEY_ACCESS_KEY_SECRET", "fonoster/mcp" ], "env": { "WORKSPACE_ACCESS_KEY_ID": "your-workspace-access-key-id", "APIKEY_ACCESS_KEY_ID": "your-apikey-access-key-id", "APIKEY_ACCESS_KEY_SECRET": "your-apikey-access-key-secret" } } } }

使用 MCP 检查器进行测试

WORKSPACE_ACCESS_KEY_ID="your-workspace-access-key-id" \ APIKEY_ACCESS_KEY_ID="your-apikey-access-key-id" \ APIKEY_ACCESS_KEY_SECRET="your-apikey-access-key_secret" \ npx @modelcontextprotocol/inspector \ node /path/to/fonoster/mods/mcp/dist/index.js

故障排除

如果遇到身份验证错误,请验证:

  1. 您的 Fonoster 凭证正确
  2. 环境变量已正确设置
  3. 您拥有访问 Fonoster API 所需的权限

建造

Docker 构建:

docker build -t fonoster/mcp -f Dockerfile .
-
security - not tested
A
license - permissive license
-
quality - not tested

MCP 服务器列出应用程序和电话号码,并通过 Fonoster 发起外拨电话。

  1. Tools
    1. Prompts
      1. Setup
        1. Usage with Claude Desktop
        2. Testing with the MCP Inspector
        3. Troubleshooting
      2. Build
        ID: 7oxzwr19l7