Skip to content

Commit fc8ed21

Browse files
committed
Updated mcp dependency and added streamable-http docs
1 parent e6a5b4f commit fc8ed21

File tree

3 files changed

+449
-564
lines changed

3 files changed

+449
-564
lines changed

README.md

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ The Vapi [Model Context Protocol](https://modelcontextprotocol.com/) server allo
1818
6. Add the following to your `claude_desktop_config.json` file. See [here](https://modelcontextprotocol.io/quickstart/user) for more details.
1919
7. Restart the Claude Desktop after editing the config file.
2020

21+
### Local Configuration
22+
2123
```json
2224
{
2325
"mcpServers": {
@@ -33,7 +35,27 @@ The Vapi [Model Context Protocol](https://modelcontextprotocol.com/) server allo
3335
}
3436
}
3537
}
38+
```
39+
40+
### Remote Configuration
3641

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+
}
3759
```
3860

3961
### 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
5577
I need to schedule a call with Mary assistant for next Tuesday at 3:00 PM. My phone number is +1555123456.
5678
```
5779

58-
## Remote SSE Connection
80+
## Remote MCP
5981

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:
6195

6296
- Connect to `https://mcp.vapi.ai/sse` from any MCP client using SSE Transport
6397
- Include your Vapi API key as a bearer token in the request headers
@@ -73,6 +107,9 @@ npm install
73107

74108
# Build the server
75109
npm run build
110+
111+
# Use inspector to test the server
112+
npm run inspector
76113
```
77114

78115
Update your `claude_desktop_config.json` to use the local server.

0 commit comments

Comments
 (0)