
vapiai/mcp-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
vapiai/mcp-server는 MCP 서버 후보로 https://github.com/vapiai/mcp-server.에서 가져온
개요
vapiai/mcp-server는 MCP 서버 후보로 https://github.com/vapiai/mcp-server.에서 가져온
개요(AI 번역)
Model Context Protocol을 사용하여 Vapi와 AI 음성 조수 및 전화 에이전트를 구축하십시오.
설치
MCP 서버는 Vapi API 키가 필요합니다. Vapi 대시보드에서 하나를 가져옵니다.
로컬 서버 (stdio)
로컬 stdio 서버를 지원하는 MCP 클라이언트 구성:
서버 환경에서 VAPI_TOKEN를 설정합니다. MCP 클라이언트 구성 형식은 다를 수 있지만 서버 정의는 일반적으로 다음과 같습니다.
원격 서버 (Streamable HTTP)
원격 MCP 서버를 지원하는 클라이언트는 직접 연결할 수 있습니다:
- URL:
https://mcp.vapi.ai/mcp - 헤더:
Authorization: Bearer your_vapi_api_key_here
Client-Specific 예제
Claude 코드
Claude 데스크탑
Claude Desktop 설정 파일에서 위의 로컬 서버 구성을 사용하십시오. 대신 stdio Bridge를 통해 호스팅된 서버에 연결하려면:
선택적인 대리인 기술
skill 디렉토리에는 Agent Skills를 지원하는 AI 코딩 에이전트에 대한 재사용 가능한 지침이 포함되어 있습니다. 호스트의 기술 설치 프로세스를 사용하여 설치하십시오.
Claude 부호를 위해:
예제 사용
Voice Assistant 만들기
MCP-enabled 대리인을 요구하십시오:
# 아웃바운드 호출
미래의 통화 일정
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Vapi MCP Server
Build AI voice assistants and phone agents with Vapi using the Model Context Protocol.
Setup
The MCP server requires a Vapi API key. Get one from the Vapi dashboard.
Local Server (stdio)
Configure any MCP client that supports local stdio servers to run:
npx -y @vapi-ai/mcp-server
Set VAPI_TOKEN in the server environment. MCP client configuration formats vary, but the server definition generally looks like this:
{
"mcpServers": {
"vapi": {
"command": "npx",
"args": ["-y", "@vapi-ai/mcp-server"],
"env": {
"VAPI_TOKEN": ""
}
}
}
}
Remote Server (Streamable HTTP)
Clients that support remote MCP servers can connect directly:
- URL:
https://mcp.vapi.ai/mcp - Header:
Authorization: Bearer your_vapi_api_key_here
Client-Specific Examples
Claude Code
claude mcp add -e VAPI_TOKEN=your_vapi_token vapi -- npx -y @vapi-ai/mcp-server
Claude Desktop
Use the local server configuration above in the Claude Desktop configuration file. To connect to the hosted server through an stdio bridge instead:
{
"mcpServers": {
"vapi": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.vapi.ai/mcp",
"--header",
"Authorization: Bearer ${VAPI_TOKEN}"
],
"env": {
"VAPI_TOKEN": ""
}
}
}
}
Optional Agent Skill
The skill directory contains reusable instructions for AI coding agents that support Agent Skills. Install it using your host’s skill installation process.
For Claude Code:
mkdir -p ~/.claude/skills/vapi
curl -o ~/.claude/skills/vapi/SKILL.md https://raw.githubusercontent.com/VapiAI/mcp-server/main/skill/SKILL.md
Example Usage
Create a Voice Assistant
Ask your MCP-enabled agent:
I want to build a voice assistant that can schedule appointments
Make an Outbound Call
Call +1234567890 using my appointment reminder assistant with these details:
- Customer name: Sarah Johnson
- Appointment date: March 25th
- Appointment time: 2:30 PM
Schedule a Future Call
Schedule a call with my support assistant for next Tuesday at 3:00 PM to +1555123456
Using Variable Values in Assistant Prompts
The create_call action supports passing dynamic variables through assistantOverrides.variableValues. Use double curly braces in your assistant’s prompts: {{variableName}}.
Example Prompt with Variables
Hello {{customerName}}, this is a reminder about your appointment on {{appointmentDate}} at {{appointmentTime}} with {{doctorName}}.
Default Variables
These are automatically available (no need to pass):
{{now}}- Current date and time (UTC){{date}}- Current date (UTC){{time}}- Current time (UTC)
설치
npx -y @vapi-ai/mcp-server설정
{
"mcpServers": {
"vapi": {
"command": "npx",
"args": ["-y", "@vapi-ai/mcp-server"],
"env": {
"VAPI_TOKEN": "<your_vapi_token>"
}
}
}
}