flat-fuchsia•2w ago
Web chat MCP call not working
Webchat MCP calls don't actually contact the server:
When asking the bot a question that trigger a tool call the bot stops for more then 10 seconds, then if prompted again act like everything is fine.
Checking chat logs I see that the tool call get executed but from my server logs no connection went through.
The webcall from the same identical Assistant with the same MCP settings work just fine.
The following are some ids for troubleshooting:
Organization ID: 8193fb1e-c62c-42fa-bfe5-6590e5a705f6
Webcall ID (successful MCP): a788e6d0-9bb9-4875-a2ca-e7011a3f45a1
Webchat IDs (not working MCP): 29b88a43-322d-401d-bc4b-a13fe0948803 ab223e29-43bf-4ddf-a3ad-c7747dc0a0f9
1 Reply
Hi LC555,
It seems you're experiencing issues with the web chat MCP calls not reaching the server, although web calls work successfully. Given that web calls function with the same configuration, the issue might relate to differences in how web chat communicates with the MCP server. Here are a few steps to consider for troubleshooting:
1. Configuration Check: Ensure that your web chat configuration includes your MCP server settings correctly. Visit Vapi's quickstart guide for detailed configuration instructions specifically for the web environment.
2. Network and Security: Verify that there are no network restrictions or security settings that might be blocking the web chat's communication with the MCP server. Firewall or proxy settings can sometimes interfere with specific protocols.
3. Debugging Logs: Utilize Vapi's logging tools to check for any error messages or logs from the Vapi dashboard that detail failed attempts or connectivity issues.
4. Recent Updates: Check the Vapi changelog to see if there have been recent updates or changes that might affect how tools are integrated or communicate within web chat environments. Issues can sometimes arise due to breaking changes or newly introduced features.
If the problem persists after these checks, consider reviewing any differences in your implementation of web chat versus web calls, as any subtle differences might influence communication success.
Vapi MCP Server | Vapi
Connect Vapi to AI assistants with Model Context Protocol (MCP)