awake-maroonA

Does VAPI follow MCP protocol correctly?

I've been fighting with trying to stand up a custom MCP server for a good portion of the day today.

I have a very basic MCP server stood up using Anthropic's typescript SDK, and I'm getting 400s responses when testing the tool in the Vapi dashboard.

The error that I'm receiving is:

{
  "error": "Failed to connect to MCP server: SSE error: Non-200 status code (400)"
}


The troubleshooting steps I've gone through are a bit too numerous to list, but I have yet to figure out the incantation to get a successful response. The best I had was a 200 at one point that sent the same error code. I'm not sure what I'm missing here.

I can use API or function calls of course, but that comes with some pretty serious drawbacks, so it'd be great if I can use what's here.

Has anyone here successfully done this? My other clients connect fine, so it's kinda looking like the standard isn't correctly implemented on Vapi's side. The github repo suggests Vapi rolled its own server rather than using the SDK, so is this unspported/intentional?
Was this page helpful?