@vapi-ai/mcp-server 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +46 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -18,6 +18,8 @@ The Vapi [Model Context Protocol](https://modelcontextprotocol.com/) server allo
|
|
|
18
18
|
6. Add the following to your `claude_desktop_config.json` file. See [here](https://modelcontextprotocol.io/quickstart/user) for more details.
|
|
19
19
|
7. Restart the Claude Desktop after editing the config file.
|
|
20
20
|
|
|
21
|
+
### Local Configuration
|
|
22
|
+
|
|
21
23
|
```json
|
|
22
24
|
{
|
|
23
25
|
"mcpServers": {
|
|
@@ -33,7 +35,27 @@ The Vapi [Model Context Protocol](https://modelcontextprotocol.com/) server allo
|
|
|
33
35
|
}
|
|
34
36
|
}
|
|
35
37
|
}
|
|
38
|
+
```
|
|
36
39
|
|
|
40
|
+
### Remote Configuration
|
|
41
|
+
|
|
42
|
+
```json
|
|
43
|
+
{
|
|
44
|
+
"mcpServers": {
|
|
45
|
+
"vapi-mcp": {
|
|
46
|
+
"command": "npx",
|
|
47
|
+
"args": [
|
|
48
|
+
"mcp-remote",
|
|
49
|
+
"https://mcp.vapi.ai/mcp",
|
|
50
|
+
"--header",
|
|
51
|
+
"Authorization: Bearer ${VAPI_TOKEN}"
|
|
52
|
+
],
|
|
53
|
+
"env": {
|
|
54
|
+
"VAPI_TOKEN": "<your_vapi_token>"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
37
59
|
```
|
|
38
60
|
|
|
39
61
|
### Example Usage with Claude Desktop
|
|
@@ -55,9 +77,21 @@ I'd like to speak with my ShopHelper assistant to talk about my recent order. Ca
|
|
|
55
77
|
I need to schedule a call with Mary assistant for next Tuesday at 3:00 PM. My phone number is +1555123456.
|
|
56
78
|
```
|
|
57
79
|
|
|
58
|
-
## Remote
|
|
80
|
+
## Remote MCP
|
|
81
|
+
|
|
82
|
+
To connect to Vapi's MCP server remotely:
|
|
83
|
+
|
|
84
|
+
### Streamable HTTP (Recommended)
|
|
85
|
+
|
|
86
|
+
The default and recommended way to connect is via Streamable HTTP Transport:
|
|
87
|
+
|
|
88
|
+
- Connect to `https://mcp.vapi.ai/mcp` from any MCP client using Streamable HTTP Transport
|
|
89
|
+
- Include your Vapi API key as a bearer token in the request headers
|
|
90
|
+
- Example header: `Authorization: Bearer your_vapi_api_key_here`
|
|
91
|
+
|
|
92
|
+
### SSE (Deprecated)
|
|
59
93
|
|
|
60
|
-
|
|
94
|
+
Server-Sent Events (SSE) Transport is still supported but deprecated:
|
|
61
95
|
|
|
62
96
|
- Connect to `https://mcp.vapi.ai/sse` from any MCP client using SSE Transport
|
|
63
97
|
- Include your Vapi API key as a bearer token in the request headers
|
|
@@ -73,6 +107,9 @@ npm install
|
|
|
73
107
|
|
|
74
108
|
# Build the server
|
|
75
109
|
npm run build
|
|
110
|
+
|
|
111
|
+
# Use inspector to test the server
|
|
112
|
+
npm run inspector
|
|
76
113
|
```
|
|
77
114
|
|
|
78
115
|
Update your `claude_desktop_config.json` to use the local server.
|
|
@@ -132,6 +169,7 @@ npm test
|
|
|
132
169
|
|
|
133
170
|
- [VAPI Remote MCP Server](https://mcp.vapi.ai/)
|
|
134
171
|
- [VAPI MCP Tool](https://docs.vapi.ai/tools/mcp)
|
|
172
|
+
- [VAPI MCP Server SDK](https://docs.vapi.ai/sdk/mcp-server)
|
|
135
173
|
- [Model Context Protocol](https://modelcontextprotocol.com/)
|
|
136
174
|
- [Claude Desktop](https://modelcontextprotocol.io/quickstart/user)
|
|
137
175
|
|
|
@@ -143,6 +181,7 @@ The Vapi MCP Server provides the following tools for integration:
|
|
|
143
181
|
|
|
144
182
|
- `list_assistants`: Lists all Vapi assistants
|
|
145
183
|
- `create_assistant`: Creates a new Vapi assistant
|
|
184
|
+
- `update_assistant`: Updates an existing Vapi assistant
|
|
146
185
|
- `get_assistant`: Gets a Vapi assistant by ID
|
|
147
186
|
|
|
148
187
|
### Call Tools
|
|
@@ -157,3 +196,8 @@ The Vapi MCP Server provides the following tools for integration:
|
|
|
157
196
|
|
|
158
197
|
- `list_phone_numbers`: Lists all Vapi phone numbers
|
|
159
198
|
- `get_phone_number`: Gets details of a specific phone number
|
|
199
|
+
|
|
200
|
+
### Vapi Tools
|
|
201
|
+
|
|
202
|
+
- `list_tools`: Lists all Vapi tools
|
|
203
|
+
- `get_tool`: Gets details of a specific tool
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vapi-ai/mcp-server",
|
|
3
3
|
"description": "Vapi MCP Server",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.7",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"type": "module",
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
"dist/**/*.d.ts.map"
|
|
51
51
|
],
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
53
|
+
"@modelcontextprotocol/sdk": "^1.12.3",
|
|
54
54
|
"@vapi-ai/server-sdk": "^0.5.2",
|
|
55
55
|
"dotenv": "^16.4.7",
|
|
56
56
|
"zod": "^3.24.2",
|
|
57
57
|
"zod-to-json-schema": "^3.24.5"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@modelcontextprotocol/inspector": "^0.
|
|
60
|
+
"@modelcontextprotocol/inspector": "^0.14.2",
|
|
61
61
|
"@types/jest": "^29.5.14",
|
|
62
62
|
"@types/node": "^22.14.0",
|
|
63
63
|
"jest": "^29.7.0",
|