
popcornspace/voice-call-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
popcornspace/voice-call-mcp-server は [https://github.com/popcornspace/voice-call-mcp-server.] からインポートされた MCP サーバーの候補です
概要
popcornspace/voice-call-mcp-server は [https://github.com/popcornspace/voice-call-mcp-server.] からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
Claudeや他のAIアシスタントがTwilioとOpenAI(GPT-4o Realtimeモデル)を使用して音声通話を開始および管理できるモデルコンテキストプロトコル(MCP)サーバー。
ベースとして使用して、AIを搭載した音声通話探査を開始し、時間を節約し、その上に追加の機能を開発します。
シーケンス図
##特徴
- Twilio 経由で発信電話を発信する
- GPT-4oリアルタイムモデルでリアルタイムで音声を呼び出します
- 通話中のリアルタイム言語切り替え
- 一般的なコールシナリオ(レストランの予約など)のための事前構築されたプロンプト ♀️
- ngrokによる自動公開URLトンネル
- 認証情報の安全な取り扱い
MCPの理由
モデルコンテクストプロトコル(MCP)は、AIアシスタントと実際のアクション間のギャップを埋めます。 MCP を実装することで、Claude のような AI のモデルを次のようになります。
- ユーザーの代わりに実際の電話呼び出しを初期化 2.リアルタイム音声会話の処理と対応
- 音声通信を必要とする複雑なタスクを実行
このオープンソースの実装は、透明性とカスタマイズ性を提供します。これにより、開発者は、データとプライバシーをコントロールしながら、機能性を拡張することができます。
要件
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Voice Call MCP Server
A Model Context Protocol (MCP) server that enables Claude and other AI assistants to initiate and manage voice calls using Twilio and OpenAI (GPT-4o Realtime model).
Use this as a base to kick-start your AI-powered voice calling explorations, save time and develop additional functionality on top of it.
Sequence Diagram
sequenceDiagram
participant AI as AI Assistant (e.g., Claude)
participant MCP as MCP Server
participant Twilio as Twilio
participant Phone as Destination Phone
participant OpenAI as OpenAI
AI->>MCP: 1) Initiate outbound call request (POST /calls)
MCP->>Twilio: 2) Place outbound call via Twilio API
Twilio->>Phone: 3) Ring the destination phone
Twilio->>MCP: 4) Call status updates & audio callbacks (webhooks)
MCP->>OpenAI: 5) Forward real-time audio to OpenaAI's realtime model
OpenAI->>MCP: 6) Return voice stream
MCP->>Twilio: 7) Send voice stream
Twilio->>Phone: 8) Forward voice stream
Note over Phone: Two-way conversation continues until the call ends
Features
- Make outbound phone calls via Twilio 📞
- Process call audio in real-time with GPT-4o Realtime model 🎙️
- Real-time language switching during calls 🌐
- Pre-built prompts for common calling scenarios (like restaurant reservations) 🍽️
- Automatic public URL tunneling with ngrok 🔄
- Secure handling of credentials 🔒
Why MCP?
The Model Context Protocol (MCP) bridges the gap between AI assistants and real-world actions. By implementing MCP, this server allows AI models like Claude to:
- Initiate actual phone calls on behalf of users
- Process and respond to real-time audio conversations
- Execute complex tasks requiring voice communication
This open-source implementation provides transparency and customizability, allowing developers to extend functionality while maintaining control over their data and privacy.
Requirements
- Node.js >= 22
- If you need to update Node.js, we recommend using
nvm(Node Version Manager):nvm install 22 nvm use 22
- If you need to update Node.js, we recommend using
- Twilio account with API credentials
- OpenAI API key
- Ngrok Authtoken
Installation
Manual Installation
-
Clone the repository
git clone https://github.com/lukaskai/voice-call-mcp-server.git cd voice-call-mcp-server -
Install dependencies and build
npm install npm run build
Configuration
The server requires several environment variables:
TWILIO_ACCOUNT_SID: Your Twilio account SIDTWILIO_AUTH_TOKEN: Your Twilio auth tokenTWILIO_NUMBER: Your Twilio numberOPENAI_API_KEY: Your OpenAI API keyNGROK_AUTHTOKEN: Your ngrok authtokenRECORD_CALLS: Set to “true” to record calls (optional)
Claude Desktop Configuration
To use this server with Claude Desktop, add the following to your configuration file:
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"voice-call": {
"command": "node",
"args": ["/path/to/your/mcp-new/dist/start-all.cjs"],
"env": {
"TWILIO_ACCOUNT_SID": "your_account_sid",
"TWILIO_AUTH_TOKEN": "your_auth_token",
"TWILIO_NUMBER": "your_e.164_format_number",
"OPENAI_API_KEY": "your_openai_api_key",
"NGROK_AUTHTOKEN": "your_ngrok_authtoken"
}
}
}
}