@@ -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
+ ```
39
+
40
+ ### Remote Configuration
36
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 SSE Connection
80
+ ## Remote MCP
59
81
60
- To connect to Vapi's MCP server via Server-Sent Events (SSE) Transport:
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)
93
+
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.
0 commit comments