PolarHub
  • Agents
  • MCP Servers
  • Skills
  • PolarBear
PolarHub © 2026
MCP Serversspeech-processingmcp-s2s-asterisk
返回「speech-processing」

mcp-s2s-asterisk

modelscope·@gcorroto/mcp-s2s-asterisk

speech-processing0下载LocalModelScope

简介

暂无描述。

MCP Server 详情

来自 ModelScope 索引

Asterisk S2S MCP Server

<div align="center">

Node.js TypeScript MCP License NPM

** MCP Server for automated conversational phone calls using Asterisk with Speech-to-Speech**

Make phone conversations as easy as a prompt!

</div>

System Architecture

graph TB
    subgraph "MCP Client"
        A[Claude Desktop] --> B[MCP Client]
    end
    
    subgraph "MCP Server"
        B --> C[Asterisk S2S MCP]
        C --> D[Phone Tools]
        C --> E[Real-time Assistant]
    end
    
    subgraph "Backend Services"
        D --> F[Asterisk Server]
        E --> G[Speech-to-Speech API]
        F --> H[Phone Network]
    end
    
    subgraph "Monitoring"
        C --> I[Health Check]
        C --> J[Metrics & Logs]
        C --> K[Call History]
    end
    
    style A fill:#e1f5fe
    style C fill:#f3e5f5
    style F fill:#fff3e0
    style G fill:#e8f5e8

Phone Call Flow

sequenceDiagram
    participant U as User
    participant C as Claude/MCP
    participant S as MCP Server
    participant A as Asterisk API
    participant P as Phone
    
    U->>C: "Call John to remind about appointment"
    C->>S: phone_make_call()
    S->>A: POST /make-call
    A->>P: Initiate call
    P-->>A: Connection established
    A-->>S: CallID + Status
    S-->>C: Call initiated 
    C-->>U: " Call started with John"
    
    Note over A,P: Real-time S2S conversation
    
    A->>S: Callback with result
    S->>S: Process transcript
    U->>C: "How did the call go?"
    C->>S: phone_get_last_result()
    S-->>C: Detailed result
    C-->>U: " John confirmed the appointment"

MCP Components

mindmap
  root((Asterisk S2S MCP))
    Core Tools
      phone_make_call
      phone_get_status
      phone_cancel_call
    Monitoring
      phone_health_check
      phone_get_metrics
      phone_get_logs
    History
      phone_get_conversation_history
      phone_get_active_calls
      phone_get_last_result
    Configuration
      Environment Variables
      MCP Client Config
      Asterisk Integration

Installation & Usage

Option 1: NPX (Recommended)

# One command and you're ready! 
npx @grec0/mcp-s2s-asterisk@latest

Option 2: Global Installation

npm install -g @grec0/mcp-s2s-asterisk
mcp-s2s-asterisk

Step-by-Step Configuration

flowchart LR
    A[1. Install MCP] --> B[2. Configure Variables]
    B --> C[3. Configure MCP Client]
    C --> D[4. Ready to use! ]
    
    style A fill:#ffcdd2
    style B fill:#fff3e0
    style C fill:#e8f5e8
    style D fill:#e1f5fe

Environment Variables

#  Asterisk API URL
export PHONE_API_URL="http://192.168.4.44:8000"

#  Authentication key
export PHONE_API_KEY="api-key"

#  Callback URL for results
export MCP_CALLBACK_URL="http://localhost:3000"

MCP Client Configuration

{
  "mcpServers": {
    "asterisk-s2s": {
      "command": "npx",
      "args": ["@grec0/mcp-s2s-asterisk@latest"],
      "env": {
        "PHONE_API_URL": "http://192.168.4.44:8000",
        "PHONE_API_KEY": "api-key",
        "MCP_CALLBACK_URL": "http://localhost:3000"
      }
    }
  }
}

Available Tools

<table> <tr> <td width="50%">

Calls

  • phone_make_call - Make phone calls
  • phone_get_status - Get call status
  • phone_cancel_call - Cancel calls
  • phone_get_active_calls - Active calls
</td> <td width="50%">

Monitoring

  • phone_health_check - System health
  • phone_get_metrics - Advanced metrics
  • phone_get_logs - Detailed logs
  • phone_get_conversation_history - History
</td> </tr> </table>

Use Cases

graph LR
    subgraph "Automation"
        A[Appointment<br/>Reminders] 
        B[Booking<br/>Confirmations]
        C[Automated<br/>Surveys]
    end
    
    subgraph "Support"
        D[Customer<br/>Service]
        E[Ticket<br/>Follow-up]
        F[Data<br/>Verification]
    end
    
    subgraph "Sales"
        G[Automated<br/>Prospecting]
        H[Lead<br/>Follow-up]
        I[Customer<br/>Qualification]
    end
    
    style A fill:#ffcdd2
    style B fill:#f8bbd9
    style C fill:#e1bee7
    style D fill:#c5cae9
    style E fill:#bbdefb
    style F fill:#b3e5fc
    style G fill:#b2dfdb
    style H fill:#c8e6c9
    style I fill:#dcedc8

Call States

stateDiagram-v2
    [*] --> Starting
    Starting --> Connecting: API Request
    Connecting --> Speaking: Connection OK
    Connecting --> Failed: No answer
    Speaking --> Completed: Conversation OK
    Speaking --> Cancelled: User Cancel
    Completed --> [*]
    Failed --> [*]
    Cancelled --> [*]
    
    note right of Speaking : Real-time<br/>Speech-to-Speech
    note right of Completed : Result processed<br/>and saved

Complete Usage Example

Scenario: Medical Appointment Confirmation

// 1 User tells Claude:
"Call Mara Gonzlez at 555-0123 to confirm her appointment tomorrow at 3pm"

// 2 Claude automatically uses:
phone_make_call({
  usuario: "Mara Gonzlez",
  telefono: "555-0123", 
  proposito: "Confirm medical appointment for tomorrow 3pm",
  timeout: 60
})

// 3 Automatic result:
" Call completed. Mara confirmed her appointment for tomorrow at 3pm. 
She also asked to change the time to 2:30pm if possible."

Monitoring Dashboard

pie title Call Distribution by Status
    "Completed" : 65
    "In Progress" : 15
    "Failed" : 12
    "Cancelled" : 8
xychart-beta
    title "Daily Calls (Last Week)"
    x-axis [Mon, Tue, Wed, Thu, Fri, Sat, Sun]
    y-axis "Number of Calls" 0 --> 50
    bar [23, 34, 28, 41, 38, 15, 8]

Local Dev…

相关 MCP Servers(来自「speech-processing」)

Claude实时语音服

一种模型上下文协议服务器,使像 Claude 这样的人工智能助手能够通过 Twilio 和 OpenAI 的语音模型发起和管理实时语音通话。

@popcornspace/voice-call-mcp-server

ClickSend消息语音平台

该服务器允许人工智能模型通过 ClickSend 的 API 以编程方式发送短信和发起文本转语音电话呼叫,并具有内置的速率限制和输入验证功能。

@J-Gal02/clicksend-mcp

MCP模拟面试

一种专用的模型上下文协议(MCP)服务器,它能够提供由人工智能驱动的面试角色扮演场景,用于练习,并给予逼真的对话反馈。

@Ejb503/systemprompt-mcp-interview

RetellAI MCP 服务器

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

@abhaybabbar/retellai-mcp-server

SystemPrompt-MCP 邮件管理工具

通过MCP协议使用AI代理辅助操作, enables用户管理Gmail账户,支持通过语音界面进行电子邮件的搜索、阅读、删除和发送。

@Ejb503/systemprompt-mcp-gmail

TranscriptionTools 智能转录工具

为克劳德提供智能转录处理功能,具备自然格式化、上下文修复和由深度思维大语言模型驱动的智能总结功能。

@MushroomFleet/TranscriptionTools-MCP

自动安装

点击按钮会唤起 PolarBear 客户端,并把当前 MCP Server 的 Markdown 详情文档地址传给客户端。

/api/mcps/gcorroto-mcp-s2s-asterisk/markdown
打开 PolarBear 安装查看 Markdown 文档

手动安装

在 PolarBear 或其他支持 MCP 的客户端中,新建 MCP Server,并参考下方来源或安装提示配置。

--- ## Phone Call Flow ```mermaid sequenceDiagram participant U as User participant C as Claude/MCP participant S as MCP Server participant A as Asterisk API participant P as Phone U->>C: "Call John to remind about appointment" C->>S: phone_make_call() S->>A: POST /make-call A->>P: Initiate call P-->>A: Connection established A-->>S: CallID + Status S-->>C: Call initiated C-->>U: " Call started with John" Note over A,P: Real-time S2S conversation A->>S: Callback with result S->>S: Process transcript U->>C: "How did the call go?" C->>S: phone_get_last_result() S-->>C: Detailed result C-->>U: " John confirmed the appointment"

基本信息

分类
speech-processing / communication / customer-support
运行方式
No
许可证
MIT License
详情文件
gcorroto-mcp-s2s-asterisk.md