Vapi MCP サーバー
Vapiモデル コンテキスト プロトコルサーバーを使用すると、関数呼び出しを通じて Vapi API と統合できます。
クロードデスクトップセットアップ
Claude Desktop
を開き、CMD + ,
を押してSettings
に移動します。Developer
タブをクリックします。Edit Config
ボタンをクリックします。- これにより、ファイル エクスプローラーで
claude_desktop_config.json
ファイルが開きます。 - Vapi ダッシュボード ( https://dashboard.vapi.ai/org/api-keys ) から Vapi API キーを取得します。
claude_desktop_config.json
ファイルに以下の行を追加してください。詳細はこちらをご覧ください。- 設定ファイルを編集した後、Claude Desktop を再起動します。
Claude Desktop の使用例
- Vapi ダッシュボード ( https://dashboard.vapi.ai/phone-numbers ) を使用して電話番号を作成またはインポートします。
- Vapi ダッシュボード ( https://dashboard.vapi.ai/assistants ) の既存の「予約スケジューラ」テンプレートを使用して、新しいアシスタントを作成します。
- Claude Desktop が Vapi MCP サーバーを使用するように構成し、Claude Desktop アプリを再起動してください。
- クロードに通話の開始またはスケジュールを依頼してください。以下の例をご覧ください。
**例1:**即時通話をリクエストする
**例2:**将来の通話をスケジュールする
リモートSSE接続
Server-Sent Events (SSE) トランスポート経由で Vapi の MCP サーバーに接続するには:
- SSEトランスポートを使用して、任意のMCPクライアントから
https://mcp.vapi.ai/sse
に接続します。 - Vapi APIキーをベアラートークンとしてリクエストヘッダーに含める
- ヘッダーの例:
Authorization: Bearer your_vapi_api_key_here
この接続により、ローカル サーバーを実行せずに Vapi の機能にリモートでアクセスできます。
発達
ローカル サーバーを使用するようにclaude_desktop_config.json
更新します。
テスト
このプロジェクトには 2 種類のテストがあります。
ユニットテスト
ユニット テストでは、モックを使用して、Vapi への実際の API 呼び出しを行わずに MCP サーバーをテストします。
エンドツーエンドテスト
E2E テストでは、Vapi への実際の API 呼び出しを使用して完全な MCP サーバーを実行します。
注: E2E テストでは、環境に有効な Vapi API トークンを設定する必要があります。
すべてのテストを実行
すべてのテストを一度に実行するには:
参考文献
サポートされているアクション
Vapi MCP サーバーは、統合用に次のツールを提供します。
アシスタントツール
list_assistants
: すべてのVapiアシスタントを一覧表示しますcreate_assistant
: 新しい Vapi アシスタントを作成するupdate_assistant
: 既存の Vapi アシスタントを更新しますget_assistant
: IDでVapiアシスタントを取得する
通話ツール
list_calls
: すべてのVapi呼び出しを一覧表示しますcreate_call
: 発信コールを作成するget_call
: 特定の通話の詳細を取得します
注:
create_call
アクションは、即時実行または将来の実行のための呼び出しのスケジュール設定をサポートします。
電話番号ツール
list_phone_numbers
: すべてのVapi電話番号を一覧表示しますget_phone_number
: 特定の電話番号の詳細を取得します
Vapiツール
list_tools
: すべてのVapiツールを一覧表示しますget_tool
: 特定のツールの詳細を取得します
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
モデル コンテキスト プロトコル経由の関数呼び出しを通じて Vapi API との統合を可能にし、AI モデルが Vapi の機能にアクセスできるようにします。
Related MCP Servers
- -securityFlicense-qualityFacilitates interaction and context sharing between AI models using the standardized Model Context Protocol (MCP) with features like interoperability, scalability, security, and flexibility across diverse AI systems.Last updated -1Python
- -securityFlicense-qualityImplements the Model Context Protocol (MCP) to provide AI models with a standardized interface for connecting to external data sources and tools like file systems, databases, or APIs.Last updated -90Python
- -securityFlicense-qualityA FastAPI-based implementation of the Model Context Protocol that enables standardized interaction between AI models and development environments, making it easier for developers to integrate and manage AI tasks.Last updated -5PythonMIT License
- -securityFlicense-qualityEnables seamless integration with Typecast API through the Model Context Protocol, allowing clients to manage voices, convert text to speech, and play audio in a standardized way.Last updated -1Python