Enables automated conversational phone calls through Asterisk, providing tools for making calls, monitoring call status, canceling calls, and retrieving call history and metrics.
Uses Mermaid for rendering diagrams in documentation, illustrating system architecture, call flows, and monitoring data.
Runs on Node.js platform (version 18+), allowing for server-side JavaScript execution of the MCP functionality.
Distributed through npm package registry as '@grec0/mcp-s2s-asterisk', enabling easy installation and updates.
Built with TypeScript (version 5.6+), providing type safety and modern JavaScript features for the MCP server implementation.
π Asterisk S2S MCP Server
π MCP Server for automated conversational phone calls using Asterisk with Speech-to-Speech
Make phone conversations as easy as a prompt! πβ¨
ποΈ System Architecture
Related MCP server: Fonoster MCP Server
π Phone Call Flow
π οΈ MCP Components
π Installation & Usage
π― Option 1: NPX (Recommended)
π§ Option 2: Global Installation
βοΈ Step-by-Step Configuration
π Environment Variables
π± MCP Client Configuration
π§° Available Tools
π Calls
π₯
phone_make_call- Make phone callsπ
phone_get_status- Get call statusβ
phone_cancel_call- Cancel callsπ±
phone_get_active_calls- Active calls
π Monitoring
β€οΈ
phone_health_check- System healthπ
phone_get_metrics- Advanced metricsπ
phone_get_logs- Detailed logsποΈ
phone_get_conversation_history- History
π‘ Use Cases
π Call States
π Complete Usage Example
π¬ Scenario: Medical Appointment Confirmation
π¦ Monitoring Dashboard
π§ Local Development
π Requirements
π’ Node.js >= 18.0.0
π¦ npm or pnpm
π§ TypeScript
π οΈ Quick Setup
π Available Scripts
Script | Description | Command |
π¨ | Compile TypeScript |
|
π | Development mode |
|
π§ͺ | Run tests |
|
π | MCP Inspector |
|
π¦ | Release patch |
|
π Performance Metrics
π Security & Compliance
π Authentication: Mandatory API Key
π‘οΈ Encryption: TLS/SSL in transit
π Logs: Complete call auditing
π Privacy: Locally processed data
β GDPR: Privacy compliance
π€ Contributing
Do you like the project? We'd love your contribution!
π License
MIT License - Use it, modify it, distribute it freely
π Give it a star if you like the project! β
Made with β€οΈ by
Transforming phone communication with conversational AI